1
0
forked from 0ad/0ad
0ad/source
Itms f134ac63bb Revert most of f240374b28 which was actually bad. It caused units to get stuck because the obstructions won't block the same paths when rasterized on the grid and when directly tested for collisions.
As a general rule, pathfinding-blocking shapes should not be tested
against for movements. Only the passability grid should be considered.
As the algorithm which tests paths on this grid was fixed in 1c9ea56800,
it can be safely used.

Fixes #3376.

This was SVN commit r16971.
2015-09-02 15:50:16 +00:00
..
collada Removes use of 'register' storage class, deprecated in C++11. Fixes -Wdeprecated-register build warnings in clang, fixes #3068. 2015-06-02 03:20:04 +00:00
graphics Replace some functor structs with lambdas, closures or range-based fors. 2015-08-19 03:33:04 +00:00
gui GUI code cleanup. Fixes #3354. 2015-08-21 17:08:41 +00:00
i18n L10n code cleanup. 2015-07-29 23:44:05 +00:00
lib Revert emplace for associative containers. Fixes #3366. 2015-08-19 03:32:47 +00:00
lobby Fix 3171 by moving some logic to C++. These changes do not optimize the presence buffer and only fix the state bug. 2015-08-30 12:56:48 +00:00
maths New long-range pathfinder. 2015-06-12 18:58:24 +00:00
mocks More FreeBSD build fixes. 2012-01-30 06:21:11 +00:00
network Revert a wrong piece of code from 63e42fbd31. Refs #3293 2015-08-30 20:32:22 +00:00
pch Switch to std::shared_ptr and std::weak_ptr. 2015-01-25 03:10:58 +00:00
ps Replace some functor structs with lambdas, closures or range-based fors. 2015-08-19 03:33:04 +00:00
renderer Replace some functor structs with lambdas, closures or range-based fors. 2015-08-19 03:33:04 +00:00
scriptinterface Use in-place construction. 2015-07-29 23:44:17 +00:00
simulation2 Revert most of f240374b28 which was actually bad. It caused units to get stuck because the obstructions won't block the same paths when rasterized on the grid and when directly tested for collisions. 2015-09-02 15:50:16 +00:00
soundmanager Some range-based for loops and some style cleanup. 2015-07-29 01:07:23 +00:00
third_party Fix some issues found by static analysis (clang-analyzer and cppcheck). 2015-06-21 18:46:31 +00:00
tools Lobby bot optimizations. 2015-08-30 17:50:16 +00:00
main.cpp Optionally limit the framerate in menus to 50 FPS, to save power. Patch by elexis, fixes #2882 2015-08-20 13:22:44 +00:00
test_setup.cpp CLogger: Use cppformat instead of sys_vswprintf. 2015-01-22 20:30:05 +00:00