aboutsummaryrefslogtreecommitdiff
path: root/queen/walk.h
diff options
context:
space:
mode:
Diffstat (limited to 'queen/walk.h')
-rw-r--r--queen/walk.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/queen/walk.h b/queen/walk.h
index e5d79aea18..13e5802002 100644
--- a/queen/walk.h
+++ b/queen/walk.h
@@ -48,6 +48,7 @@ struct WalkData {
// int16 sign; // never used
int16 dx, dy;
const Area *area;
+ uint16 areaNum; // extra stuff for joeMoveBlock
MovePersonAnim anim;
};
@@ -82,7 +83,7 @@ public:
private:
- void joeMoveBlock(int facing);
+ void joeMoveBlock(int facing, uint16 areaNum, uint16 walkDataNum);
void animateJoePrepare();
void animateJoe();
@@ -124,6 +125,9 @@ private:
uint16 _areaListCount;
uint16 _areaList[MAX_AREAS + 1];
+ //! set if joeMoveBlock() is called in joeAnimate()
+ bool _joeMoveBlock;
+
Logic *_logic;
Graphics *_graphics;