Revision: 7578
http://warzone2100.svn.sourceforge.net/warzone2100/?rev=7578&view=rev
Author: sendai
Date: 2009-05-28 20:06:39 +0000 (Thu, 28 May 2009)
Log Message:
-----------
Add an O(1) path-finding check function that tells us whether it is possible
for a droid with a given propulsion type to go from position A to position B.
It generates some static information on map load using a flood fill algorithm
which takes some time.
Use this function to make sure we do not try to return to repair to a repair
centre that we cannot reach. Closes ticket:546
Modified Paths:
--------------
trunk/src/display.c
trunk/src/fpath.c
trunk/src/fpath.h
trunk/src/map.c
trunk/src/map.h
trunk/src/order.c
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com
_______________________________________________
Warzone2100-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/warzone2100-commits