benilla-re systems structs docs

CMissile::Advance

function · objectlayer · primitive

Address
0x61e2a0 · 1300 bytes, up to 0x61e7b3
Meaning
Moves a missile one frame toward its destination, or makes it arrive
Confidence
verified, proof one
Finding
objectlayer/missiles#flight-each-frame
Test
objectlayer::missile_advance_difftest, objectlayer::missile_advance_special_values_difftest

Finding: Flight each frame in objectlayer: missiles

0x61ce00(dt, visible) advances a flying missile through 0x61e2a0 and fades a missed or deflected one. A missile of speed 0 has arrived and stays put. Each frame the missile re-aims at a live target unit unless it missed, plays the target's delayed reaction when its time comes, and moves dt·speed toward the destination. When that step is longer than the remaining distance it arrives instead, unless it is already an impact model. A moving missile faces its direction of travel with its up axis in the vertical plane.

The derivation is in the doc.

Callers 2

Callees 24

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