This commit is contained in:
Glenn Maynard
2002-12-17 05:22:32 +00:00
parent ec46b2594c
commit 9ea5138366
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -403,12 +403,12 @@ RageColor SongManager::GetGroupColor( const CString &sGroupName )
return g_GroupColors[i%NUM_GROUP_COLORS];
}
RageColor SongManager::GetSongColor( Song* pSong )
RageColor SongManager::GetSongColor( const Song* pSong )
{
ASSERT( pSong );
for( unsigned i=0; i<pSong->m_apNotes.size(); i++ )
{
Notes* pNotes = pSong->m_apNotes[i];
const Notes* pNotes = pSong->m_apNotes[i];
if( pNotes->m_iMeter == 10 )
return EXTRA_COLOR;
}
+1 -1
View File
@@ -39,7 +39,7 @@ public:
CString GetGroupBannerPath( CString sGroupName );
void GetGroupNames( CStringArray &AddTo );
RageColor GetGroupColor( const CString &sGroupName );
RageColor GetSongColor( Song* pSong );
RageColor GetSongColor( const Song* pSong );
static CString ShortenGroupName( const CString &sOrigGroupName );