0ad/binaries/data
wraitii 0ebc08b13c Thread the pathfinder computations using the task manager.
The pathfinder computations are run asynchronously (and potentially on
the main thread) in-between simulation turns, thus reducing
pathfinder-related lag considerably in common cases.

To make this most efficient, the number of paths computed during a turn
via MaxSameTurnMoves is reduced from 64 to 20.

This has a hard dependency on the obstruction manager (via the vertex
pathfinder) not being modified in-between simulation turn (or to put it
more generally on the simulation state not changing outside of turn
computation), otherwise results will be non-deterministic and go OOS.
This is currently entirely safe (as in, it indeed does not happen that
the simulation state changes in-between turn), but future work towards
improving simulation sandboxing would be good.

Thanks to Kuba386 for maintaining & improving the patch in 2020
Thanks to everyone who tested the various iterations of this patch.

Fixes #4324

Differential Revision: https://code.wildfiregames.com/D14
This was SVN commit r25657.
2021-06-03 16:21:28 +00:00
..
config Allow setting texture quality in the config file. Fixes a todo. 2021-05-31 12:52:43 +00:00
l10n Add a script to lint the translations with Dennis. 2017-05-27 12:26:26 +00:00
mods Thread the pathfinder computations using the task manager. 2021-06-03 16:21:28 +00:00
tests Some more random random map script unit tests and ASSERT functions, refs #4827. 2020-01-29 18:52:48 +00:00
tools Add more animations to the atlas drop-down list and delete non-existent animations 2020-07-27 07:36:38 +00:00