CInputControl::EmitForwardAxis
function · input · primitive
- Address
0x514da0· 221 bytes, up to0x514e7c- Meaning
- Sums autorun, forward, mouse and backward into a signed axis and starts or stops the unit
- Confidence
- verified, proof one
- Finding
- input#the-forward-axis
Finding: The forward axis in input
0x514da0 adds up the forward direction: autorun (0x1000) +1, MoveForward (0x10) +1, the mouse turn and mouse camera commands both held (0x1 and 0x2) +1, MoveBackward (0x20) -1. A nonzero total starts movement forward (positive) or backward (negative) through 0x60dc60; a zero total with the latch bit 0x10000 set stops movement and clears the latch. A start sets the latch.
The derivation is in the doc.
Callers 1
- CInputControl::Tick input
Callees 4
- ClearAfk objectlayer
- CGUnit_C::SendStandState objectlayer
- CGUnit_C::MoveStart objectlayer
- CGUnit_C::MoveStop objectlayer
Calls and jumps by a bare address, from tables/calls.tsv.