0ad/source/simulation2
wraitii 2ccd1ba280 UnitMotion - Fix Clearance serialization and only allow changing passability of formation controllers.
Fixes 5de50c447c

Changing the passability class at runtime breaks some UnitMotion
assumptions in unrecoverable ways and will lead to units getting into
impassable terrain.
Formation controllers can tolerate it since units still check their own
obstruction.
Until some code is added to recover from the above bad case,
de-activated changing passability class for non-formation controllers.

This also fixes serialization issues related to clearance & passability
classes following that diff.

Reviewed By: Freagarach
Differential Revision: https://code.wildfiregames.com/D4629
This was SVN commit r26865.
2022-05-09 17:29:15 +00:00
..
components UnitMotion - Fix Clearance serialization and only allow changing passability of formation controllers. 2022-05-09 17:29:15 +00:00
docs Migrate DEFINE_INTERFACE_METHOD_* to the ScriptFunction wrappers. 2021-05-01 08:01:30 +00:00
helpers Remove leftover terrain-based movement cost code. 2022-01-29 08:22:28 +00:00
scripting Fixes macOS warnings after adding final keyword to simulation classes in 3eee3a444d. 2022-03-07 23:04:11 +00:00
serialization Remove JS_New in favour of JS::Construct in preparation for SM91 2022-01-12 16:51:32 +00:00
system Fixes macOS warnings after adding final keyword to simulation classes in 3eee3a444d. 2022-03-07 23:04:11 +00:00
tests Remove leftover terrain-based movement cost code. 2022-01-29 08:22:28 +00:00
MessageTypes.h Adds final keyword to simulation component classes. 2022-03-03 22:42:26 +00:00
Simulation2.cpp Move GenericName, History and Icon from the civ-JSON to cmpIdentity. 2022-02-05 06:24:45 +00:00
Simulation2.h Move GenericName, History and Icon from the civ-JSON to cmpIdentity. 2022-02-05 06:24:45 +00:00
TypeList.h Add a simple 'pushing' logic to unit motion to improve movement. 2021-04-02 16:30:59 +00:00