diff options
Diffstat (limited to 'engines/pegasus/menu.cpp')
-rw-r--r-- | engines/pegasus/menu.cpp | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/engines/pegasus/menu.cpp b/engines/pegasus/menu.cpp index ede9873f9a..5d48bcfb3c 100644 --- a/engines/pegasus/menu.cpp +++ b/engines/pegasus/menu.cpp @@ -293,6 +293,8 @@ void MainMenu::handleInput(const Input &input, const Hotspot *cursorSpot) { _quitButton.hide(); setLastCommand(kMenuCmdQuit); break; + default: + break; } } else { switch (_menuSelection) { @@ -333,6 +335,8 @@ void MainMenu::handleInput(const Input &input, const Hotspot *cursorSpot) { _quitButton.hide(); setLastCommand(kMenuCmdQuit); break; + default: + break; } } } @@ -360,6 +364,8 @@ void MainMenu::updateDisplay() { _largeSelect.show(); _smallSelect.hide(); break; + default: + break; } } else { switch (_menuSelection) { @@ -401,6 +407,8 @@ void MainMenu::updateDisplay() { _smallSelect.show(); _largeSelect.hide(); break; + default: + break; } vm->resetIntroTimer(); @@ -522,6 +530,8 @@ void CreditsMenu::newMenuSelection(const int newSelection) { _smallSelect.hide(); _largeSelect.show(); break; + default: + break; } _menuSelection = newSelection; @@ -778,6 +788,8 @@ void DeathMenu::handleInput(const Input &input, const Hotspot *cursorSpot) { _mainMenuButton.hide(); setLastCommand(kMenuCmdDeathMainMenuDemo); break; + default: + break; } } else { switch (_menuSelection) { @@ -799,6 +811,8 @@ void DeathMenu::handleInput(const Input &input, const Hotspot *cursorSpot) { _mainMenuButton.hide(); setLastCommand(kMenuCmdDeathMainMenu); break; + default: + break; } } } @@ -824,6 +838,8 @@ void DeathMenu::updateDisplay() { _smallSelect.show(); _largeSelect.hide(); break; + default: + break; } } else { switch (_menuSelection) { @@ -842,6 +858,8 @@ void DeathMenu::updateDisplay() { _largeSelect.show(); _smallSelect.hide(); break; + default: + break; } } } @@ -917,6 +935,8 @@ void DeathMenu::drawAllScores() { drawScore(GameState.getTotalScore(), kMaxTotalScore, scoreBounds, &numbers); break; + default: + break; } } @@ -1081,6 +1101,8 @@ void PauseMenu::handleInput(const Input &input, const Hotspot *cursorSpot) { case kPauseMenuQuitToMainMenu: _menuSelection = kPauseMenuAmbience; break; + default: + break; } updateDisplay(); } @@ -1103,6 +1125,8 @@ void PauseMenu::handleInput(const Input &input, const Hotspot *cursorSpot) { case kPauseMenuAmbience: _menuSelection = kPauseMenuQuitToMainMenu; break; + default: + break; } updateDisplay(); } @@ -1173,6 +1197,8 @@ void PauseMenu::handleInput(const Input &input, const Hotspot *cursorSpot) { _quitButton.hide(); setLastCommand(kMenuCmdPauseQuit); break; + default: + break; } } @@ -1216,6 +1242,8 @@ void PauseMenu::updateDisplay() { _smallSelect.show(); _largeSelect.hide(); break; + default: + break; } ((PegasusEngine *)g_engine)->resetIntroTimer(); |