rename
This commit is contained in:
@@ -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 );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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 );
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user