22 #ifndef SKY_AUTOROUTE_H 23 #define SKY_AUTOROUTE_H 26 #include "common/scummsys.h" 40 uint16 checkBlock(uint16 *blockPos);
41 void clipCoordX(uint16 x, uint8 &blkX, int16 &initX);
42 void clipCoordY(uint16 y, uint8 &blkY, int16 &initY);
43 void initWalkGrid(uint8 screen, uint8 width);
44 bool calcWalkGrid(uint8 startX, uint8 startY, uint8 destX, uint8 destY);
45 uint16 *makeRouteData(uint8 startX, uint8 startY, uint8 destX, uint8 destY);
46 uint16 *checkInitMove(uint16 *data, int16 initStaX);
51 static const int16 _routeDirections[4];
52 static const uint16 _logicCommands[4];
Definition: autoroute.h:34
Definition: autoroute.h:28