UpdateMapObjectVisibility
function · terrain · orchestration
- Address
0x698720· 696 bytes, up to0x6989d7- Signature
void __thiscall (void *this)- Meaning
- Walks the map objects, calling the group loads in the far box and waiting on roots and on groups within 150
- Confidence
- verified, proof one
- Finding
- terrain/mapupdate#map-object-update
Finding: Map object update in terrain: map update
0x698720 walks the map object list. An object whose box meets the far box, of half-size the far
clip around the position, waits for its root's loaded byte and, unless bit 7 of its byte +0xc is
set, goes to BindDoodadSet. Then, met or not, each of the object's groups that meets the far box
sets its timer to 30.0 and, when neither loaded nor reading, goes to CMapObj::LoadGroup; one that also meets the box of half-size 150 is then waited on while its read
handle is set. A loaded group goes to CreateGroupLights and CreateGroupDoodads. With a nonzero
argument, an object with bit 7 set whose box meets the frame's frustum box goes to 0x6817c0.
The derivation is in the doc.
Callers 1
- CMap::Update terrain
Callees 10
- ComputeDepthBucket terrain
- CreateGroupDoodads terrain
- CreateGroupLights terrain
- BindDoodadSet terrain
- IsVector3AllGreaterOrEqual terrain
- CMapObj::GetLoadedGroup models
- CMapObj::LoadGroup models
- CMapObj::WaitLoad models
- CMapObj::WaitLoadGroup models
- PurgeMapObjectLinks terrain
Calls and jumps by a bare address, from tables/calls.tsv.