aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Bacca2004-05-30 13:03:35 +0000
committerNicolas Bacca2004-05-30 13:03:35 +0000
commit72b01684a7808347bd5a8e9a646cd032318606d4 (patch)
tree05dfc7a6d2937045949c1cb96fbcd079c59ebdb0
parent37b311d628c29a9a52289075aec8d94ef3e87811 (diff)
downloadscummvm-rg350-72b01684a7808347bd5a8e9a646cd032318606d4.tar.gz
scummvm-rg350-72b01684a7808347bd5a8e9a646cd032318606d4.tar.bz2
scummvm-rg350-72b01684a7808347bd5a8e9a646cd032318606d4.zip
Remove unnecessary WinCE tweaks
svn-id: r13901
-rw-r--r--scumm/scumm.cpp14
-rw-r--r--scumm/scumm.h1
2 files changed, 3 insertions, 12 deletions
diff --git a/scumm/scumm.cpp b/scumm/scumm.cpp
index caa6ad0ed2..e7f9d18413 100644
--- a/scumm/scumm.cpp
+++ b/scumm/scumm.cpp
@@ -1834,26 +1834,18 @@ void ScummEngine::processKbd(bool smushMode) {
}
#ifdef _WIN32_WCE
- if (_lastKeyHit == KEY_SET_OPTIONS) {
- //_newgui->optionsDialog();
- return;
- }
-
if (_lastKeyHit == KEY_ALL_SKIP) {
// Skip cutscene
if (smushMode) {
- // Eek this is literally shouting for trouble...
- // Probably should set _lastKey to VAR_CUTSCENEEXIT_KEY instead!
- _videoFinished = true;
- return;
+ _lastKeyHit = (uint)VAR(VAR_CUTSCENEEXIT_KEY);
}
else
if (vm.cutScenePtr[vm.cutSceneStackPointer])
- _lastKeyHit = (uint16)VAR(VAR_CUTSCENEEXIT_KEY);
+ _lastKeyHit = (uint)VAR(VAR_CUTSCENEEXIT_KEY);
else
// Skip talk
if (_talkDelay > 0)
- _lastKeyHit = (uint16)VAR(VAR_TALKSTOP_KEY);
+ _lastKeyHit = (uint)VAR(VAR_TALKSTOP_KEY);
else
// Escape
_lastKeyHit = 27;
diff --git a/scumm/scumm.h b/scumm/scumm.h
index 31b0674acb..ca3974ba05 100644
--- a/scumm/scumm.h
+++ b/scumm/scumm.h
@@ -87,7 +87,6 @@ enum {
NUM_LOCALSCRIPT = 60,
NUM_SENTENCE = 6,
NUM_SHADOW_PALETTE = 8,
- KEY_SET_OPTIONS = 3456, // WinCE
KEY_ALL_SKIP = 3457 // WinCE
};