32 #include "common/rect.h" 39 enum RouteType {kRouteSpace, kRouteExit, kRouteLook, kRouteGet};
51 int16 getRouteIndex()
const;
54 bool startRoute(
const RouteType routeType,
const int16 objId, int16 cx, int16 cy);
55 void setDirection(
const uint16 direction);
56 void setWalk(
const uint16 direction);
61 static const int kMapBound = 1;
62 static const int kMapFill = 2;
63 static const int kMaxSeg = 256;
64 static const int kMaxNodes = 256;
66 uint16 _oldWalkDirection;
72 byte _boundaryMap[kYPix][kXPix];
76 int16 _routeListIndex;
86 void segment(int16 x, int16 y);
87 bool findRoute(
const int16 cx,
const int16 cy);
RouteType
Definition: route.h:39