more on high score work

This commit is contained in:
Chris Danford
2003-01-22 05:29:27 +00:00
parent 0fcf0b8ab1
commit 93c1166402
14 changed files with 243 additions and 284 deletions
+2 -15
View File
@@ -294,25 +294,12 @@ ScreenEvaluation::ScreenEvaluation( bool bSummary )
switch( m_ResultMode )
{
case RM_ARCADE_STAGE:
Notes* pNotes = GAMESTATE->m_pCurNotes[p];
pNotes->m_iNumTimesPlayed++;
if( iMaxCombo[p] > pNotes->m_iMaxCombo )
pNotes->m_iMaxCombo = iMaxCombo[p];
if( fScore[p] > pNotes->m_iTopScore )
{
pNotes->m_iTopScore = (int)fScore[p];
bNewRecord[p] = true;
}
if( grade[p] > pNotes->m_TopGrade )
pNotes->m_TopGrade = grade[p];
if( SONGMAN->IsUsingMemoryCard((PlayerNumber)p) )
bNewRecord[p] = pNotes->AddMemCardScore( (PlayerNumber)p, grade[p], (int)fScore[p] );
break;
}
}
SONGMAN->SaveStatisticsToDisk();