From fa7c6a9969806d2163d81153a3b3610b65ea12e4 Mon Sep 17 00:00:00 2001 From: Martin Kiewitz Date: Tue, 31 Aug 2010 15:50:46 +0000 Subject: 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 --- engines/sci/engine/state.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'engines/sci/engine/state.h') 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 */ -- cgit v1.2.3