24 #define TILESIZE (533.33333f)
25 #define CHUNKSIZE ((TILESIZE) / 16.0f)
26 #define UNITSIZE (CHUNKSIZE / 8.0f)
39 #define ADT_CELLS_PER_GRID 16
40 #define ADT_CELL_SIZE 8
41 #define ADT_GRID_SIZE (ADT_CELLS_PER_GRID*ADT_CELL_SIZE)
136 #define ADT_LIQUID_HEADER_FULL_LIGHT 0x01
137 #define ADT_LIQUID_HEADER_NO_HIGHT 0x02
217 return 0xFFFFFFFFFFFFFFFFuLL;
float ypos
Definition: adt.h:130
uint32 sizeMCAL
Definition: adt.h:112
uint32 data2
Definition: adt.h:120
uint32 nMapObjRefs
Definition: adt.h:116
char fcc_txt[4]
Definition: adt.h:65
uint32 offsMCRF
Definition: adt.h:110
plane max
Definition: adt.h:234
uint32 offsMCAL
Definition: adt.h:111
char fcc_txt[4]
Definition: adt.h:92
uint32 predTex
Definition: adt.h:122
uint32 offsMCNR
Definition: adt.h:105
float height1
Definition: adt.h:68
uint32 size
Definition: adt.h:67
LiquidType
Definition: adt.h:28
union adt_MCNK::@346 union_5_3_0
uint32 offsMCCV
Definition: adt.h:131
uint32 * getLiquidFullLightMap(adt_liquid_header *h)
Definition: adt.h:199
uint32 size
Definition: adt.h:162
uint32 ix
Definition: adt.h:96
uint32 nLayers
Definition: adt.h:98
uint32 offsMCLY
Definition: adt.h:109
uint8 HighResHoles[8]
Definition: adt.h:107
uint32 holes
Definition: adt.h:117
uint32 nSndEmitters
Definition: adt.h:125
uint16 s[2]
Definition: adt.h:118
adt_liquid_header * getLiquidData(int x, int y)
Definition: adt.h:170
uint32 size
Definition: adt.h:54
uint32 data1
Definition: adt.h:119
struct adt_MCLQ::liquid_data liquid[ADT_CELL_SIZE+1][ADT_CELL_SIZE+1]
struct adt_MCNK::@346::@347 offsets
uint32 offsData2
Definition: adt.h:167
uint64 getLiquidShowMap(adt_liquid_header *h)
Definition: adt.h:212
char fcc_txt[4]
Definition: adt.h:160
uint32 fcc
Definition: adt.h:226
#define ADT_LIQUID_HEADER_NO_HIGHT
Definition: adt.h:137
struct adt_MH2O::adt_LIQUID liquid[ADT_CELLS_PER_GRID][ADT_CELLS_PER_GRID]
uint32 offsMCVT
Definition: adt.h:104
uint32 areaid
Definition: adt.h:115
uint32 flags
Definition: adt.h:95
float height_map[(ADT_CELL_SIZE+1)*(ADT_CELL_SIZE+1)+ADT_CELL_SIZE *ADT_CELL_SIZE]
Definition: adt.h:55
#define ADT_CELLS_PER_GRID
Definition: adt.h:39
uint8 data[84]
Definition: adt.h:82
uint8 flags[ADT_CELL_SIZE][ADT_CELL_SIZE]
Definition: adt.h:81
uint32 fcc
Definition: adt.h:159
uint32 offsData1
Definition: adt.h:165
float height
Definition: adt.h:72
uint32 data3
Definition: adt.h:121
uint32_t uint32
Definition: Define.h:150
uint64_t uint64
Definition: Define.h:149
G3D::int16 y
Definition: Vector2int16.h:38
uint16_t uint16
Definition: Define.h:151
uint32 size
Definition: adt.h:229
uint32 effectId
Definition: adt.h:133
#define ADT_CELL_SIZE
Definition: adt.h:40
float height2
Definition: adt.h:69
uint32 nEffectDoodad
Definition: adt.h:123
uint32 offsMCLQ
Definition: adt.h:126
uint32 fcc
Definition: adt.h:91
uint32 used
Definition: adt.h:166
uint32 offsMCSE
Definition: adt.h:124
uint32 sizeMCLQ
Definition: adt.h:127
uint32 sizeMCSH
Definition: adt.h:114
#define ADT_LIQUID_HEADER_FULL_LIGHT
Definition: adt.h:136
uint32 fcc
Definition: adt.h:51
uint8_t uint8
Definition: Define.h:152
uint8 * getLiquidLightMap(adt_liquid_header *h)
Definition: adt.h:186
float xpos
Definition: adt.h:129
uint32 nDoodadRefs
Definition: adt.h:99
int16_t int16
Definition: Define.h:147
uint32 size
Definition: adt.h:94
float zpos
Definition: adt.h:128
uint32 props
Definition: adt.h:132
G3D::int16 x
Definition: Vector2int16.h:37
plane min
Definition: adt.h:235
uint32 iy
Definition: adt.h:97
uint32 offsMCSH
Definition: adt.h:113
uint32 fcc
Definition: adt.h:64
char fcc_txt[4]
Definition: adt.h:52
int16 coords[9]
Definition: adt.h:232
char fcc_txt[4]
Definition: adt.h:227
uint32 light
Definition: adt.h:71
float * getLiquidHeightMap(adt_liquid_header *h)
Definition: adt.h:177