25 #include "common/util.h" 26 #include "queen/structs.h" 35 void set(int16 ff, int16 lf, Direction dir) {
51 int16 walkLeft1, walkLeft2;
52 int16 walkRight1, walkRight2;
53 int16 walkBack1, walkBack2;
54 int16 walkFront1, walkFront2;
55 uint16 frontStandingFrame;
56 uint16 backStandingFrame;
68 int16 moveJoe(
int direction, int16 endx, int16 endy,
bool inCutaway);
69 int16 movePerson(
const Person *pp, int16 endx, int16 endy, uint16 curImage,
int direction);
72 void stopPerson(uint16 bobNum);
80 void animateJoePrepare();
83 void animatePersonPrepare(
const MovePersonData *mpd,
int direction);
84 void animatePerson(
const MovePersonData *mpd, uint16 image, uint16 bobNum, uint16 bankNum,
int direction);
87 static int16 calcC(int16 c1, int16 c2, int16 c3, int16 c4, int16 lastc);
90 int16 findAreaPosition(int16 *x, int16 *y,
bool recalibrate);
93 uint16 findFreeArea(uint16 area)
const;
96 bool isAreaStruck(uint16 area)
const;
99 bool calcPath(uint16 oldArea, uint16 newArea);
105 void incWalkData(int16 px, int16 py, int16 x, int16 y, uint16 area);
108 bool calc(uint16 oldPos, uint16 newPos, int16 oldx, int16 oldy, int16 x, int16 y);
112 const Area *_roomArea;
115 uint16 _roomAreaCount;
121 uint16 _walkDataCount;
123 uint16 _areaStrike[MAX_WALK_DATA];
124 uint16 _areaStrikeCount;
126 uint16 _areaList[MAX_WALK_DATA];
127 uint16 _areaListCount;
130 bool _joeInterrupted;
Definition: structs.h:543