OffCommand for textDebug

This commit is contained in:
Glenn Maynard
2006-09-23 03:45:30 +00:00
parent a20ff0e3b6
commit 011f59f444
+2 -3
View File
@@ -717,6 +717,7 @@ void ScreenGameplay::Init( bool bUseSongBackgroundAndForeground )
m_textDebug.LoadFromFont( THEME->GetPathF("Common","normal") );
m_textDebug.SetName( "Debug" );
ActorUtil::LoadAllCommands( m_textDebug, m_sName );
SET_XY( m_textDebug );
m_textDebug.SetDrawOrder( DRAW_ORDER_TRANSITIONS-1 ); // just under transitions, over the foreground
this->AddChild( &m_textDebug );
@@ -2635,9 +2636,7 @@ void ScreenGameplay::TweenOffScreen()
FOREACH_NSScoreBoardColumn( sc )
OFF_COMMAND( m_Scoreboard[sc] );
m_textDebug.StopTweening();
m_textDebug.BeginTweening( 1/8.f );
m_textDebug.SetDiffuse( RageColor(1,1,1,0) );
OFF_COMMAND( m_textDebug );
}
Song *ScreenGameplay::GetNextCourseSong() const