s_exteriorGroupDrawer
global · terrain
- Address
0xcbe580· 4 bytes, up to0xcbe583- Type
void *- Meaning
- Holds the function that draws the batches of an exterior group, set each frame
- Confidence
- verified, proof one
- Finding
- terrain/portals#map-object-frame
Finding: Map object frame in terrain: map object visibility
0x6b3890 runs once a frame before anything is drawn. It points the group drawers at the exterior
batch draw and the interior batch draw (a world flag swaps in a debug draw), zeroes the portal
window count, the weather visibility byte and the sky box state, and ages every cached map object
model: the night colours of its materials, the buffer blocks of its groups, the keep-alive timers of
its groups and of the model, freeing what has expired.
The derivation is in the doc.