Move miss combo calculations into the ScoreKeeper.

This commit is contained in:
Steve Checkoway
2006-10-01 04:02:28 +00:00
parent 9df54e925c
commit fcbe0609c3
6 changed files with 45 additions and 50 deletions
+5 -2
View File
@@ -31,12 +31,15 @@ void ScoreKeeperRave::HandleTapScore( const TapNote &tn )
#define CROSSED( val ) (fOld < val && fNew >= val)
#define CROSSED_ATTACK_LEVEL( level ) CROSSED(1.f/NUM_ATTACK_LEVELS*(level+1))
void ScoreKeeperRave::HandleTapRowScore( const NoteData &nd, int iRow )
void ScoreKeeperRave::HandleTapRowScore( const NoteData &nd, int iRow, bool &bComboStopped, bool &bMissComboStopped )
{
TapNoteScore scoreOfLastTap;
int iNumTapsInRow;
float fPercentToMove;
bComboStopped = false;
bMissComboStopped = false;
GetScoreOfLastTapInRow( nd, iRow, scoreOfLastTap, iNumTapsInRow );
if( iNumTapsInRow <= 0 )
return;