benilla-re systems structs docs

CreateGroupDoodads

function · terrain · orchestration

Address
0x695aa0 · 341 bytes, up to 0x695bf4
Signature
void __fastcall (void *def, void *group, uint32_t arg3, uint32_t arg4)
Meaning
Makes the defs of a map object group's doodads in its set and sets their light flags
Confidence
inferred
Finding
terrain/doodads#group-doodads

Finding: Group doodads in terrain: doodad defs

0x695aa0 makes the defs of a map object group. For each doodad index of the group it takes only those in the first doodad set or in the object's current set, and none outside every set; it makes the def with 0x694e90, links it into the group's doodad list and sets its light flags: an interior group's def gets bit 2 unless it has bit 4; any other group's def gets bit 4, bit 2 cleared and intensity 1.0. It then sets bit 3 of the group's flags.

The derivation is in the doc.

Callers 1

Callees 3

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