benilla-re systems structs docs

SetEntityLightFlags

function · terrain · primitive

Address
0x6a87f0 · 79 bytes, up to 0x6a883e
Signature
void __fastcall (void *entity, void *mapObject, void *groupNode)
Meaning
Sets an entity's indoors bit and light flags from the header flags of the map object group it stands in
Confidence
verified, proof one
Finding
terrain/mapentities#group-claim-flags
Test
terrain::entity_light_flags_difftest

Finding: Group claim flags in terrain: map entities

0x6a87f0 sets an entity's light flags from the map object group it stands in. A group whose header flags (+0x10) have the exterior bit 0x8 sets +0xc bit 4. Any other group sets the indoors bit of +0x90, and sets +0xc bit 4 when the group has bit 0x40 (exterior lit), else bit 2.

The derivation is in the doc.

Callers 2

Callees 1

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