benilla-re systems structs docs

CMapDoodadDef::CMapDoodadDef

function · terrain · orchestration

Address
0x6a7d00 · 503 bytes, up to 0x6a7ef6
Signature
void * __thiscall (CMapDoodadDef *this)
Meaning
Constructs a doodad def on the shared map base with its light list, identity matrices and vtable
Confidence
verified, proof one
Finding
terrain/doodads#doodad-def-construction

Finding: Doodad def construction in terrain: doodad defs

0x6a7d00 constructs a doodad def on the shared map base (0x6c3020). It gives the def its point light list, sets its cull state +0x94 to 1, sets type bit 0x40 in +0x8, clears the model, the sound handle, the lighting callback +0x174, the game object GUID pair +0x180, +0x184 and the lists, makes the matrices identity, and stores the doodad def vtable 0x810a74.

The derivation is in the doc.

Callers 2

Callees 4

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