aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/state.h
diff options
context:
space:
mode:
authorMartin Kiewitz2010-08-31 15:50:46 +0000
committerMartin Kiewitz2010-08-31 15:50:46 +0000
commitfa7c6a9969806d2163d81153a3b3610b65ea12e4 (patch)
tree2fd4bee487ecd37a154b3c83db5ce4c52b8bd8ba /engines/sci/engine/state.h
parentb5a17ca628e984fa13190c64fb5caef6108369ca (diff)
downloadscummvm-rg350-fa7c6a9969806d2163d81153a3b3610b65ea12e4.tar.gz
scummvm-rg350-fa7c6a9969806d2163d81153a3b3610b65ea12e4.tar.bz2
scummvm-rg350-fa7c6a9969806d2163d81153a3b3610b65ea12e4.zip
SCI: adding workaround for platform-specific
incompatibility with some sierra games. Some games open a new menu, set mouse cursor within that menu and expect the mouse cursor to be in there and will close it, if it's outside. In case of Wiimote/touch interfaces this logic won't work of course. Fixes island of dr. brain and QfG1VGA on Wii and touch-interface platforms svn-id: r52474
Diffstat (limited to 'engines/sci/engine/state.h')
-rw-r--r--engines/sci/engine/state.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/sci/engine/state.h b/engines/sci/engine/state.h
index 42294fa08c..d0ddd5ca06 100644
--- a/engines/sci/engine/state.h
+++ b/engines/sci/engine/state.h
@@ -147,6 +147,10 @@ public:
uint _chosenQfGImportItem; // Remembers the item selected in QfG import rooms
+ bool _cursorWorkaroundActive; // ffs. GfxCursor::setPosition()
+ Common::Point _cursorWorkaroundPoint;
+ Common::Rect _cursorWorkaroundRect;
+
public:
/* VM Information */