diff options
author | Paul Gilbert | 2014-06-06 20:04:46 -0400 |
---|---|---|
committer | Paul Gilbert | 2014-06-06 20:04:46 -0400 |
commit | 17cc86d1721d275d56845754b9a32710b0e0d2f0 (patch) | |
tree | 7787620f8779c8ca0664df608df7111d94de0a37 /engines/mads/nebular/dialogs_nebular.cpp | |
parent | 3c1c080c3a236ca9aac40d7f04f82b57ec879cbe (diff) | |
download | scummvm-rg350-17cc86d1721d275d56845754b9a32710b0e0d2f0.tar.gz scummvm-rg350-17cc86d1721d275d56845754b9a32710b0e0d2f0.tar.bz2 scummvm-rg350-17cc86d1721d275d56845754b9a32710b0e0d2f0.zip |
MADS: Refactoring and cleanup of the game startup code
Diffstat (limited to 'engines/mads/nebular/dialogs_nebular.cpp')
-rw-r--r-- | engines/mads/nebular/dialogs_nebular.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/engines/mads/nebular/dialogs_nebular.cpp b/engines/mads/nebular/dialogs_nebular.cpp index 3fb61990e2..fdf3ee1392 100644 --- a/engines/mads/nebular/dialogs_nebular.cpp +++ b/engines/mads/nebular/dialogs_nebular.cpp @@ -269,6 +269,14 @@ void DialogsNebular::showDialog() { case DIALOG_GAME_MENU: //GameMenuDialog::show(); break; + case DIALOG_DIFFICULTY: { +/* + DifficultyDialog *dlg = new DifficultyDialog(_vm); + dlg->show(); + delete dlg; + break; +*/ + } default: break; } @@ -712,7 +720,7 @@ void ScreenDialog::setFrame(int frameNumber, int depth) { void ScreenDialog::show() { Scene &scene = _vm->_game->_scene; - while (_selectedLine < 1) { + while (_selectedLine < 1 && !_vm->shouldQuit()) { handleEvents(); if (_v3) { if (!_v1) |