4 #define TILESIZE (533.33333f)
5 #define CHUNKSIZE ((TILESIZE) / 16.0f)
6 #define UNITSIZE (CHUNKSIZE / 8.0f)
8 typedef unsigned char uint8
;
9 typedef unsigned short uint16
;
10 typedef unsigned int uint32
;
29 float v9
[16*8+1][16*8+1];
41 void fixname(std::string
&name
);
48 struct MapChunkHeader
{
72 uint32 ofsSndEmitters
;
74 uint32 ofsLiquid
; // not use in WotLK
75 uint32 sizeLiquid
; // not use in WotLK
79 uint32 textureId
; // new offsColorValues in WotLK
106 MH2O_offsData
*LiqOffsData
;
107 MH2O_Data1
*LiqChunkData1
;
108 float *ChunkLiqHeight
, *MapLiqHeight
;
110 uint32 k
, m
, chunk_num
;
111 void LoadMapChunk(MPQFile
&, chunk
*);
112 bool LoadWMO(char* filename
);