PrepareDetailDoodadBuffers
function · terrain · host
- Address
0x6b1d30· 577 bytes, up to0x6b1f70- Signature
void __cdecl (void)- Meaning
- Sizes the detail doodad pools to frillDensity x 64 placements, at most 0x2000, when the rebuild flag is set
- 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
- DrawWorldScene terrain
Callees 6
- 0x589f80 gx
- 0x58a160 gx
- RoundUpToMultipleE terrain
- GrowDwordArray terrain
- FreeAllDetailDoodads terrain
- FreeDetailDoodadBuffers terrain
Calls and jumps by a bare address, from tables/calls.tsv.