0ad/source/simulation2
wraitii a333c8f355 Use Future::CancelOrWait in pathfinder Deinit
If the pathfinding tasks are running, they might reference now-deleted
variables. CancelOrWait prevents this.
Remove `Future::Cancel()` altogether as that was its only use and the
functions seems dangerous.

Introduced with 0ebc08b13c

Patch by: phosit
Reviewed By: wraitii
Differential Revision: https://code.wildfiregames.com/D4831
This was SVN commit r27310.
2022-12-28 11:34:04 +00:00
..
components Use Future::CancelOrWait in pathfinder Deinit 2022-12-28 11:34:04 +00:00
docs Migrate DEFINE_INTERFACE_METHOD_* to the ScriptFunction wrappers. 2021-05-01 08:01:30 +00:00
helpers Remove some unnecessary string copy related to substr. 2022-12-04 19:56:12 +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 Remove some unnecessary string copy related to substr. 2022-12-04 19:56:12 +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