benilla-re systems structs docs

InitDetailDoodads

function · terrain · host

Address
0x6b1a90 · 329 bytes, up to 0x6b1bd8
Signature
void __cdecl (void)
Meaning
Makes the detail doodad models and the 64 x 8 fade ramp and sets the rebuild flag
Confidence
verified, proof one
Finding
terrain/detail#detail-doodad-tables

Finding: Detail doodad tables in terrain: detail doodads

0x6b1a90 makes the model table after the DBCs load: one detail model for each GroundEffectDoodad row, stored at the row's id, and the 64 × 8 ramp texture of the fade. It sets the rebuild flag. 0x6b1d30 then, while the flag is set, sizes the buffers: the capacity is the frillDensity setting times 64 placements, at most 0x2000. 0x6725a0 sets that setting and 0x6b1d20 the flag.

The derivation is in the doc.

Callers 1

Callees 7

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