Fix more pathfinding issues.
commitc771ab35f35140075295a4b4288c77ee13c65751
authorwraitii <wraitii@3db68df2-c116-0410-a063-a993310a9797>
Sun, 1 Nov 2015 07:28:43 +0000 (1 07:28 +0000)
committerwraitii <wraitii@3db68df2-c116-0410-a063-a993310a9797>
Sun, 1 Nov 2015 07:28:43 +0000 (1 07:28 +0000)
tree11ae8439fa1fb3ec7d56a08dfd1c42ced04a2683
parent56b0553d9b8a728ad5738fef5d7647abda2761e0
Fix more pathfinding issues.

Change the way the long-range pathfinder rasterisation works slightly so that we have a better compatibility with the short-range pathfinder. Should fix the "stuck units" issues, though I am not sure so I am not marking them as fixed so far. Refs #3471, #3505, and possibly #3292.

Caveat: I am now using clearance of 0.8 for "default" class, which might have side-effects: please report anything weird.

Also fix leftover style issues.

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@17161 3db68df2-c116-0410-a063-a993310a9797
binaries/data/mods/public/simulation/data/pathfinder.xml
source/simulation2/components/CCmpObstructionManager.cpp
source/simulation2/components/CCmpPathfinder_Vertex.cpp
source/simulation2/components/CCmpUnitMotion.cpp
source/simulation2/helpers/HierarchicalPathfinder.cpp
source/simulation2/helpers/Pathfinding.h
source/simulation2/helpers/Rasterize.cpp