benilla-re systems structs docs

s_detailDoodadRebuild

global · terrain

Address
0xcb0034 · 4 bytes, up to 0xcb0037
Type
uint32_t
Meaning
Holds 1 when the detail doodad buffers must be rebuilt
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.