s_outerWindow
global · terrain
- Address
0xc63274· 16 bytes, up to0xc63283- Type
uint32_t[4]- Meaning
- Holds the outer window in chunk indices: minimum a, minimum b, maximum a, maximum b
- Confidence
- verified, proof one
- Finding
- terrain/mapupdate#area-unload
Finding: Area unload in terrain: map update
0x6984f0 unloads areas that lie outside the outer window and gives the rest their chunk update.
For each loaded area it compares the tile indices with the window's bounds shifted right 4; an area
outside it clears its slot in the area table, its state bit 1 and its read handle, unlinks and
destroys the area. An area inside goes to 0x6c1f70 with the pass argument. Only the window decides: no age, no
memory test.
The derivation is in the doc.