move all high score data into Profile
This commit is contained in:
@@ -81,18 +81,18 @@ ScreenNameEntryTraditional::ScreenNameEntryTraditional( CString sClassName ) : S
|
||||
st.iPossibleDancePoints[i] = 1000;
|
||||
st.iActualDancePoints[i] = 985;
|
||||
|
||||
Steps::MemCardData::HighScore hs;
|
||||
HighScore hs;
|
||||
hs.grade = GRADE_TIER_3;
|
||||
hs.iScore = 42;
|
||||
int a, b;
|
||||
GAMESTATE->m_pCurNotes[i]->AddHighScore( (PlayerNumber)i, hs, a, b );
|
||||
PROFILEMAN->AddStepsHighScore( GAMESTATE->m_pCurNotes[i], (PlayerNumber)i, hs, a, b );
|
||||
|
||||
if( i == 0 )
|
||||
{
|
||||
ProfileManager::CategoryData::HighScore hs;
|
||||
HighScore hs;
|
||||
hs.iScore = 1234567;
|
||||
StepsType nt = GAMESTATE->GetCurrentStyleDef()->m_StepsType;
|
||||
PROFILEMAN->AddHighScore( nt, RANKING_A, (PlayerNumber)i, hs, a, b );
|
||||
PROFILEMAN->AddCategoryHighScore( nt, RANKING_A, (PlayerNumber)i, hs, a, b );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user