21 #define TILESIZE (533.33333f)
22 #define CHUNKSIZE ((TILESIZE) / 16.0f)
30 #define WMO_MATERIAL_NOCAMCOLLIDE 0x01
31 #define WMO_MATERIAL_DETAIL 0x02
32 #define WMO_MATERIAL_NO_COLLISION 0x04
33 #define WMO_MATERIAL_HINT 0x08
34 #define WMO_MATERIAL_RENDER 0x10
35 #define WMO_MATERIAL_COLLIDE_HIT 0x20
36 #define WMO_MATERIAL_WALL_SURFACE 0x40
113 WMOGroup(std::string
const& filename);
int * MobaEx
Definition: wmo.h:93
int groupName
Definition: wmo.h:97
float x
Definition: vec3d.h:28
uint32 indx
Definition: wmo.h:131
int currx
Definition: wmo.h:125
int mopy_size
Definition: wmo.h:107
uint32 groupWMOID
Definition: wmo.h:105
int descGroupName
Definition: wmo.h:97
uint32 nLights
Definition: wmo.h:51
uint16 * MOVI
Definition: wmo.h:89
float height
Definition: wmo.h:76
static std::set< int > ids
Definition: wmo.h:122
uint16 unk1
Definition: wmo.h:74
uint16 nBatchA
Definition: wmo.h:103
~WMOGroup()
Definition: wmo.cpp:477
uint16 moprNItems
Definition: wmo.h:102
WMOGroup(std::string const &filename)
Definition: wmo.cpp:141
Vec3D pos2
Definition: wmo.h:130
float bbcorn2[3]
Definition: wmo.h:100
float bbcorn1[3]
Definition: wmo.h:52
uint32 d3
Definition: wmo.h:131
char * MOPY
Definition: wmo.h:88
uint16 nBatchB
Definition: wmo.h:104
static Vec3D fixCoords(const Vec3D &v)
Definition: wmo.h:43
uint32 liquidType
Definition: wmo.h:105
uint32 d2
Definition: wmo.h:131
std::string MapName
Definition: wmo.h:124
uint32 nGroups
Definition: wmo.h:51
float bbcorn2[3]
Definition: wmo.h:53
bool open()
Definition: wmo.cpp:44
uint32 nTextures
Definition: wmo.h:51
WMOGroup * wmo
Definition: wmo.h:127
WMOInstance(MPQFile &f, char const *WmoInstName, uint32 mapID, uint32 tileX, uint32 tileY, FILE *pDirfile)
Definition: wmo.cpp:488
WMOLiquidVert * LiquEx
Definition: wmo.h:95
uint32 id
Definition: wmo.h:131
uint16 * MoviEx
Definition: wmo.h:90
unsigned int col
Definition: wmo.h:50
int curry
Definition: wmo.h:126
uint32 RootWMOID
Definition: wmo.h:51
uint16 moprIdx
Definition: wmo.h:101
int ConvertToVMAPGroupWmo(FILE *output, WMORoot *rootWMO, bool preciseVectorData)
Definition: wmo.cpp:248
uint32 nDoodadSets
Definition: wmo.h:51
uint32 nModels
Definition: wmo.h:51
uint32_t uint32
Definition: Define.h:150
uint16_t uint16
Definition: Define.h:151
int doodadset
Definition: wmo.h:128
std::string filename
Definition: wmo.h:48
char * LiquBytes
Definition: wmo.h:96
int nTriangles
Definition: wmo.h:110
WMOLiquidHeader * hlq
Definition: wmo.h:94
WMORoot(std::string &filename)
Definition: wmo.cpp:34
bool open()
Definition: wmo.cpp:152
bool ConvertToVMAPRootWmo(FILE *output)
Definition: wmo.cpp:129
float z
Definition: vec3d.h:28
int LiquEx_size
Definition: wmo.h:108
uint32 liquidType
Definition: wmo.h:51
float bbcorn1[3]
Definition: wmo.h:99
unsigned int nVertices
Definition: wmo.h:109
uint32 liquflags
Definition: wmo.h:111
uint32 nDoodads
Definition: wmo.h:51
Vec3D pos3
Definition: wmo.h:130
float y
Definition: vec3d.h:28
std::string filename
Definition: wmo.h:84
Vec3D pos
Definition: wmo.h:129
float * MOVT
Definition: wmo.h:91
uint32 nBatchC
Definition: wmo.h:105
int mogpFlags
Definition: wmo.h:98
uint32 fogIdx
Definition: wmo.h:105
int moba_size
Definition: wmo.h:107
uint32 nP
Definition: wmo.h:51
uint16 * MOBA
Definition: wmo.h:92
uint16 unk2
Definition: wmo.h:75
Vec3D rot
Definition: wmo.h:130
bool preciseVectorData
Definition: vmapexport.cpp:76