aboutsummaryrefslogtreecommitdiff
path: root/saga/interface.cpp
diff options
context:
space:
mode:
authorTorbjörn Andersson2005-10-07 15:36:28 +0000
committerTorbjörn Andersson2005-10-07 15:36:28 +0000
commita202b15062e3f5dc8754f94526bc6a179b70c1d1 (patch)
tree396773ed22608f5dc64b0421d2db51a20bfdf9c8 /saga/interface.cpp
parent313fe937f7fd9fb290d623e1eeada1156763b5c8 (diff)
downloadscummvm-rg350-a202b15062e3f5dc8754f94526bc6a179b70c1d1.tar.gz
scummvm-rg350-a202b15062e3f5dc8754f94526bc6a179b70c1d1.tar.bz2
scummvm-rg350-a202b15062e3f5dc8754f94526bc6a179b70c1d1.zip
Added a "video" panel mode. From what I understand, the beginning of the
IHNM intro should use this, so now it does. svn-id: r18957
Diffstat (limited to 'saga/interface.cpp')
-rw-r--r--saga/interface.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/saga/interface.cpp b/saga/interface.cpp
index 2c6418b3b1..946d845ade 100644
--- a/saga/interface.cpp
+++ b/saga/interface.cpp
@@ -352,6 +352,17 @@ bool Interface::processAscii(uint16 ascii, bool synthetic) {
return true;
}
break;
+ case kPanelVideo:
+ if (ascii == 27) { // Esc
+ if (_vm->_scene->isInIntro()) {
+ _vm->_scene->skipScene();
+ } else {
+ if (!_disableAbortSpeeches)
+ _vm->_actor->abortAllSpeeches();
+ }
+ _vm->_scene->cutawaySkip();
+ }
+ break;
case kPanelOption:
// TODO: check input dialog keys
if (ascii == 27 || ascii == 13) { // Esc or Enter