benilla-re systems structs docs

s_innerWindow

global · terrain

Address
0xc7b2a8 · 16 bytes, up to 0xc7b2b7
Type
uint32_t[4]
Meaning
Holds the inner window in chunk indices: minimum a, minimum b, maximum a, maximum b
Confidence
verified, proof one
Finding
terrain/mapupdate#tile-load-pass

Finding: Tile load pass in terrain: map update

0x6985d0 walks the outer window in chunk indices and keeps the map resident. A chunk in a tile the WDT lists (state bit 0) is handled by where it lies. Inside the inner window the tile's ADT is requested if it was not, the frame then waits for that read to finish, and the chunk is built with no limit. In the outer ring the tile is only requested, and the chunk is built only while less than 5 ms have passed since the pass began.

The derivation is in the doc.