better FillProfile for debugging
This commit is contained in:
@@ -644,10 +644,15 @@ static HighScore MakeRandomHighScore( float fPercentDP )
|
||||
|
||||
static void FillProfileStats( Profile *pProfile )
|
||||
{
|
||||
pProfile->InitSongScores();
|
||||
pProfile->InitCourseScores();
|
||||
|
||||
static int s_iCount = 0;
|
||||
// Choose a percent for all scores. This is useful for testing unlocks
|
||||
// where some elements are unlocked at a certain percent complete
|
||||
float fPercentDP = randomf( 0.6f, 1.2f );
|
||||
CLAMP( fPercentDP, 0.0f, 1.0f );
|
||||
float fPercentDP = s_iCount ? randomf( 0.6f, 1.0f ) : 1.0f;
|
||||
s_iCount = (s_iCount+1)%2;
|
||||
|
||||
|
||||
int iCount = pProfile->IsMachine()?
|
||||
PREFSMAN->m_iMaxHighScoresPerListForMachine.Get():
|
||||
|
||||
Reference in New Issue
Block a user