add ActiveAttackList

This commit is contained in:
Chris Danford
2004-03-17 06:01:17 +00:00
parent 64e00d71ad
commit 09e6b85f3b
11 changed files with 195 additions and 62 deletions
+12
View File
@@ -593,6 +593,16 @@ void ScreenGameplay::Init()
m_textSongOptions.SetText( GAMESTATE->m_SongOptions.GetString() );
this->AddChild( &m_textSongOptions );
{
FOREACH_EnabledPlayer( pn )
{
m_ActiveAttackList[pn].LoadFromFont( THEME->GetPathF(m_sName,"ActiveAttackList") );
m_ActiveAttackList[pn].Init( pn );
m_ActiveAttackList[pn].SetName( ssprintf("ActiveAttackListP%d",pn+1) );
SET_XY( m_ActiveAttackList[pn] );
this->AddChild( &m_ActiveAttackList[pn] );
}
}
@@ -2244,6 +2254,7 @@ void ScreenGameplay::TweenOnScreen()
if( m_pSecondaryScoreDisplay[p] )
ON_COMMAND( *m_pSecondaryScoreDisplay[p] );
ON_COMMAND( m_textPlayerOptions[p] );
ON_COMMAND( m_ActiveAttackList[p] );
ON_COMMAND( m_DifficultyIcon[p] );
}
m_Overlay.PlayCommand("On");
@@ -2276,6 +2287,7 @@ void ScreenGameplay::TweenOffScreen()
if( m_pSecondaryScoreDisplay[p] )
OFF_COMMAND( *m_pSecondaryScoreDisplay[p] );
OFF_COMMAND( m_textPlayerOptions[p] );
OFF_COMMAND( m_ActiveAttackList[p] );
OFF_COMMAND( m_DifficultyIcon[p] );
}
m_Overlay.PlayCommand("Off");