benilla-re systems structs docs

s_wdtPath

global · terrain

Address
0xc960a0 · 256 bytes, up to 0xc9619f
Type
char[256]
Meaning
Holds the WDT's path, the directory, a backslash, the name and .wdt
Confidence
verified, proof one
Finding
terrain/files#map-load

Finding: Map load in terrain: files

CMap::Load (0x6941f0) loads the map named in ecx with the map id in edx. It sets the shader flags from the world flags and the shaders' availability, builds the map directory World\Maps\<name>, the name, and the WDT path <dir>\<name>.wdt, makes the map's light object, reads the WDL, reports 0.1 progress, reads the WDT, reports 0.25, runs one map update and loads the map's lights. While it runs, 0x86a2d0 is 1 and tile files are read at once rather than queued.

The derivation is in the doc.