aboutsummaryrefslogtreecommitdiff
path: root/engines/hugo/route.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/hugo/route.h')
-rw-r--r--engines/hugo/route.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/hugo/route.h b/engines/hugo/route.h
index c1b860fd57..f9c80642db 100644
--- a/engines/hugo/route.h
+++ b/engines/hugo/route.h
@@ -49,6 +49,9 @@ class Route {
public:
Route(HugoEngine *vm);
+ void resetRoute() {_routeIndex = -1; }
+ int16 getRouteIndex() {return _routeIndex; }
+
void processRoute();
bool startRoute(const go_t go_for, const int16 id, int16 cx, int16 cy);
void setDirection(const uint16 keyCode);
@@ -64,6 +67,10 @@ private:
uint16 _oldWalkDirection; // Last direction char
+ int16 _routeIndex; // Index into route list, or -1
+ go_t _go_for; // Purpose of an automatic route
+ int16 _go_id; // Index of exit of object walking to
+
byte _boundaryMap[kYPix][kXPix]; // Boundary byte map
segment_t _segment[kMaxSeg]; // List of points in fill-path
Point _route[kMaxNodes]; // List of nodes in route (global)