25 #include "common/scummsys.h" 26 #include "common/array.h" 27 #include "common/rect.h" 28 #include "common/serializer.h" 29 #include "common/stack.h" 30 #include "mads/msurface.h" 37 uint16 _distances[MAX_ROUTE_NODES];
63 int _tempRoute[MAX_ROUTE_NODES];
85 void load(
const WalkNodeList &nodes,
DepthSurface *depthSurface,
int depthStyle);
92 void setupRouteNode(
int *routeIndexP,
int nodeIndex,
int flags,
int routeLength);
108 int size()
const {
return _routeIndexes.size(); }
113 bool empty()
const {
return _routeIndexes.empty(); }
122 void resetNext() { _next = 0; }
123 int getNext() {
return _next; }
130 void disableNode(
int idx);
131 void disableLine(
int from,
int to);
Definition: serializer.h:79
bool empty() const
Definition: rails.h:113
Definition: msurface.h:184
const WalkNode & operator[](int idx)
Definition: rails.h:118
void load(Common::SeekableReadStream *f)