benilla-re systems structs docs

DoodadModelDone

function · terrain · host

Address
0x6951b0 · 37 bytes, up to 0x6951d4
Signature
void __fastcall (uint32_t arg1, uint32_t arg2, void *model, uint32_t, uint32_t, uint32_t, void *def)
Meaning
Restarts a doodad model's default animation when its first argument is 0
Confidence
verified, proof one
Finding
terrain/doodads#doodad-model

Finding: Doodad model in terrain: doodad defs

0x695100 makes a def's model from the path, sets its base matrix, and installs the done callback 0x6951b0, the event callback 0x6951e0 and the lighting callback 0x672a20 with the def as argument. It starts the model's default animation and, when asked, makes it a priority load. 0x6951b0 restarts the animation when its first argument is 0.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 1

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