aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/events.h
diff options
context:
space:
mode:
authorPaul Gilbert2015-05-18 18:43:29 -0400
committerPaul Gilbert2015-05-18 18:43:29 -0400
commit437bcf3cfe4aabe99359d3b6db3cd8e13f3e8763 (patch)
tree242fcce50152ceb86a94a15a235aafe702cb81ad /engines/sherlock/events.h
parent34227d1b545b12471341ae35e4b6a5c23bfa6338 (diff)
downloadscummvm-rg350-437bcf3cfe4aabe99359d3b6db3cd8e13f3e8763.tar.gz
scummvm-rg350-437bcf3cfe4aabe99359d3b6db3cd8e13f3e8763.tar.bz2
scummvm-rg350-437bcf3cfe4aabe99359d3b6db3cd8e13f3e8763.zip
SHERLOCK: Simplify Events not to need it's own copy of the mouse pos
Diffstat (limited to 'engines/sherlock/events.h')
-rw-r--r--engines/sherlock/events.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/sherlock/events.h b/engines/sherlock/events.h
index 199e14f03a..c6d155e472 100644
--- a/engines/sherlock/events.h
+++ b/engines/sherlock/events.h
@@ -42,7 +42,6 @@ private:
SherlockEngine *_vm;
uint32 _frameCounter;
uint32 _priorFrameTime;
- Common::Point _mousePos;
ImageFile *_cursorImages;
int _mouseButtons;
@@ -79,7 +78,7 @@ public:
void pollEventsAndWait();
- Common::Point mousePos() const { return _mousePos; }
+ Common::Point mousePos() const;
uint32 getFrameCounter() const { return _frameCounter; }