From 33bb6544d1eac607e502cb24b6c8e3ef3d8b9424 Mon Sep 17 00:00:00 2001 From: Sean Burke Date: Mon, 25 Aug 2003 20:47:22 +0000 Subject: [PATCH] This should make the code a bit more readable. --- stepmania/src/ScreenHowToPlay.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/stepmania/src/ScreenHowToPlay.cpp b/stepmania/src/ScreenHowToPlay.cpp index f70ec0f5a4..08490a4f80 100644 --- a/stepmania/src/ScreenHowToPlay.cpp +++ b/stepmania/src/ScreenHowToPlay.cpp @@ -21,8 +21,10 @@ #include "NoteFieldPositioning.h" #include "GameManager.h" -#define SONG_BPM THEME->GetMetricF("ScreenHowToPlay","SongBPM") +#define SONG_BPM THEME->GetMetricF("ScreenHowToPlay","SongBPM") #define SECONDS_TO_SHOW THEME->GetMetricF("ScreenHowToPlay","SecondsToShow") +#define NUM_PERFECTS 4 +#define NUM_MISSES 6 ScreenHowToPlay::ScreenHowToPlay() : ScreenAttract("ScreenHowToPlay") { @@ -44,7 +46,7 @@ ScreenHowToPlay::ScreenHowToPlay() : ScreenAttract("ScreenHowToPlay") m_LifeMeterBar.Load( PLAYER_1 ); m_LifeMeterBar.SetXY( 480, 40 ); - m_LifeMeterBar.FillForHowToPlay(4, 6); + m_LifeMeterBar.FillForHowToPlay( NUM_PERFECTS, NUM_MISSES ); // Display random character+pad if( GAMESTATE->m_pCharacters.size() )