Cleanup of theme element names

Renamed ScreenSelectMax* back to their old names
Replaced all hard-coded transitions with TransitionBGAnimations
This commit is contained in:
Chris Danford
2003-03-09 00:55:49 +00:00
parent 86b0b1e7d7
commit 31aa613295
207 changed files with 1529 additions and 2246 deletions
+4 -8
View File
@@ -93,15 +93,10 @@ ScreenMapControllers::ScreenMapControllers()
m_bWaitingForPress = false;
m_Menu.Load(
THEME->GetPathTo("BGAnimations","map controllers"),
THEME->GetPathTo("Graphics","map controllers top edge"),
HELP_TEXT, false, false, 99
);
m_Menu.TweenOnScreenFromBlack( SM_None );
m_Menu.Load( "ScreenMapControllers", false ); // no timer
this->AddChild( &m_Menu );
SOUNDMAN->PlayMusic( THEME->GetPathTo("Sounds","map controllers music") );
SOUNDMAN->PlayMusic( THEME->GetPathTo("Sounds","ScreenMapControllers music") );
Refresh();
}
@@ -240,7 +235,8 @@ void ScreenMapControllers::Input( const DeviceInput& DeviceI, const InputEventTy
m_iCurButton++;
break;
case SDLK_ESCAPE: /* Quit the screen. */
m_Menu.TweenOffScreenToBlack( SM_GoToNextScreen, true );
SOUNDMAN->PlayOnce( THEME->GetPathTo("Sounds","Common start") );
m_Menu.StartTransitioning( SM_GoToNextScreen );
break;
case SDLK_RETURN: /* Change the selection. */
m_bWaitingForPress = true;