aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorJonathan Gray2004-06-05 13:41:08 +0000
committerJonathan Gray2004-06-05 13:41:08 +0000
commite356a4ccc37db1371620f98ec87248dc978c5795 (patch)
tree9e21dd54bb9cfb346e545ecc79a6d9be0663333a /scumm
parentb8bc0d72e53579255a6149e205cc10a9233f2bcf (diff)
downloadscummvm-rg350-e356a4ccc37db1371620f98ec87248dc978c5795.tar.gz
scummvm-rg350-e356a4ccc37db1371620f98ec87248dc978c5795.tar.bz2
scummvm-rg350-e356a4ccc37db1371620f98ec87248dc978c5795.zip
Allow dialogue options in the SegaCD version of Monkey Island to be cycled through with mousewheel. Closes RFE #953111
svn-id: r13936
Diffstat (limited to 'scumm')
-rw-r--r--scumm/scumm.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/scumm/scumm.cpp b/scumm/scumm.cpp
index fa396d5ab4..0491d001b8 100644
--- a/scumm/scumm.cpp
+++ b/scumm/scumm.cpp
@@ -1711,6 +1711,19 @@ void ScummEngine::parseEvents() {
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)