add a UsePad metric to the HowToPlay screen.

This commit is contained in:
Thad Ward
2003-08-27 14:40:41 +00:00
parent 562aa9877b
commit b62a0c5726
2 changed files with 9 additions and 4 deletions
+7 -3
View File
@@ -28,6 +28,7 @@
#define LIFEBARONCOMMAND THEME->GetMetric ("ScreenHowToPlay","LifeMeterBarOnCommand")
#define USECHARACTER THEME->GetMetricB("ScreenHowToPlay","UseCharacter")
#define CHARACTERONCOMMAND THEME->GetMetric ("ScreenHowToPlay","CharacterOnCommand")
#define USEPAD THEME->GetMetricB("ScreenHowToPlay","UsePad")
#define PADONCOMMAND THEME->GetMetric ("ScreenHowToPlay","PadOnCommand")
#define PLAYERX THEME->GetMetricI("ScreenHowToPlay","PlayerX")
@@ -61,9 +62,12 @@ ScreenHowToPlay::ScreenHowToPlay() : ScreenAttract("ScreenHowToPlay")
m_LifeMeterBar.Command( LIFEBARONCOMMAND );
m_LifeMeterBar.FillForHowToPlay( NUM_PERFECTS, NUM_MISSES );
m_mDancePad.LoadMilkshapeAscii("Characters" SLASH "DancePad-DDR.txt");
m_mDancePad.SetRotationX( 35 );
m_mDancePad.Command( PADONCOMMAND );
if( USEPAD )
{
m_mDancePad.LoadMilkshapeAscii("Characters" SLASH "DancePad-DDR.txt");
m_mDancePad.SetRotationX( 35 );
m_mDancePad.Command( PADONCOMMAND );
}
// Display random character+pad
if( USECHARACTER && GAMESTATE->m_pCharacters.size() )