diff options
Diffstat (limited to 'engines/sherlock/scene.h')
-rw-r--r-- | engines/sherlock/scene.h | 29 |
1 files changed, 28 insertions, 1 deletions
diff --git a/engines/sherlock/scene.h b/engines/sherlock/scene.h index 06ca2f4c0d..f48d45c34e 100644 --- a/engines/sherlock/scene.h +++ b/engines/sherlock/scene.h @@ -37,6 +37,30 @@ namespace Sherlock { #define CONTROLS_Y 138 #define CONTROLS_Y1 151 +enum MenuMode { + STD_MODE = 0, + LOOK_MODE = 1, + MOVE_MODE = 2, + TALK_MODE = 3, + PICKUP_MODE = 4, + OPEN_MODE = 5, + CLOSE_MODE = 6, + INV_MODE = 7, + USE_MODE = 8, + GIVE_MODE = 9, + JOURNAL_MODE = 10, + FILES_MODE = 11, + SETUP_MODE = 12 +}; + +enum InvMode { + INVMODE_0 = 0, + INVMODE_1 = 1, + INVMODE_2 = 2, + INVMODE_3 = 3, + INVMODE_255 = 255 +}; + class SherlockEngine; struct BgFileHeader { @@ -90,6 +114,8 @@ private: Common::String _rrmName; int _cAnimFramePause; Common::String _cAnimStr; + MenuMode _menuMode; + InvMode _invMode; bool loadScene(const Common::String &filename); @@ -120,7 +146,7 @@ public: ImageFile *_controls; ImageFile *_controlPanel; bool _windowOpen, _infoFlag; - int _menuMode, _keyboardInput; + int _keyboardInput; int _oldKey, _help, _oldHelp; int _oldTemp, _temp; bool _walkedInScene; @@ -143,6 +169,7 @@ public: Common::Point _hsavedPos; int _hsavedFs; Common::Array<Object> _canimShapes; + bool _restoreFlag; public: Scene(SherlockEngine *vm); ~Scene(); |