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
+3 -3
View File
@@ -135,11 +135,11 @@ ScreenJukebox::ScreenJukebox( bool bDemonstration ) : ScreenGameplay( PrepareFor
return;
}
m_In.Load( THEME->GetPathTo("BGAnimations","ScreenDemonstration in") );
m_In.Load( THEME->GetPathToB("ScreenDemonstration in") );
this->AddChild( &m_In );
m_In.StartTransitioning();
m_Out.Load( THEME->GetPathTo("BGAnimations","ScreenDemonstration out") );
m_Out.Load( THEME->GetPathToB("ScreenDemonstration out") );
this->AddChild( &m_Out );
ClearMessageQueue(); // remove all of the messages set in ScreenGameplay that animate "ready", "here we go", etc.
@@ -188,7 +188,7 @@ void ScreenJukebox::Input( const DeviceInput& DeviceI, const InputEventType type
SOUNDMAN->StopMusic();
/* We already played the it was a coin was inserted. Don't play it again. */
if( MenuI.button != MENU_BUTTON_COIN )
SOUNDMAN->PlayOnce( THEME->GetPathTo("Sounds","Common coin") );
SOUNDMAN->PlayOnce( THEME->GetPathToS("Common coin") );
SDL_Delay( 800 ); // do a little pause, like the arcade does
SCREENMAN->SetNewScreen( "ScreenTitleMenu" );
break;