0ad/source/simulation2/scripting
Itms 9da482ead4 Based on previous experimental changes, major update to the unit motion.
With this change, units will not check their movement against all
obstructions when moving: terrain and static obstructions are assumed to
be handled by the long-range pathfinder.
However, when static obstructions are changed, the paths have to be
invalidated. In order to minimize the performance impact, units will
check for obstructions when they move after a passability change. If
they collide with something, they will recompute a path that will take
into account the new passability map.

Also includes some code cleanup. This patch should not change
performance a lot: the lower number of checks should give a small
performance improvement while using the message broadcasting system
should hurt it a bit.

Fixes #3376, #3337, #1914.

This was SVN commit r16998.
2015-09-10 18:12:13 +00:00
..
EngineScriptConversions.cpp New long-range pathfinder. 2015-06-12 18:58:24 +00:00
MessageTypeConversions.cpp Based on previous experimental changes, major update to the unit motion. 2015-09-10 18:12:13 +00:00
ScriptComponent.cpp SpiderMonkey 31 upgrade 2015-01-24 14:46:52 +00:00
ScriptComponent.h SpiderMonkey 31 upgrade 2015-01-24 14:46:52 +00:00