Change the api to take a NoteData and a row. Let the score keepers decide what they want to do with the row.

This commit is contained in:
Steve Checkoway
2006-07-14 04:19:30 +00:00
parent af1652ef28
commit 743d2b9697
9 changed files with 82 additions and 21 deletions
+2 -3
View File
@@ -57,10 +57,9 @@ void ScoreKeeperShared::HandleTapScore( const TapNote &tn )
m_pScoreKeepers[tn.pn]->HandleTapScore( tn );
}
void ScoreKeeperShared::HandleTapRowScore( const TapNote &lastTN, int iNumTapsInRow )
void ScoreKeeperShared::HandleTapRowScore( const NoteData &nd, int row )
{
// XXX Each player should probaby have this for just their own notes.
CALL( HandleTapRowScore(lastTN, iNumTapsInRow) );
CALL( HandleTapRowScore(nd, row) );
}
void ScoreKeeperShared::HandleHoldScore( const TapNote &tn )