odn't special case Transitions; send them an OnCommand from

BeginScreen, just like everything else
This commit is contained in:
Glenn Maynard
2007-02-26 03:13:54 +00:00
parent 67cfe0f4ad
commit 08b5a9f697
3 changed files with 12 additions and 0 deletions
+6
View File
@@ -456,6 +456,7 @@ void ScreenGameplay::Init()
if( !GAMESTATE->m_bDemonstrationOrJukebox ) // only load if we're going to use it
{
m_Toasty.Load( THEME->GetPathB(m_sName,"toasty") );
m_Toasty.PlayCommand("On");
this->AddChild( &m_Toasty );
}
@@ -487,10 +488,12 @@ void ScreenGameplay::Init()
m_NextSong.Load( THEME->GetPathB(m_sName,"next course song") );
m_NextSong.SetDrawOrder( DRAW_ORDER_TRANSITIONS-1 );
m_NextSong.PlayCommand("On");
this->AddChild( &m_NextSong );
m_SongFinished.SetDrawOrder( DRAW_ORDER_TRANSITIONS-1 );
m_SongFinished.Load( THEME->GetPathB(m_sName,"song finished") );
m_SongFinished.PlayCommand("On");
this->AddChild( &m_SongFinished );
@@ -694,13 +697,16 @@ void ScreenGameplay::Init()
if( !GAMESTATE->m_bDemonstrationOrJukebox ) // only load if we're going to use it
{
m_Ready.Load( THEME->GetPathB(m_sName,"ready") );
m_Ready.PlayCommand("On");
this->AddChild( &m_Ready );
m_Go.Load( THEME->GetPathB(m_sName,"go") );
m_Go.PlayCommand("On");
this->AddChild( &m_Go );
m_Failed.Load( THEME->GetPathB(m_sName,"failed") );
m_Failed.SetDrawOrder( DRAW_ORDER_TRANSITIONS-1 ); // on top of everything else
m_Failed.PlayCommand("On");
this->AddChild( &m_Failed );
m_textDebug.LoadFromFont( THEME->GetPathF("Common","normal") );