s_wdtHeader
global · terrain
- Address
0xc9e35c· 32 bytes, up to0xc9e37b- Type
uint32_t[8]- Meaning
- Holds the WDT's 32-byte map header; bit 0 of its first dword marks a one-object map
- 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.