move floating globals into a namespace

This commit is contained in:
Chris Danford
2005-12-02 01:16:28 +00:00
parent 58eb9115db
commit 800158e185
11 changed files with 43 additions and 39 deletions
+2 -2
View File
@@ -75,7 +75,7 @@ void ScreenTitleMenu::Input( const InputEventPlus &input )
CodeDetector::EnteredCode(input.GameI.controller,CODE_NEXT_THEME2) )
{
THEME->NextTheme();
ApplyGraphicOptions(); // update window title and icon
StepMania::ApplyGraphicOptions(); // update window title and icon
SCREENMAN->SystemMessage( "Theme: "+THEME->GetCurThemeName() );
SCREENMAN->SetNewScreen( m_sName );
TEXTUREMAN->DoDelayedDelete();
@@ -107,7 +107,7 @@ void ScreenTitleMenu::Input( const InputEventPlus &input )
GAMESTATE->SetCurGame( *iter );
/* Reload the theme if it's changed, but don't back to the initial screen. */
ResetGame();
StepMania::ResetGame();
SCREENMAN->SystemMessage( CString("Game: ") + GAMESTATE->GetCurrentGame()->m_szName );
SCREENMAN->SetNewScreen( m_sName );