diff options
author | Gregory Montoir | 2003-10-13 14:21:17 +0000 |
---|---|---|
committer | Gregory Montoir | 2003-10-13 14:21:17 +0000 |
commit | b750398d200e9d93d0d5ef7e07f0f516a5345d6e (patch) | |
tree | cd483f1335ef4d079c8716008be14b6eb7ceb30b /queen/walk.h | |
parent | 5acafb15c295b104e280cf3edf5094cebdaa5be7 (diff) | |
download | scummvm-rg350-b750398d200e9d93d0d5ef7e07f0f516a5345d6e.tar.gz scummvm-rg350-b750398d200e9d93d0d5ef7e07f0f516a5345d6e.tar.bz2 scummvm-rg350-b750398d200e9d93d0d5ef7e07f0f516a5345d6e.zip |
DISP_ROOM additions + 'Person' functions
svn-id: r10779
Diffstat (limited to 'queen/walk.h')
-rw-r--r-- | queen/walk.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/queen/walk.h b/queen/walk.h index 54d502f65a..3c80024c26 100644 --- a/queen/walk.h +++ b/queen/walk.h @@ -64,7 +64,7 @@ struct MovePersonData { uint16 moveSpeed; }; - +/* struct Person { const char* name; uint16 bobNum; // P_BOB @@ -72,7 +72,7 @@ struct Person { uint16 image; // MOVE_OTHER, CI arg int direction; // MOVE_OTHER, dir arg }; - +*/ class Logic; class Graphics; @@ -95,7 +95,7 @@ public: uint16 joeFace(); //! MOVE_OTHER - void personMove(Person* name, uint16 endx, uint16 endy); + void personMove(const Person *pp, uint16 endx, uint16 endy, uint16 curImage, int direction); private: @@ -105,8 +105,8 @@ private: void animateJoePrepare(); void animateJoe(); - void animatePersonPrepare(const MovePersonData *mpd, const Person* pp); - void animatePerson(const MovePersonData *mpd, const Person* pp); + void animatePersonPrepare(const MovePersonData *mpd, int direction); + void animatePerson(const MovePersonData *mpd, uint16 image, uint16 bobNum, uint16 bankNum, int direction); //! CALC_X, CALC_Y static uint16 calcC(uint16 c1, uint16 c2, uint16 c3, uint16 c4, uint16 lastc); |