aboutsummaryrefslogtreecommitdiff
path: root/engines/tsage/core.h
diff options
context:
space:
mode:
authorAlyssa Milburn2011-06-08 18:54:03 +0200
committerAlyssa Milburn2011-06-08 18:54:03 +0200
commit799ac4040f7f1bb657b6d61af3eedc58a1bf6c3b (patch)
tree7c937f7d5a919e5ec1ac85e7306a6ec18d48fd93 /engines/tsage/core.h
parent8db8a0b3fc597c5c57f17ff4dd940bfd7baa216e (diff)
downloadscummvm-rg350-799ac4040f7f1bb657b6d61af3eedc58a1bf6c3b.tar.gz
scummvm-rg350-799ac4040f7f1bb657b6d61af3eedc58a1bf6c3b.tar.bz2
scummvm-rg350-799ac4040f7f1bb657b6d61af3eedc58a1bf6c3b.zip
TSAGE: Comment/clarify some pathfinding code.
Diffstat (limited to 'engines/tsage/core.h')
-rw-r--r--engines/tsage/core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/tsage/core.h b/engines/tsage/core.h
index 71130e5b0b..1bdd49f26b 100644
--- a/engines/tsage/core.h
+++ b/engines/tsage/core.h
@@ -230,7 +230,7 @@ protected:
int findClosestRegion(Common::Point &pt, const Common::List<int> &indexList);
int checkMover(Common::Point &srcPos, const Common::Point &destPos);
void checkMovement2(const Common::Point &pt1, const Common::Point &pt2, int numSteps, Common::Point &ptOut);
- int proc1(int *routeList, int srcRegion, int destRegion, int &v);
+ int calculateRestOfRoute(int *routeList, int srcRegion, int destRegion, bool &foundRoute);
static Common::Point *findLinePoint(RouteEnds *routeEnds, Common::Point *objPos, int length, Common::Point *outPos);
static int findDistance(const Common::Point &pt1, const Common::Point &pt2);