AutoActor overlay

This commit is contained in:
Glenn Maynard
2005-02-26 09:16:34 +00:00
parent 1bdb2563b1
commit de339d9b00
2 changed files with 6 additions and 6 deletions
+5 -5
View File
@@ -653,9 +653,9 @@ void ScreenGameplay::Init()
SET_XY( m_textDebug ); SET_XY( m_textDebug );
this->AddChild( &m_textDebug ); this->AddChild( &m_textDebug );
m_Overlay.LoadFromAniDir( THEME->GetPathB(m_sName,"Overlay") ); m_Overlay.Load( THEME->GetPathB(m_sName,"overlay") );
m_Overlay.SetDrawOrder( DRAW_ORDER_TRANSITIONS-1 ); m_Overlay->SetDrawOrder( DRAW_ORDER_TRANSITIONS-1 );
this->AddChild( &m_Overlay ); this->AddChild( m_Overlay );
m_In.Load( THEME->GetPathB(m_sName,"in") ); m_In.Load( THEME->GetPathB(m_sName,"in") );
m_In.SetDrawOrder( DRAW_ORDER_TRANSITIONS ); m_In.SetDrawOrder( DRAW_ORDER_TRANSITIONS );
@@ -2420,7 +2420,7 @@ void ScreenGameplay::TweenOnScreen()
FOREACH_NSScoreBoardColumn( sc ) FOREACH_NSScoreBoardColumn( sc )
ON_COMMAND( m_Scoreboard[sc] ); ON_COMMAND( m_Scoreboard[sc] );
m_Overlay.PlayCommand("On"); m_Overlay->PlayCommand("On");
} }
void ScreenGameplay::TweenOffScreen() void ScreenGameplay::TweenOffScreen()
@@ -2455,7 +2455,7 @@ void ScreenGameplay::TweenOffScreen()
OFF_COMMAND( m_DifficultyIcon[p] ); OFF_COMMAND( m_DifficultyIcon[p] );
OFF_COMMAND( m_DifficultyMeter[p] ); OFF_COMMAND( m_DifficultyMeter[p] );
} }
m_Overlay.PlayCommand("Off"); m_Overlay->PlayCommand("Off");
if (m_ShowScoreboard) if (m_ShowScoreboard)
FOREACH_NSScoreBoardColumn( sc ) FOREACH_NSScoreBoardColumn( sc )
+1 -1
View File
@@ -130,7 +130,7 @@ protected:
Transition m_Draw; Transition m_Draw;
Transition m_In; Transition m_In;
Transition m_Back; Transition m_Back;
BGAnimation m_Overlay; AutoActor m_Overlay;
BitmapText m_textSurviveTime; // used in extra stage BitmapText m_textSurviveTime; // used in extra stage
BitmapText m_textSongTitle; BitmapText m_textSongTitle;