1
0
forked from 0ad/0ad
0ad/source/simulation2
wraitii c219ee54b2 Move "IsInRange" family of functions to the Obstruction Manager and make the commutative.
These functions were placed in UnitMotion, which had nothing to do with
range checks and made them available only to moving entities for no
particular reason.

This patch also adds support for square-square range checks and
shape-shape distance checks.

Modified from a patch by bb on top of work from wraitii.

Differential Revision: https://code.wildfiregames.com/D981
This was SVN commit r22345.
2019-06-06 19:37:23 +00:00
..
components Move "IsInRange" family of functions to the Obstruction Manager and make the commutative. 2019-06-06 19:37:23 +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 SpiderMonkey-related changes in preparation for the upgrade to SpiderMonkey 45, refs #4893. 2019-01-13 16:37:41 +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 Pass ScriptInterface as a const ref where possible. 2017-08-24 00:32:42 +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