use a vector for the hold note toggle
This commit is contained in:
@@ -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 );
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user