use FOREACH_ShownCourseDifficulty

This commit is contained in:
Glenn Maynard
2004-05-20 22:27:45 +00:00
parent bcf6792d47
commit 7c1600a1c1
4 changed files with 12 additions and 13 deletions
+3 -3
View File
@@ -721,7 +721,7 @@ bool PrintHighScoresForCourse( RageFile &f, const Profile *pProfile, Course* pCo
for( StepsType st=(StepsType)0; st<NUM_STEPS_TYPES; st=(StepsType)(st+1) )
{
FOREACH_CourseDifficulty( cd )
FOREACH_ShownCourseDifficulty( cd )
{
const HighScoreList &hsl = pProfile->GetCourseHighScoreList( pCourse, st, cd );
if( hsl.vHighScores.empty() )
@@ -843,7 +843,7 @@ bool PrintPercentCompleteForStepsType( RageFile &f, const Profile *pProfile, Ste
// table header row
TranslatedWrite(f, "<tr><td>&nbsp;</td>" );
FOREACH_CourseDifficulty( cd )
FOREACH_ShownCourseDifficulty( cd )
{
TranslatedWrite(f, ssprintf("<td>%s</td>", CourseDifficultyToThemedString(cd).c_str()) );
}
@@ -863,7 +863,7 @@ bool PrintPercentCompleteForStepsType( RageFile &f, const Profile *pProfile, Ste
TranslatedWrite(f, ssprintf("<p class='songtitle'>%s</p>", pCourse->m_sName.c_str()) );
TranslatedWrite(f, "</td>" );
FOREACH_CourseDifficulty( cd )
FOREACH_ShownCourseDifficulty( cd )
{
if( pCourse->HasCourseDifficulty(st,cd) )
{