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
@@ -506,7 +506,7 @@ class DebugLineVsync : public IDebugLine
virtual void Do( CString &sMessageOut )
{
PREFSMAN->m_bVsync.Set( !PREFSMAN->m_bVsync );
ApplyGraphicOptions();
StepMania::ApplyGraphicOptions();
IDebugLine::Do( sMessageOut );
}
};
@@ -589,7 +589,7 @@ class DebugLineReloadCurrentScreen : public IDebugLine
virtual void Do( CString &sMessageOut )
{
SOUND->StopMusic();
ResetGame();
StepMania::ResetGame();
SCREENMAN->SetNewScreen( SCREENMAN->GetTopScreen()->GetName() );
IDebugLine::Do( sMessageOut );
sMessageOut = "";