aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Hoops2011-10-31 23:28:42 -0400
committerMatthew Hoops2011-10-31 23:28:42 -0400
commitae59e34446a425fc1e638e10846190100b10a722 (patch)
tree9133cd6356418c6c70fdf6c9493287dfef7ecddf
parentb3eb2c65e36258d0018455962e610052b1569748 (diff)
downloadscummvm-rg350-ae59e34446a425fc1e638e10846190100b10a722.tar.gz
scummvm-rg350-ae59e34446a425fc1e638e10846190100b10a722.tar.bz2
scummvm-rg350-ae59e34446a425fc1e638e10846190100b10a722.zip
PEGASUS: Fix some code formatting
-rwxr-xr-xengines/pegasus/menu.cpp62
1 files changed, 31 insertions, 31 deletions
diff --git a/engines/pegasus/menu.cpp b/engines/pegasus/menu.cpp
index ce95e6b440..50a208e717 100755
--- a/engines/pegasus/menu.cpp
+++ b/engines/pegasus/menu.cpp
@@ -489,37 +489,37 @@ CreditsMenu::CreditsMenu() : GameMenu(kCreditsMenuID), _menuBackground(0), _cred
void CreditsMenu::newMenuSelection(const int newSelection) {
if (newSelection != _menuSelection) {
switch (newSelection) {
- case kCreditsMenuCoreTeam:
- _smallSelect.moveElementTo(kCoreTeamSelectLeft, kCoreTeamSelectTop);
- _creditsMovie.setTime(kCoreTeamTime);
- _creditsMovie.redrawMovieWorld();
- break;
- case kCreditsMenuSupportTeam:
- _smallSelect.moveElementTo(kSupportTeamSelectLeft, kSupportTeamSelectTop);
- _creditsMovie.setTime(kSupportTeamTime);
- _creditsMovie.redrawMovieWorld();
- break;
- case kCreditsMenuOriginalTeam:
- _smallSelect.moveElementTo(kOriginalTeamSelectLeft, kOriginalTeamSelectTop);
- _creditsMovie.setTime(kOriginalTeamTime);
- _creditsMovie.redrawMovieWorld();
- break;
- case kCreditsMenuTalent:
- _smallSelect.moveElementTo(kTalentSelectLeft, kTalentSelectTop);
- _creditsMovie.setTime(kTalentTime);
- _creditsMovie.redrawMovieWorld();
- break;
- case kCreditsMenuOtherTitles:
- _smallSelect.moveElementTo(kOtherTitlesSelectLeft, kOtherTitlesSelectTop);
- _smallSelect.show();
- _largeSelect.hide();
- _creditsMovie.setTime(kOtherTitlesTime);
- _creditsMovie.redrawMovieWorld();
- break;
- case kCreditsMenuMainMenu:
- _smallSelect.hide();
- _largeSelect.show();
- break;
+ case kCreditsMenuCoreTeam:
+ _smallSelect.moveElementTo(kCoreTeamSelectLeft, kCoreTeamSelectTop);
+ _creditsMovie.setTime(kCoreTeamTime);
+ _creditsMovie.redrawMovieWorld();
+ break;
+ case kCreditsMenuSupportTeam:
+ _smallSelect.moveElementTo(kSupportTeamSelectLeft, kSupportTeamSelectTop);
+ _creditsMovie.setTime(kSupportTeamTime);
+ _creditsMovie.redrawMovieWorld();
+ break;
+ case kCreditsMenuOriginalTeam:
+ _smallSelect.moveElementTo(kOriginalTeamSelectLeft, kOriginalTeamSelectTop);
+ _creditsMovie.setTime(kOriginalTeamTime);
+ _creditsMovie.redrawMovieWorld();
+ break;
+ case kCreditsMenuTalent:
+ _smallSelect.moveElementTo(kTalentSelectLeft, kTalentSelectTop);
+ _creditsMovie.setTime(kTalentTime);
+ _creditsMovie.redrawMovieWorld();
+ break;
+ case kCreditsMenuOtherTitles:
+ _smallSelect.moveElementTo(kOtherTitlesSelectLeft, kOtherTitlesSelectTop);
+ _smallSelect.show();
+ _largeSelect.hide();
+ _creditsMovie.setTime(kOtherTitlesTime);
+ _creditsMovie.redrawMovieWorld();
+ break;
+ case kCreditsMenuMainMenu:
+ _smallSelect.hide();
+ _largeSelect.show();
+ break;
}
_menuSelection = newSelection;