0ad/source/simulation2
wraitii 4a15cc3b9f Unit Motion - wrap target state into a struct
These variables together held the state for the target of UnitMotion, as
set by the MoveTo[X] family of functions.
Wrapping them in a struct reduces the chances that one will accidentally
forget to reset part of the state and makes it explicit in-code that
these are grouped together.

Calling StopMoving() resets this target, which wasn't before and left
the component in an incoherent state.

Differential Revision: https://code.wildfiregames.com/D1887
This was SVN commit r22352.
2019-06-09 11:18:06 +00:00
..
components Unit Motion - wrap target state into a struct 2019-06-09 11:18:06 +00:00
docs Replace deprecated jsval with JS::Value. 2017-08-28 10:27:36 +00:00
helpers Move "IsInRange" family of functions to the Obstruction Manager and make the commutative. 2019-06-06 19:37:23 +00:00
scripting Remove "MoveStarted" messages 2019-06-08 12:53:28 +00:00
serialization SpiderMonkey-related changes in preparation for the upgrade to SpiderMonkey 45, refs #4893. 2019-01-13 16:37:41 +00:00
system Update precompiled headers to improve build times. 2019-05-26 07:21:12 +00:00
tests Test we can destroy INVALID_ENTITY 2019-01-06 16:32:50 +00:00
MessageTypes.h Remove "MoveStarted" messages 2019-06-08 12:53:28 +00:00
Simulation2.cpp Remove unnecessary argument from CSimulation2::InitGame 2018-02-09 19:50:01 +00:00
Simulation2.h Remove unnecessary argument from CSimulation2::InitGame 2018-02-09 19:50:01 +00:00
TypeList.h Fix units not being able to play sounds when walking and running 2018-02-24 18:13:03 +00:00