Revert "dummy out internal scoring"

This reverts commit e1b2222336.

This is pretty much guaranteed to muck with themes.
This commit is contained in:
Colby Klein
2012-12-28 13:41:41 -08:00
parent b03b3adf41
commit 13c795d019
2 changed files with 28 additions and 3 deletions
+27 -2
View File
@@ -204,9 +204,34 @@ void ScoreKeeperNormal::HandleTapScoreNone()
// TODO: networking code
}
void ScoreKeeperNormal::AddScoreInternal( TapNoteScore )
void ScoreKeeperNormal::AddScoreInternal( TapNoteScore score )
{
//dummied out for proper custom scoring support
int &iScore = m_pPlayerStageStats->m_iScore;
int &iCurMaxScore = m_pPlayerStageStats->m_iCurMaxScore;
int p = 0;
switch( score )
{
case TNS_W1: p = 5; break;
case TNS_W2: p = 4; break;
case TNS_W3: p = 3; break;
case TNS_W4: p = 2; break;
case TNS_CheckpointHit:
case TNS_W5: p = 1; break;
case TNS_HitMine: p = -1; break;
default: p = 0; break;
}
iScore += p;
iCurMaxScore += 5;
if( iScore < 0 )
iScore = 0;
ASSERT_M( iScore >= 0, "iScore < 0" );
// LOG->Trace( "score: %i", iScore );
}
void ScoreKeeperNormal::HandleTapScore( const TapNote &tn )