CInputControl::EmitPitch
function · input · primitive
- Address
0x515010· 116 bytes, up to0x515083- Meaning
- Starts or stops pitching from the pitch bits while swimming
- Confidence
- verified, proof one
- Finding
- input#the-tick
Finding: The tick in input
0x514640(time, apply) acts on the unit the client drives (0xc4da98, type mask 8); with none it returns. With apply nonzero it evaluates 0x514560 (may translate) and 0x5145b0 (not stunned); with apply zero both read as false. If it may translate, it runs the forward and strafe emitters (0x514da0, 0x514e80). If it may not, it stops auto-movement (0x60fb60(0, 1)) when the unit is also stunned, stops a pending forward move (bit 0x10000) and strafe move (0x20000) and clears the autorun bit 0x1000. Then a unit that is not stunned runs the turn emitter (0x514f50) and, while swimming, the pitch emitter (0x515010); a stunned unit clears the turn latch (0x40000) and pitch latch (0x80000), sending the pitch stop only while swimming.
The derivation is in the doc.
Callers 1
- CInputControl::Tick input
Callees 2
- CGUnit_C::PitchStart objectlayer
- CGUnit_C::PitchStop objectlayer
Calls and jumps by a bare address, from tables/calls.tsv.