benilla-re systems structs docs

BeginMapObjectFrame

function · terrain · orchestration

Address
0x6b3890 · 636 bytes, up to 0x6b3b0b
Signature
void __cdecl (void)
Meaning
Picks the group drawers and clears the frame's portal state, then ages the map object models and their groups
Confidence
verified, proof one
Finding
terrain/portals#map-object-frame
Test
terrain::scenewalk_portal_age_fstp_difftest, terrain::scenewalk_portal_age_fst_live_difftest

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.

Callers 1

Callees 4

Calls and jumps by a bare address, from tables/calls.tsv.