GetPathTo -> GetPath

This commit is contained in:
Chris Danford
2005-02-06 03:32:53 +00:00
parent 7e68ac03b4
commit 4223e09cc8
91 changed files with 422 additions and 447 deletions
+5 -5
View File
@@ -34,14 +34,14 @@ ScreenEditMenu::ScreenEditMenu( CString sName ) : ScreenWithMenuElements( sName
m_textExplanation.SetName( "Explanation" );
m_textExplanation.LoadFromFont( THEME->GetPathToF("Common normal") );
m_textExplanation.LoadFromFont( THEME->GetPathF("Common","normal") );
SET_XY_AND_ON_COMMAND( m_textExplanation );
m_textExplanation.SetText( EXPLANATION_TEXT );
this->AddChild( &m_textExplanation );
this->SortByDrawOrder();
SOUND->PlayMusic( THEME->GetPathToS("ScreenEditMenu music") );
SOUND->PlayMusic( THEME->GetPathS("ScreenEditMenu","music") );
}
void ScreenEditMenu::HandleScreenMessage( const ScreenMessage SM )
@@ -145,7 +145,7 @@ void ScreenEditMenu::MenuStart( PlayerNumber pn )
pSong->AddSteps( pNewNotes );
SCREENMAN->SystemMessage( "Steps created from copy." );
SOUND->PlayOnce( THEME->GetPathToS("ScreenEditMenu create") );
SOUND->PlayOnce( THEME->GetPathS("ScreenEditMenu","create") );
m_Selector.RefreshNotes();
pSong->Save();
}
@@ -163,7 +163,7 @@ void ScreenEditMenu::MenuStart( PlayerNumber pn )
pSong->AddSteps( pNewNotes );
SCREENMAN->SystemMessage( "Steps created from AutoGen." );
SOUND->PlayOnce( THEME->GetPathToS("ScreenEditMenu create") );
SOUND->PlayOnce( THEME->GetPathS("ScreenEditMenu","create") );
m_Selector.RefreshNotes();
pSong->Save();
}
@@ -180,7 +180,7 @@ void ScreenEditMenu::MenuStart( PlayerNumber pn )
pSong->AddSteps( pNewNotes );
SCREENMAN->SystemMessage( "Blank Steps created." );
SOUND->PlayOnce( THEME->GetPathToS("ScreenEditMenu create") );
SOUND->PlayOnce( THEME->GetPathS("ScreenEditMenu","create") );
m_Selector.RefreshNotes();
pSong->Save();
}