clean up GRADE_ constant names to match GradeToString

This commit is contained in:
Chris Danford
2005-03-31 06:14:28 +00:00
parent d39fa29164
commit 8cac261c52
12 changed files with 63 additions and 61 deletions
+2 -2
View File
@@ -123,7 +123,7 @@ void SongUtil::SortSongPointerArrayByGrade( vector<Song*> &arraySongPointers )
CString foo;
foo.reserve(256);
for( int g=GRADE_TIER_01; g<=GRADE_NO_DATA; ++g )
for( int g=GRADE_TIER01; g<=GRADE_NO_DATA; ++g )
AppendOctal( iCounts[g], 3, foo );
vals.push_back( val(pSong, foo) );
}
@@ -261,7 +261,7 @@ CString SongUtil::GetSectionNameFromSongAndSort( const Song* pSong, SortOrder so
int iCounts[NUM_GRADES];
PROFILEMAN->GetMachineProfile()->GetGrades( pSong, GAMESTATE->GetCurrentStyle()->m_StepsType, iCounts );
for( int i=GRADE_TIER_01; i<NUM_GRADES; ++i )
for( int i=GRADE_TIER01; i<NUM_GRADES; ++i )
{
Grade g = (Grade)i;
if( iCounts[i] > 0 )