Use a associative arrays instead of normal vectors to hold TapNotes.

More places NoteDataUtil, NoteDataWithScoring need to be converted to use the new row iteration macros.
This commit is contained in:
Chris Danford
2004-09-29 06:43:57 +00:00
parent f22ec944d4
commit 0f6ed81faf
7 changed files with 233 additions and 189 deletions
+2 -1
View File
@@ -115,9 +115,10 @@ static StepsType DetermineStepsType( int iPlayer, const NoteData &nd )
bool bTrackHasNote[NUM_BMS_TRACKS];
ZERO( bTrackHasNote );
int iLastRow = nd.GetLastRow();
for( int t=0; t<nd.GetNumTracks(); t++ )
{
for( int r=0; r<nd.GetNumRows(); r++ )
for( int r=0; r<=iLastRow; r++ )
{
if( nd.GetTapNoteX(t, r).type != TapNote::empty )
{