s_entityCulledList
global · terrain
- Address
0xc7cb44· 12 bytes, up to0xc7cb4f- Type
uint32_t[3]- Meaning
- Holds the second entity list: the link offset, the tail and the head
- Confidence
- verified, proof one
- Finding
- terrain/scene#entity-cull
Finding: Entity cull in terrain: scene
0x683340 culls a band's entities and 0x6834e0 those in a map object group (ecx the group,
edx its record). Both skip an entity whose +0x94 is 0 and store the view depth of its sphere,
camera plane · centre + d − radius, at +0x78. An entity inside the frustum (0x682ef0 is 0) and
not hidden by the horizon (0x686000 below 2) clears bit 0 of +0x94 and moves to the entity
draw list. Otherwise, with a model, it is set animated when its centre is within squared distance
10.0 of the camera and not animated beyond; the group variant also moves the entity to the
second list.
The derivation is in the doc.