1
1
forked from 0ad/0ad
0ad/source/simulation2
wraitii 6fc2114b58 Unit Motion - Improve handling of obstructed paths.
Units right now try going to their next long waypoint using the
short-range pathfinder. This works, but it tends to leads to units
clumping together when shuttling for example.

By switching to short paths earlier, and by scrapping the long waypoints
when doing so, we can make movement more natural until we have unit
pushing.

Some cleanup in how the short-path domain range gets handled, and
increase the max-range by one tile to improve rare cases.

Differential Revision: https://code.wildfiregames.com/D2095
This was SVN commit r22507.
2019-07-18 20:00:38 +00:00
..
components Unit Motion - Improve handling of obstructed paths. 2019-07-18 20:00:38 +00:00
docs Replace deprecated jsval with JS::Value. 2017-08-28 10:27:36 +00:00
helpers Fix undefined behaviour introduced in 5c642611c4 2019-07-15 18:05:03 +00:00
scripting Fix missing return in previous (65b02395b3), use underscore as recommended by Vladislav. 2019-07-17 00:00:05 +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 Remove the unused variable proto from the ComponentManager in e9e05f4efc. 2019-07-14 14:13:15 +00:00
tests Fix some gcc 8 and gcc 9 compiler warnings that were thrown 4500 times. 2019-07-09 00:18:48 +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