diff options
author | Gregory Montoir | 2003-12-05 13:56:07 +0000 |
---|---|---|
committer | Gregory Montoir | 2003-12-05 13:56:07 +0000 |
commit | e19909d3e394682b1610a9b0326b449a7f288099 (patch) | |
tree | f059487a4213cbe0e23771e1a2d9b5f1b92c5598 /queen/logic.h | |
parent | d671496567535350dc4886189d6319b5b7977f30 (diff) | |
download | scummvm-rg350-e19909d3e394682b1610a9b0326b449a7f288099.tar.gz scummvm-rg350-e19909d3e394682b1610a9b0326b449a7f288099.tar.bz2 scummvm-rg350-e19909d3e394682b1610a9b0326b449a7f288099.zip |
cleanup, s/abs/ABS/g
svn-id: r11501
Diffstat (limited to 'queen/logic.h')
-rw-r--r-- | queen/logic.h | 23 |
1 files changed, 9 insertions, 14 deletions
diff --git a/queen/logic.h b/queen/logic.h index 66122f3820..604edb06a6 100644 --- a/queen/logic.h +++ b/queen/logic.h @@ -41,6 +41,7 @@ struct ZoneSlot { Box box; }; +// FIXME: get rid of that and use ConfigurationManager struct GameConfig { int musicVolume; bool textToggle; @@ -199,7 +200,7 @@ public: const char *objectName(uint16 objNum) const { return _objName[objNum]; } const char *objectTextualDescription(uint16 objNum) const { return _objDescription[objNum]; } - uint16 numFrames() { return _numFrames; } + uint16 numFrames() const { return _numFrames; } int talkSpeed() const { return _settings.talkSpeed; } @@ -236,19 +237,14 @@ public: void joeSetupFromBanks(const char *animBank, const char *standBank); - //! SETUP_JOE(), loads the various bobs needed to animate Joe + //! Load the various bobs needed to animate Joe void joeSetup(); - //! SETUP_HERO(), places Joe at the right place when entering a room + //! Setup Joe at the right place when entering a room ObjectData *joeSetupInRoom(bool autoPosition, uint16 scale); - //! FACE_JOE() uint16 joeFace(); - - //! GRAB_JOE() void joeGrab(uint16 state, uint16 speed); - - //! GRAB_DIR void joeGrabDirection(StateGrab grab, uint16 speed); void joeUseDress(bool showCut); @@ -263,12 +259,6 @@ public: Verb findVerbUnderCursor(int16 cursorx, int16 cursory) const; uint16 findObjectUnderCursor(int16 cursorx, int16 cursory) const; - - Walk *walk() const { return _walk; } - Display *display() const { return _display; } - Command *command() const { return _cmd; } - Resource *resource() const { return _resource; } - uint16 findObjectRoomNumber(uint16 zoneNum) const; uint16 findObjectGlobalNumber(uint16 zoneNum) const; @@ -308,6 +298,11 @@ public: bool gameSave(uint16 slot, const char *desc); bool gameLoad(uint16 slot); + Walk *walk() const { return _walk; } + Display *display() const { return _display; } + Command *command() const { return _cmd; } + Resource *resource() const { return _resource; } + enum { MAX_ZONES_NUMBER = 32, MAX_AREAS_NUMBER = 11, |