0ad/source
wraitii 375c319639 Improve ship pickup.
Improve unitAI: don't move if the requester can reach us and we are
close enough. This avoids an issue where ships moved more than necessary
when picking up many units.
Also improve requester UnitAI -> retry pickup if the target entity is
Idle.
Improve unitMotion: periodically recompute paths in "known bad path"
mode to adapt to moving targets.
Expose UnitMotion reachability to scripts and other code.

This adds a test map for some common and some tricky pickup cases, using
triggers.

Based on a patch by: causative
Reviewed By: Freagarach
Fixes #3472

Differential Revision: https://code.wildfiregames.com/D665
This was SVN commit r23925.
2020-08-03 12:02:24 +00:00
..
collada Fix compiler warnings on VS 2015, refs #3439, refs #5069. 2018-03-10 09:58:53 +00:00
graphics Fixes terrain index type (causing a warning) introduced in 1e1ce27eba. 2020-07-07 16:51:20 +00:00
gui Allow map to recenter during resize in Atlas. Fixes #1109. 2020-07-21 02:08:50 +00:00
i18n Remove some unused Profiler.h and CLogger.h includes. 2019-09-07 13:35:45 +00:00
lib Fixes missing deletion of files in 409c436ae2. 2020-06-08 22:36:19 +00:00
lobby Rework ScriptInterface EnumeratePropertyNames to support non-enumerable properties. 2020-06-14 09:49:32 +00:00
maths CVector2D: Fix members may not be initialized warnings 2020-06-21 18:21:31 +00:00
mocks More FreeBSD build fixes. 2012-01-30 06:21:11 +00:00
network Fix segfault when sending a very large net chat message. 2020-08-01 15:25:13 +00:00
pch Precompiled logic update [Windows build] 2019-12-31 13:58:48 +00:00
ps Fix segfault when sending a very large net chat message. 2020-08-01 15:25:13 +00:00
renderer Makes FXAA working only for GLSL and disabled for ARB. 2020-07-24 18:48:18 +00:00
rlinterface Add an interface for Reinforcement Learning. 2020-08-01 10:52:59 +00:00
scriptinterface Stop failing if mod is broken and display invalid mods in downloader [Mod Io] 2020-07-12 09:25:03 +00:00
simulation2 Improve ship pickup. 2020-08-03 12:02:24 +00:00
soundmanager Removes duplication of Clamp function. 2019-09-26 21:14:21 +00:00
third_party Fix gcc warning reported by Imarok after 204e17206b 2020-05-23 12:21:49 +00:00
tools Add an interface for Reinforcement Learning. 2020-08-01 10:52:59 +00:00
main.cpp Add an interface for Reinforcement Learning. 2020-08-01 10:52:59 +00:00
test_setup.cpp Fix string format of the JS test assertion failure following 7c2e9027c2 (cxxtest expects a char* instead of a std::wstring, so newlines were printed as \n characters). 2017-10-13 21:56:45 +00:00