From 13b9bcdb8d51e1bd2bc92c8b882b030f80872f24 Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Sat, 5 Apr 2008 19:19:13 +0000 Subject: [PATCH] PersonalHighScore -> ProfileHighScore --- stepmania/src/GameState.cpp | 8 ++++---- stepmania/src/PlayerStageStats.cpp | 4 ++-- stepmania/src/PlayerStageStats.h | 2 +- stepmania/src/StageStats.cpp | 8 ++++---- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/stepmania/src/GameState.cpp b/stepmania/src/GameState.cpp index 4ddeadf2b1..e6924e9070 100644 --- a/stepmania/src/GameState.cpp +++ b/stepmania/src/GameState.cpp @@ -1411,7 +1411,7 @@ bool GameState::ShowW1() const } -static ThemeMetric PERSONAL_RECORD_FEATS("GameState","PersonalRecordFeats"); +static ThemeMetric PROFILE_RECORD_FEATS("GameState","ProfileRecordFeats"); static ThemeMetric CATEGORY_RECORD_FEATS("GameState","CategoryRecordFeats"); void GameState::GetRankingFeats( PlayerNumber pn, vector &asFeatsOut ) const { @@ -1494,7 +1494,7 @@ void GameState::GetRankingFeats( PlayerNumber pn, vector &asFeatsOu } // Find Personal Records - if( pProf && PERSONAL_RECORD_FEATS ) + if( pProf && PROFILE_RECORD_FEATS ) { HighScoreList &hsl = pProf->GetStepsHighScoreList(pSong,pSteps); for( unsigned j=0; j &asFeatsOu if( !CATEGORY_RECORD_FEATS ) continue; - if( pProf && PERSONAL_RECORD_FEATS ) + if( pProf && PROFILE_RECORD_FEATS ) { HighScoreList &hsl = pProf->GetCategoryHighScoreList( st, rc ); for( unsigned j=0; j &asFeatsOu } // Find Personal Records - if( PERSONAL_RECORD_FEATS && PROFILEMAN->IsPersistentProfile(pn) ) + if( PROFILE_RECORD_FEATS && PROFILEMAN->IsPersistentProfile(pn) ) { HighScoreList &hsl = pProf->GetCourseHighScoreList( pCourse, pTrail ); for( unsigned i=0; iAddCategoryScore( st, m_player[p].m_rc, p, hs, m_player[p].m_iPersonalHighScoreIndex, m_player[p].m_iMachineHighScoreIndex ); + PROFILEMAN->AddCategoryScore( st, m_player[p].m_rc, p, hs, m_player[p].m_iProfileHighScoreIndex, m_player[p].m_iMachineHighScoreIndex ); // TRICKY: Increment play count here, and not on ScreenGameplay like the others. PROFILEMAN->IncrementCategoryPlayCount( st, m_player[p].m_rc, p ); @@ -220,13 +220,13 @@ void StageStats::CommitScores( bool bSummary ) ASSERT( pCourse ); Trail* pTrail = GAMESTATE->m_pCurTrail[p]; - PROFILEMAN->AddCourseScore( pCourse, pTrail, p, hs, m_player[p].m_iPersonalHighScoreIndex, m_player[p].m_iMachineHighScoreIndex ); + PROFILEMAN->AddCourseScore( pCourse, pTrail, p, hs, m_player[p].m_iProfileHighScoreIndex, m_player[p].m_iMachineHighScoreIndex ); } else { ASSERT( pSteps ); - PROFILEMAN->AddStepsScore( pSong, pSteps, p, hs, m_player[p].m_iPersonalHighScoreIndex, m_player[p].m_iMachineHighScoreIndex ); + PROFILEMAN->AddStepsScore( pSong, pSteps, p, hs, m_player[p].m_iProfileHighScoreIndex, m_player[p].m_iMachineHighScoreIndex ); } }