From 011f59f444d52d2d8c32ad8f22feec3fa75d68d5 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 23 Sep 2006 03:45:30 +0000 Subject: [PATCH] OffCommand for textDebug --- stepmania/src/ScreenGameplay.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/stepmania/src/ScreenGameplay.cpp b/stepmania/src/ScreenGameplay.cpp index 91e3ac3898..6aa6fd8f78 100644 --- a/stepmania/src/ScreenGameplay.cpp +++ b/stepmania/src/ScreenGameplay.cpp @@ -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