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.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/engines/hugo/route.h b/engines/hugo/route.h
index f9c80642db..ca5d03d910 100644
--- a/engines/hugo/route.h
+++ b/engines/hugo/route.h
@@ -35,6 +35,11 @@
namespace Hugo {
+/**
+* Purpose of an automatic route
+*/
+enum go_t {kRouteSpace, kRouteExit, kRouteLook, kRouteGet};
+
struct Point {
int x;
int y;
@@ -49,8 +54,8 @@ class Route {
public:
Route(HugoEngine *vm);
- void resetRoute() {_routeIndex = -1; }
- int16 getRouteIndex() {return _routeIndex; }
+ void resetRoute() {_routeIndex = -1; }
+ int16 getRouteIndex() const {return _routeIndex; }
void processRoute();
bool startRoute(const go_t go_for, const int16 id, int16 cx, int16 cy);