diff options
author | Alyssa Milburn | 2011-06-08 18:54:03 +0200 |
---|---|---|
committer | Alyssa Milburn | 2011-06-08 18:54:03 +0200 |
commit | 799ac4040f7f1bb657b6d61af3eedc58a1bf6c3b (patch) | |
tree | 7c937f7d5a919e5ec1ac85e7306a6ec18d48fd93 /engines/tsage/core.h | |
parent | 8db8a0b3fc597c5c57f17ff4dd940bfd7baa216e (diff) | |
download | scummvm-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.h | 2 |
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); |