aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/state.h
diff options
context:
space:
mode:
authorMartin Kiewitz2016-03-05 21:28:09 +0100
committerMartin Kiewitz2016-03-05 21:28:09 +0100
commit4ebca0353461cf4461f3425d52a7b82eb9fd983f (patch)
tree20b8acfd24b1255ff0a0bb5c5833a90c28babf62 /engines/sci/engine/state.h
parent04b5f3833771c3073df5860c023c8274706dbbc7 (diff)
downloadscummvm-rg350-4ebca0353461cf4461f3425d52a7b82eb9fd983f.tar.gz
scummvm-rg350-4ebca0353461cf4461f3425d52a7b82eb9fd983f.tar.bz2
scummvm-rg350-4ebca0353461cf4461f3425d52a7b82eb9fd983f.zip
SCI: Make cursor workaround work properly on OpenPandora
Other platforms, that support analog stick + touch screen at the same time, are possibly also affected. Cursor workarounds exist for qfg1vga, qfg3, lsl5 and Island of Dr. Brain. Those sometimes worked and sometimes didn't on at least OpenPandora and should be fixed now.
Diffstat (limited to 'engines/sci/engine/state.h')
-rw-r--r--engines/sci/engine/state.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/sci/engine/state.h b/engines/sci/engine/state.h
index 6efc56e40f..cf9a753f5c 100644
--- a/engines/sci/engine/state.h
+++ b/engines/sci/engine/state.h
@@ -143,6 +143,7 @@ public:
uint _chosenQfGImportItem; // Remembers the item selected in QfG import rooms
bool _cursorWorkaroundActive; // Refer to GfxCursor::setPosition()
+ int16 _cursorWorkaroundPosCount; // When the cursor is reported to be at the previously set coordinate, we won't disable the workaround unless it happened for this many times
Common::Point _cursorWorkaroundPoint;
Common::Rect _cursorWorkaroundRect;