only load stage graphic in arcade gameplay (graphics for course

mode don't exist)
This commit is contained in:
Glenn Maynard
2003-04-01 18:34:58 +00:00
parent e00b098cb5
commit faf6b2e0f8
+3 -3
View File
@@ -272,9 +272,6 @@ ScreenGameplay::ScreenGameplay( bool bDemonstration )
}
m_sprStage.Load( THEME->GetPathTo("Graphics","ScreenGameplay stage "+GAMESTATE->GetStageText()) );
m_sprStage.SetXY( STAGE_X, STAGE_Y(bExtra) );
for( p=0; p<NUM_PLAYERS; p++ )
{
m_textCourseSongNumber[p].LoadFromNumbers( THEME->GetPathTo("Numbers","ScreenGameplay song num") );
@@ -288,6 +285,8 @@ ScreenGameplay::ScreenGameplay( bool bDemonstration )
{
case PLAY_MODE_ARCADE:
case PLAY_MODE_BATTLE:
m_sprStage.Load( THEME->GetPathTo("Graphics","ScreenGameplay stage "+GAMESTATE->GetStageText()) );
m_sprStage.SetXY( STAGE_X, STAGE_Y(bExtra) );
this->AddChild( &m_sprStage );
break;
case PLAY_MODE_NONSTOP:
@@ -1525,6 +1524,7 @@ void ScreenGameplay::TweenOnScreen()
{
unsigned i, p;
/* XXX: m_sprLifeFrame.GetChildren(apActorsInLifeFrame) */
vector<Actor*> apActorsInLifeFrame;
apActorsInLifeFrame.push_back( &m_sprLifeFrame );
for( p=0; p<NUM_PLAYERS; p++ )