aboutsummaryrefslogtreecommitdiff
path: root/engines/access/events.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/access/events.h')
-rw-r--r--engines/access/events.h10
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; }