aboutsummaryrefslogtreecommitdiff
path: root/queen/walk.h
diff options
context:
space:
mode:
authorGregory Montoir2003-10-18 08:12:56 +0000
committerGregory Montoir2003-10-18 08:12:56 +0000
commitc518ee26ec394e7359bc565624de78b60f5fb84a (patch)
tree488ebbc2ab0897fc4b8977843d21fda362a3d214 /queen/walk.h
parentbe8bbb143e0fbc32b6f0c4d90ec54196347f17ea (diff)
downloadscummvm-rg350-c518ee26ec394e7359bc565624de78b60f5fb84a.tar.gz
scummvm-rg350-c518ee26ec394e7359bc565624de78b60f5fb84a.tar.bz2
scummvm-rg350-c518ee26ec394e7359bc565624de78b60f5fb84a.zip
minor changes to joeMove() code
svn-id: r10888
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;