diff options
author | Filippos Karapetis | 2007-06-16 08:27:53 +0000 |
---|---|---|
committer | Filippos Karapetis | 2007-06-16 08:27:53 +0000 |
commit | fb1a6fcbc2ee6376efb74df2a5c744e89a039a0f (patch) | |
tree | 49dc341eab8692211003ea72798092b4c376e281 /engines | |
parent | ab1b2e04a91d075bc226ce0be0bca34d6abb2d74 (diff) | |
download | scummvm-rg350-fb1a6fcbc2ee6376efb74df2a5c744e89a039a0f.tar.gz scummvm-rg350-fb1a6fcbc2ee6376efb74df2a5c744e89a039a0f.tar.bz2 scummvm-rg350-fb1a6fcbc2ee6376efb74df2a5c744e89a039a0f.zip |
Enable the options panel during chapter selection in IHNM. The icon is not yet functional during chapter selection, but the keyboard shortcuts work
svn-id: r27443
Diffstat (limited to 'engines')
-rw-r--r-- | engines/saga/interface.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/engines/saga/interface.cpp b/engines/saga/interface.cpp index d969fe6c3f..52ed2e6567 100644 --- a/engines/saga/interface.cpp +++ b/engines/saga/interface.cpp @@ -315,7 +315,7 @@ int Interface::activate() { _vm->_script->_skipSpeeches = false; _vm->_actor->_protagonist->_targetObject = ID_NOTHING; unlockMode(); - if (_panelMode == kPanelMain){ + if (_panelMode == kPanelMain || _panelMode == kPanelChapterSelection){ _saveReminderState = 1; } draw(); @@ -357,6 +357,8 @@ void Interface::setMode(int mode) { if (mode == kPanelMain) { _inMainMode = true; _saveReminderState = 1; //TODO: blinking timeout + } else if (mode == kPanelChapterSelection) { + _saveReminderState = 1; } else { if (mode == kPanelConverse) { _inMainMode = false; @@ -1433,7 +1435,10 @@ void Interface::setOption(PanelButton *panelButton) { switch (panelButton->id) { case kTextContinuePlaying: ConfMan.flushToDisk(); - setMode(kPanelMain); + if (!(_vm->getGameType() == GType_IHNM && _vm->_scene->currentChapterNumber() == 8)) + setMode(kPanelMain); + else + setMode(kPanelChapterSelection); break; case kTextQuitGame: setMode(kPanelQuit); |