Commit Graph

12 Commits

Author SHA1 Message Date
James McCulloch
1cce764893 * remove exception on illegal move request, invalidate path and return false instead 2010-09-17 16:10:17 +00:00
James McCulloch
3d482ca366 * fix (work-around) for apparent MSVC bug, in AStarNode::operator<()
* removed some unused pathfinder stuff, and const-ified some other stuff
 * RoutePlanner is used in scenarios (for testing purposes...)
2010-08-08 04:43:24 +00:00
James McCulloch
e73324d317 * added DebugType debugPathFinder 2010-07-24 11:43:03 +00:00
Mark Vejvoda
74b6fc8139 - some code cleanup related to supporting multiple path finders 2010-07-21 19:17:45 +00:00
Mark Vejvoda
bca03b0c0c - initial changes to support multiple path finders 2010-07-21 18:21:40 +00:00
Mark Vejvoda
43f4ba71a3 updated impossibleroute text to re-use invalid position text 2010-07-17 01:27:43 +00:00
James McCulloch
4393139496 * restore error check that I had commented out while experimenting with sqrt approximations 2010-07-16 17:13:12 +00:00
Mark Vejvoda
9992f9cb79 fixed minor compiler issues in linux for new pathfinder changes 2010-07-16 16:24:55 +00:00
James McCulloch
20165b4566 * path finding into unexplored areas handled more intelligently (and without revealing/exploiting information the player shouldn't have) 2010-07-16 16:08:09 +00:00
James McCulloch
f18061a7ee fix build-site and store adjacency maps for potential building rotation
fix potential annotated map update problem with morphing to a smaller UnitType
2010-07-13 11:05:35 +00:00
James McCulloch
8387ed29dc * wired up RoutePlanner/Cartographer
* added DebugRenderer (mostly dysfunctional)
 * add lots of OutputDebug calls for the path finder, as macro PF_TRACE
2010-07-13 05:33:43 +00:00
James McCulloch
bdd4f306f4 * added GAE path finder (SearchEngine and friends)
* some small changes to Unit, UnitType, Vec2<> & Map needed for the new path finder
 * compiles, but not hooked up yet, old PathFinder still in use
2010-07-11 18:31:02 +00:00