diff options
author | Paul Gilbert | 2014-08-23 23:21:17 -0400 |
---|---|---|
committer | Paul Gilbert | 2014-08-23 23:21:17 -0400 |
commit | ee62d6c1cfce009331050fb9bf8bfecbb8f51472 (patch) | |
tree | cc0281eb48a9e03b05d74234804db208ec4fa6c3 /engines/access/events.h | |
parent | 955df7a94ce21d311d6e34d263d96070548d855e (diff) | |
download | scummvm-rg350-ee62d6c1cfce009331050fb9bf8bfecbb8f51472.tar.gz scummvm-rg350-ee62d6c1cfce009331050fb9bf8bfecbb8f51472.tar.bz2 scummvm-rg350-ee62d6c1cfce009331050fb9bf8bfecbb8f51472.zip |
ACCESS: In progress inventory display screen
Diffstat (limited to 'engines/access/events.h')
-rw-r--r-- | engines/access/events.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/engines/access/events.h b/engines/access/events.h index 2ced71f50e..fdfb0a5043 100644 --- a/engines/access/events.h +++ b/engines/access/events.h @@ -32,7 +32,8 @@ namespace Access { enum CursorType { CURSOR_NONE = -1, CURSOR_ARROW = 0, CURSOR_CROSSHAIRS, CURSOR_2, CURSOR_3, CURSOR_LOOK, - CURSOR_USE, CURSOR_TAKE, CURSOR_CLIMB, CURSOR_TALK, CURSOR_HELP + CURSOR_USE, CURSOR_TAKE, CURSOR_CLIMB, CURSOR_TALK, CURSOR_HELP, + CURSOR_INVENTORY = 99 }; #define GAME_FRAME_RATE 100 @@ -45,6 +46,7 @@ private: AccessEngine *_vm; uint32 _frameCounter; uint32 _priorFrameTime; + Graphics::Surface _invCursor; bool checkForNextFrameCounter(); @@ -55,7 +57,6 @@ public: bool _leftButton, _rightButton; Common::Point _mousePos; int _mouseCol, _mouseRow; - int _mouseMode; bool _cursorExitFlag; Common::FixedStack<Common::KeyState> _keypresses; public: @@ -75,6 +76,11 @@ public: void setCursor(CursorType cursorId); /** + * Set the image for the inventory cursor + */ + void setCursorData(Graphics::Surface *src, const Common::Rect &r); + + /** * Return the current cursor Id */ CursorType getCursor() const { return _cursorId; } |