From 17cc86d1721d275d56845754b9a32710b0e0d2f0 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Fri, 6 Jun 2014 20:04:46 -0400 Subject: MADS: Refactoring and cleanup of the game startup code --- engines/mads/nebular/dialogs_nebular.cpp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'engines/mads/nebular/dialogs_nebular.cpp') 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) -- cgit v1.2.3