0ad/source/simulation2
wraitii 7440523ade Enable garrisoning on gates / fix movement of units with visible garrison points (2nd commit)
This is the same commit as 2abd9cead2 / D1418, fixing noted issues.

This addresses two related issues:
- Units visibly garrisoned on gates keep the gate open.
- Units visibly garrisoned on entities keep their pathfinding blocker
flags.

De-activate the obstruction of visibly-garrisoned entities, fixing the
2nd issue.
Keep a list of entities that cannot move and thus should not count
towards gate-opening logic.

Packing logic is kept separate: it is more related to entities having
'alternate forms' with different capabilities than being currently
incapable of moving.

Based on work by temple

Fixes #2679.
Fixes #5151.

Differential Revision: https://code.wildfiregames.com/D2775
This was SVN commit r23731.
2020-06-02 11:40:29 +00:00
..
components Enable garrisoning on gates / fix movement of units with visible garrison points (2nd commit) 2020-06-02 11:40:29 +00:00
docs Replace deprecated jsval with JS::Value. 2017-08-28 10:27:36 +00:00
helpers Adds const to PathfinderPassability where possible. 2020-01-10 20:37:59 +00:00
scripting Improve the warning message for FromJSValue<CColor> when trying to convert a non-object to CColor. 2020-06-01 16:09:28 +00:00
serialization Replace boost::unordered_map, boost::unordered_set with std::unordered_map, std::unordered_set to establish consistency. 2019-11-25 14:30:25 +00:00
system Remove counterproductive lowercasing of GUI ScriptEvent names, refs #127. 2020-01-15 16:00:37 +00:00
tests Add missing cpp files in last commit refs D2503 2020-05-28 18:18:00 +00:00
MessageTypes.h UnitMotion - Send messages to UnitAI when obstructed, to allow stopping early when walking and avoiding pathfinding lag. 2019-07-22 18:07:24 +00:00
Simulation2.cpp Support testing rejoins on turn 0, refs #3460, #4242, #5185, #5162, 2bf1dbfd13 2019-09-26 12:09:19 +00:00
Simulation2.h Replace boost::unordered_map, boost::unordered_set with std::unordered_map, std::unordered_set to establish consistency. 2019-11-25 14:30:25 +00:00
TypeList.h Add a C++ interface for CCmpAttack. 2020-04-21 21:44:05 +00:00