use a vector for the hold note toggle

This commit is contained in:
Glenn Maynard
2002-11-03 21:45:26 +00:00
parent 11e1d16008
commit ffd6817044
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -53,8 +53,8 @@ void NoteField::Load( NoteData* pNoteData, PlayerNumber pn, int iPixelsToDrawBeh
NoteDataWithScoring::Init(pNoteData->GetNumTapNotes(), pNoteData->GetNumHoldNotes());
for( int i=0; i<MAX_HOLD_NOTES; i++ )
m_bIsHoldingHoldNote[i] = false;
m_bIsHoldingHoldNote.clear();
m_bIsHoldingHoldNote.insert(m_bIsHoldingHoldNote.end(), pNoteData->GetNumTapNotes(), false);
this->CopyAll( pNoteData );
+1 -1
View File
@@ -34,7 +34,7 @@ public:
void Load( NoteData* pNoteData, PlayerNumber pn, int iPixelsToDrawBehind, int iPixelsToDrawAhead );
void RemoveTapNoteRow( int iIndex );
bool m_bIsHoldingHoldNote[MAX_HOLD_NOTES]; // hack: Need this to know when to "light up" the center of hold notes
vector<bool> m_bIsHoldingHoldNote; // hack: Need this to know when to "light up" the center of hold notes
float m_fBeginMarker, m_fEndMarker; // only used with MODE_EDIT