diff options
author | Gregory Montoir | 2003-11-27 13:49:00 +0000 |
---|---|---|
committer | Gregory Montoir | 2003-11-27 13:49:00 +0000 |
commit | 9c6e5ce50ad9e1e7994ceaef5e7e5be10ec996f4 (patch) | |
tree | e80163e02240ea8f676433848651b05633e6ab92 /queen/logic.h | |
parent | 6f23e2c2117925aa743155c3fd515144177efbbf (diff) | |
download | scummvm-rg350-9c6e5ce50ad9e1e7994ceaef5e7e5be10ec996f4.tar.gz scummvm-rg350-9c6e5ce50ad9e1e7994ceaef5e7e5be10ec996f4.tar.bz2 scummvm-rg350-9c6e5ce50ad9e1e7994ceaef5e7e5be10ec996f4.zip |
- speak correct sentence when object is not usable
- some hardcoded stuff for rooms 69 & 108
- handle CUTJOEF
svn-id: r11383
Diffstat (limited to 'queen/logic.h')
-rw-r--r-- | queen/logic.h | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/queen/logic.h b/queen/logic.h index 8424a30444..d2f3465f60 100644 --- a/queen/logic.h +++ b/queen/logic.h @@ -166,18 +166,20 @@ public: ObjectDescription *objectDescription(uint16 objNum) const { return &_objectDescription[objNum]; } uint16 objectDescriptionCount() const { return _numObjDesc; } - uint16 joeFacing() { return _joe.facing; } - uint16 joeX() { return _joe.x; } - uint16 joeY() { return _joe.y; } - JoeWalkMode joeWalk() { return _joe.walk; } - uint16 joeScale() { return _joe.scale; } - uint16 joePrevFacing() { return _joe.prevFacing; } + uint16 joeFacing() const { return _joe.facing; } + uint16 joeX() const { return _joe.x; } + uint16 joeY() const { return _joe.y; } + JoeWalkMode joeWalk() const { return _joe.walk; } + uint16 joeScale() const { return _joe.scale; } + uint16 joeCutFacing() const { return _joe.cutFacing; } + uint16 joePrevFacing() const { return _joe.prevFacing; } void joeFacing(uint16 dir); void joeX(uint16 x); void joeY(uint16 y); void joeWalk(JoeWalkMode walking); void joeScale(uint16 scale); + void joeCutFacing(uint16 dir); void joePrevFacing(uint16 dir); const char *joeResponse(int i) const { return _joeResponse[i]; } @@ -409,10 +411,10 @@ protected: uint16 _numAFile; //A_FILE_MAX struct { - uint16 x, y; - uint16 facing, prevFacing; + uint16 x, y; + uint16 facing, cutFacing, prevFacing; JoeWalkMode walk; - uint16 scale; + uint16 scale; } _joe; int16 _gameState[GAME_STATE_COUNT]; |