ReleaseWorldObject
function · terrain · orchestration
- Address
0x671ac0· 100 bytes, up to0x671b23- Meaning
- Releases a world object
- Confidence
- inferred
- Finding
- spell/visuals#shard-model-start-and-end
Finding: Shard model, start and end in spell: visuals
Each shard is constructed with its start time unset and gets a model of the emitter's path with the event callback
0x6ebe30 and the done callback 0x6ebe70, and the start time worldTime + 2·b,
b = low byte of bits(f32(255·u + 512.0)) >> 14 for a fresh u, or 1 when that is 0. The draw
callback skips shards before their start; the first draw starts the model's animation, and every
draw sets the model's translation to the shard. The event callback counts every call in
0xcee944 and plays the sound only for a $SND event on a count divisible by 4. The done
callback, given 0 as its second argument, closes the model and frees the shard.
The derivation is in the doc.
Callers 10
- CGCorpse_C::FadeOutNode objectlayer
- CGUnit_C::ReleaseWorldNode objectlayer
- CGObject_C::ReleaseNode objectlayer
- CMissile::~CMissile objectlayer
- CMissile::StickInUnit objectlayer
- CEffect::~CEffect objectlayer
- CWorld::DrainFadingModels terrain
- CWorld::FadeOutModel terrain
- CWorld::UpdateFadingModels terrain
- BlizzardObject::~BlizzardObject spell
Callees 3
- FreeMapLink terrain
- FreeMapEntity terrain
- FreeCacheLight terrain
Calls and jumps by a bare address, from tables/calls.tsv.