benilla-re systems structs docs

s_wdtTiles

global · terrain

Address
0xc89f50 · 32768 bytes, up to 0xc91f4f
Type
uint32_t[8192]
Meaning
Holds the WDT's 64x64 tile entries of two dwords: flags and the pending ADT read
Confidence
verified, proof one
Finding
terrain/files#wdt

Finding: WDT in terrain: files

CMap::LoadWdt (0x694760) reads the WDT in fixed pieces: an 8-byte header, the 4-byte version into 0xc96314, a header, the 32-byte map header into 0xc9e35c, a header, and the 32,768-byte tile table into 0xc89f50, 64×64 entries of two dwords, index row·64 + column. Bit 0 of an entry's first dword means the tile has an ADT. When the map header's first dword has bit 0 set, the map is one object: the reader takes a header, the object's name of the size that header gives, a header and one 64-byte placement, and places it with the unique id taken from a counter that counts down.

The derivation is in the doc.