CM2Model::SetAnimated
function · models · orchestration
- Address
0x710b90· 90 bytes, up to0x710be9- Meaning
- Links an instance into or out of its scene's animate list
- Confidence
- verified, proof one
- Finding
- models/scene#scene-object
Finding: Scene object in models: the scene
The constructor stores the cache at +0x4, sets the reference count +0x0 to 1, the view
+0x9c and the scene matrix +0xdc to identity, and the 1800-entry shader id memo at +0x14c to
−1. 0x707320 decrements the count and destroys and frees the scene at zero; the destructor
releases every instance on the model list +0x8, then frees the element, sort and callback arrays.
| offset | holds |
|---|---|
+0x00c | clock, milliseconds |
+0x010 | frame counter |
+0x018, +0x01c | global light list, 64×64 light grid |
+0x020 | animate list (link +0x44/+0x48 in the instance) |
+0x024, +0x028 | draw queue, emitter queue (links +0x54/+0x58, +0x3dc/+0x3e0) |
+0x02c to +0x034 | element array (64-byte M2Element) |
+0x03c, +0x04c, +0x05c, +0x06c | grouped list, list 0, list 1, list 2 (index arrays) |
+0x07c to +0x088 | queued callbacks (48-byte records) |
+0x11c, +0x120 | special-batch callback and its argument |
The derivation is in the doc.
Callers 24
- GetFirstLoginCameraPosition glue
- CharacterModelBaseChooseCamera ui
- CCamera::ArmShot uicamera
- CCamera::UpdateShot uicamera
- BakePortrait ui
- CGUnit_C::OnModelUpdate objectlayer
- CMissile::ArriveWithoutTarget objectlayer
- CMissile::Advance objectlayer
- CEffect::OnWorldObjectFrame objectlayer
- UpdateSpellEffectObject objectlayer
- SetModelVisibility terrain
- CullEntityList terrain
- CullGroupEntityList terrain
- CullDoodadDefList terrain
- CullGroupDoodadDefList terrain
- DrawEntityModels terrain
- DrawDoodadModels terrain
- WakeDoodadsInBox terrain
- DrawSky lighting
- BlizzardObject::DrawShards spell
- CM2Model::Attach models
- SimpleModelModelReady ui
- CSimpleModel::OnFrameUpdate ui
- DrawStars lighting
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.