make calls to THEME->GetPathTo() more concise

This commit is contained in:
Chris Danford
2003-04-12 17:39:27 +00:00
parent 625b1beb04
commit 448bdc7b6e
96 changed files with 508 additions and 513 deletions
+2 -2
View File
@@ -29,13 +29,13 @@ ScreenGameOver::ScreenGameOver() : Screen("ScreenGameOver")
{
GAMESTATE->Reset();
m_Background.LoadFromAniDir( THEME->GetPathTo("BGAnimations","ScreenGameOver background") );
m_Background.LoadFromAniDir( THEME->GetPathToB("ScreenGameOver background") );
this->AddChild( &m_Background );
m_Fade.OpenWipingRight( SM_None );
this->AddChild( &m_Fade );
SOUNDMAN->PlayMusic( THEME->GetPathTo("Sounds","ScreenGameOver music") );
SOUNDMAN->PlayMusic( THEME->GetPathToS("ScreenGameOver music") );
this->PostScreenMessage( SM_PlayAnnouncer, 0.5 );
this->PostScreenMessage( SM_StartFadingOut, 5 );