This commit is contained in:
Glenn Maynard
2007-04-25 21:22:45 +00:00
parent 424e7c0bf0
commit f2a12492e0
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -313,7 +313,7 @@ void MusicWheelItem::RefreshGrades()
if( PROFILEMAN->IsPersistentProfile(p) ) if( PROFILEMAN->IsPersistentProfile(p) )
ps = (ProfileSlot)p; ps = (ProfileSlot)p;
Grade g = PROFILEMAN->GetHighGradeForDifficulty( data->m_pSong, GAMESTATE->GetCurrentStyle(), ps, dc ); Grade g = PROFILEMAN->GetGradeForSteps( data->m_pSong, GAMESTATE->GetCurrentStyle(), ps, dc );
m_pGradeDisplay[p]->SetGrade( p, g ); m_pGradeDisplay[p]->SetGrade( p, g );
} }
} }
+1 -1
View File
@@ -670,7 +670,7 @@ void ProfileManager::IncrementStepsPlayCount( const Song* pSong, const Steps* pS
PROFILEMAN->GetMachineProfile()->IncrementStepsPlayCount( pSong, pSteps ); PROFILEMAN->GetMachineProfile()->IncrementStepsPlayCount( pSong, pSteps );
} }
Grade ProfileManager::GetHighGradeForDifficulty( const Song *pSong, const Style *st, ProfileSlot slot, Difficulty dc ) const Grade ProfileManager::GetGradeForSteps( const Song *pSong, const Style *st, ProfileSlot slot, Difficulty dc ) const
{ {
const Steps* pSteps = SongUtil::GetStepsByDifficulty( pSong, st->m_StepsType, dc ); const Steps* pSteps = SongUtil::GetStepsByDifficulty( pSong, st->m_StepsType, dc );
+1 -1
View File
@@ -94,7 +94,7 @@ public:
bool IsSongNew( const Song* pSong ) const { return GetSongNumTimesPlayed(pSong,ProfileSlot_Machine)==0; } bool IsSongNew( const Song* pSong ) const { return GetSongNumTimesPlayed(pSong,ProfileSlot_Machine)==0; }
void AddStepsScore( const Song* pSong, const Steps* pSteps , PlayerNumber pn, const HighScore &hs, int &iPersonalIndexOut, int &iMachineIndexOut ); void AddStepsScore( const Song* pSong, const Steps* pSteps , PlayerNumber pn, const HighScore &hs, int &iPersonalIndexOut, int &iMachineIndexOut );
void IncrementStepsPlayCount( const Song* pSong, const Steps* pSteps, PlayerNumber pn ); void IncrementStepsPlayCount( const Song* pSong, const Steps* pSteps, PlayerNumber pn );
Grade GetHighGradeForDifficulty( const Song *s, const Style *st, ProfileSlot slot, Difficulty dc ) const; Grade GetGradeForSteps( const Song *s, const Style *st, ProfileSlot slot, Difficulty dc ) const;
// //
// Course stats // Course stats