benilla-re systems structs docs

PropagateLinkBounds

function · terrain · primitive

Address
0x698b70 · 215 bytes, up to 0x698c46
Signature
void __fastcall (void *def, void *owner)
Meaning
Grows an owner box to cover a def: only its top z when owner flag 4, whole box when flag 0x10
Confidence
verified, proof one
Finding
terrain/doodads#pending-doodads

Finding: Pending doodads in terrain: doodad defs

0x698c50 finishes the doodad defs whose models have loaded. For each def in the pending list with a model it waits until the model is ready, then sets its bounds (0x6952a0), puts a def that is not interior-lit and stands in the chunk's shadow at intensity 0.5, grows the boxes of the objects that hold it (0x698b30) and sets bits 0 and 7 of its flags. It then takes the def off the pending list.

The derivation is in the doc.

Callers 2

Callees 3

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