aboutsummaryrefslogtreecommitdiff
path: root/engines/dreamweb/dreamweb.h
diff options
context:
space:
mode:
authoreriktorbjorn2011-06-12 20:41:30 +0200
committerAlyssa Milburn2011-06-15 17:34:36 +0200
commitde65cf35c10e7b3dcd5eba64c5a922428518f626 (patch)
treeb6c194ee615d4caef965b3568993d6734e1c4098 /engines/dreamweb/dreamweb.h
parentd65083ecaed475f88fac11ff99c72ad8c956ced3 (diff)
downloadscummvm-rg350-de65cf35c10e7b3dcd5eba64c5a922428518f626.tar.gz
scummvm-rg350-de65cf35c10e7b3dcd5eba64c5a922428518f626.tar.bz2
scummvm-rg350-de65cf35c10e7b3dcd5eba64c5a922428518f626.zip
DREAMWEB: Simplify the tracking of the mouse position and buttons
The event manager keeps track of the mouse position and button state, so using that should be both simpler and more reliable than tracking it ourselves. This loses the support for middle-clicking, but it's not clear that this is needed anyway. (If necessary, it could be added to the event manager.)
Diffstat (limited to 'engines/dreamweb/dreamweb.h')
-rw-r--r--engines/dreamweb/dreamweb.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/engines/dreamweb/dreamweb.h b/engines/dreamweb/dreamweb.h
index 455791d2c3..f459d8bcf9 100644
--- a/engines/dreamweb/dreamweb.h
+++ b/engines/dreamweb/dreamweb.h
@@ -105,8 +105,6 @@ private:
const DreamWebGameDescription *_gameDescription;
Common::RandomSource _rnd;
- Common::Point _mouse;
- unsigned _mouseState;
Common::File _file;
Common::OutSaveFile *_outSaveFile;