CInputControl::Tick
function · input · orchestration
- Address
0x514640· 458 bytes, up to0x514809- Meaning
- Applies the command bits to the driven unit: moves, turns, pitches and stops, honouring root and stun
- 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 11
- CInputControl::ApplyAfterRelease input
- CInputControl::SetCommands input
- CGPlayer_C::UpdateFarSight objectlayer
- CGPlayer_C::SetLocalStandState objectlayer
- CGUnit_C::OnActivePlayerFlagsChanged objectlayer
- CGUnit_C::OnDynamicFlagsChanged objectlayer
- SetActiveMover objectlayer
- CGUnit_C::OnMonsterMove objectlayer
- CGUnit_C::FlushMovementAndPlace objectlayer
- CGUnit_C::OnHealthFieldChanged objectlayer
- ProcessLocalMoveEvent objectlayer
Callees 13
- ClntObjMgrObjectPtr objectlayer
- MayTranslate input
- MayTurn input
- CInputControl::EmitForwardAxis input
- CInputControl::EmitStrafeAxis input
- CInputControl::EmitTurn input
- CInputControl::EmitPitch input
- CGUnit_C::MoveStop objectlayer
- CGUnit_C::StrafeStop objectlayer
- CGUnit_C::TurnStop objectlayer
- CGUnit_C::PitchStop objectlayer
- CGUnit_C::StopAutoMove objectlayer
- MovementGetLastTickTime collision
Calls and jumps by a bare address, from tables/calls.tsv.