[Scummvm-cvs-logs] CVS: scummvm/scumm scumm.cpp,1.35,1.36
Jonathan Gray
khalek at users.sourceforge.net
Sat Jun 5 06:42:03 CEST 2004
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26825
Modified Files:
scumm.cpp
Log Message:
Allow dialogue options in the SegaCD version of Monkey Island to be cycled through with mousewheel. Closes RFE #953111
Index: scumm.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/scumm.cpp,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -d -r1.35 -r1.36
--- scumm.cpp 5 Jun 2004 02:43:12 -0000 1.35
+++ scumm.cpp 5 Jun 2004 13:41:08 -0000 1.36
@@ -1711,6 +1711,19 @@
case OSystem::EVENT_RBUTTONUP:
_rightBtnPressed &= ~msDown;
break;
+
+ // The following two cases enable dialog choices to be
+ // scrolled through in the SegaCD version of MI
+ // as nothing else uses the wheel don't bother
+ // checking the gameid
+
+ case OSystem::EVENT_WHEELDOWN:
+ _keyPressed = 55;
+ break;
+
+ case OSystem::EVENT_WHEELUP:
+ _keyPressed = 54;
+ break;
case OSystem::EVENT_QUIT:
if (_confirmExit)
More information about the Scummvm-git-logs
mailing list