From a202b15062e3f5dc8754f94526bc6a179b70c1d1 Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Fri, 7 Oct 2005 15:36:28 +0000 Subject: 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 --- saga/interface.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'saga/interface.cpp') 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 -- cgit v1.2.3