CMapObj::GetLoadedGroup
function · models · orchestration
- Address
0x6a4a00· 46 bytes, up to0x6a4a2d- Meaning
- Returns a group of a loaded map object when the group is loaded or the flag is set, else null
- Confidence
- verified, proof one
- Finding
- terrain/mapupdate#map-object-update
- Test
terrain::entity_outdoors_difftest,terrain::entity_light_flags_difftest
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 34
- UpdateCameraEnvironment terrain
- AddGroupToFrame terrain
- FindGroupLiquidThroughPortals terrain
- UpdateMapObjectVisibility terrain
- CMapObjDef::SetPlacement terrain
- FindMapObjectGroupAt terrain
- GetCameraInteriorFog terrain
- CMapObjDef::GetFaceTerrainType terrain
- CMapObj::IntersectSegment models
- CMapObj::TraceGroupMasked models
- CMapObj::CollectGroupBoxFacets models
- CMapObj::CollectBoxFacets models
- CMapObj::QueryGroups models
- CMapObj::CollectVolumeFacets models
- CMapObj::GroupBoxAnyHit models
- CMapObj::GroupSegmentAnyHit models
- CMapObj::CrossPortals models
- CMapObj::AreGroupsLoaded models
- CMapObj::RayHitClosest models
- CMapObj::RayHitGroup models
- CMapObj::SampleGroupColor models
- CMapObj::GroupLiquidAt models
- CMapObj::InGroupLiquid models
- CMapObj::GatherBoxGroups models
- CMapObj::GatherBoxGroupsAt models
- SetEntityLightFlags terrain
- TraceMapObjectsNearest terrain
- LinkEntityToMapObject terrain
- SeedInteriorVisibility terrain
- DrawMapObjectGroup terrain
- DrawMapObjectGroupLiquid terrain
- RunGroupCallback terrain
- WalkPortals terrain
- IntersectMapObjects terrain
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.