0ad/source/simulation2/components/tests
wraitii 2abd9cead2 Enable garrisoning on gates / fix movement of units with visible garrison points
This addresses two related issues:
- Units visibly garrisoned on gates keep the gate open.
- Units visibly garrisoned on entities keep their pathfinding blocker
flags.

Remove the block-movement flag from visibly garrisoned entities.
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

Comments by: Freagarach
Tested by: Nescio
Fixes #2679
Fixes #5151

Differential Revision: https://code.wildfiregames.com/D1418
This was SVN commit r23710.
2020-05-30 09:18:33 +00:00
..
test_CinemaManager.h Adds basic tests for the CinemaManager component 2017-11-24 22:38:03 +00:00
test_CommandQueue.h Fixes tests adding system components without using the SYSTEM_ENTITY id - this caused assertion failures in debug builds 2015-06-21 19:22:12 +00:00
test_HierPathfinder.h Fix issues with MakeGoalReachable when the goal wasn't reachable following D1882/208fc30ddd 2019-09-09 18:57:59 +00:00
test_ObstructionManager.h Enable garrisoning on gates / fix movement of units with visible garrison points 2020-05-30 09:18:33 +00:00
test_Pathfinder.h Move path computations to an actual worker to prepare for threading. 2019-09-15 09:27:10 +00:00
test_Position.h Rename cmpPosition's IsFloating to CanFloat. 2017-09-18 09:54:54 +00:00
test_RangeManager.h Fix 4edcf21b98. Refs #5428 2019-04-10 06:05:34 +00:00
test_scripts.h Skip and warn about globalscripts and random map tests following 077c4f2576 and 0a6db43c83 when testing without public mod present or if the respective folders don't exist. 2020-04-23 12:06:56 +00:00
test_TerritoryManager.h Pass some strings and a vector as const refs. 2017-02-24 17:02:10 +00:00