use TimingAssist

This commit is contained in:
Glenn Maynard
2003-03-27 00:51:57 +00:00
parent d6b5aa10ef
commit 5dd27008cc
2 changed files with 8 additions and 0 deletions
+5
View File
@@ -219,6 +219,8 @@ ScreenGameplay::ScreenGameplay( bool bDemonstration )
m_Player[p].SetX( fPlayerX );
this->AddChild( &m_Player[p] );
m_TimingAssist.Load((PlayerNumber)p, &m_Player[p]);
m_ActiveItemList[p].Init( (PlayerNumber)p, &m_Inventory );
/* Position it in LoadNextSong. */
this->AddChild( &m_ActiveItemList[p] );
@@ -230,6 +232,7 @@ ScreenGameplay::ScreenGameplay( bool bDemonstration )
this->AddChild( &m_sprOniGameOver[p] );
}
this->AddChild(&m_TimingAssist);
m_OniFade.SetOpened();
this->AddChild( &m_OniFade );
@@ -566,6 +569,8 @@ void ScreenGameplay::LoadNextSong()
pStyleDef->GetTransformedNoteDataForStyle( (PlayerNumber)p, &pOriginalNoteData, &pNewNoteData );
m_Player[p].Load( (PlayerNumber)p, &pNewNoteData, m_pLifeMeter[p], m_pScoreDisplay[p], &m_Inventory, m_pScoreKeeper[p] );
m_TimingAssist.Reset();
}
/* Set up song-specific graphics. */
+3
View File
@@ -30,6 +30,7 @@
#include "ActiveItemList.h"
//#include "BeginnerHelper.h" // uncomment once it's checked in
#include "LyricDisplay.h"
#include "TimingAssist.h"
// messages sent by Combo
@@ -93,6 +94,8 @@ protected:
LyricDisplay m_LyricDisplay;
TimingAssist m_TimingAssist;
Background m_Background;
TransitionOniFade m_OniFade; // shows between songs in a course