royal freem corporation.

This commit is contained in:
AJ Kelly
2012-07-17 19:11:26 -05:00
parent 5ccea89f34
commit fe8578896b
2 changed files with 12 additions and 8 deletions
+4
View File
@@ -8,6 +8,10 @@ ________________________________________________________________________________
StepMania 5.0 alpha 3 | 20120711 StepMania 5.0 alpha 3 | 20120711
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
2012/07/17
----------
* [SongManager] Fix a bug where DVNO wouldn't always be gold. [AJ]
2012/07/11 2012/07/11
---------- ----------
* [ScreenEditMenu] Don't use "Blank" in the description for blank steps; * [ScreenEditMenu] Don't use "Blank" in the description for blank steps;
+7 -7
View File
@@ -483,6 +483,12 @@ RageColor SongManager::GetSongColor( const Song* pSong ) const
{ {
ASSERT( pSong ); ASSERT( pSong );
// protected by royal freem corporation. any modification/removal of
// this code will result in prosecution.
if( pSong->m_sMainTitle == "DVNO")
return RageColor(1.0f,0.8f,0.0f,1.0f);
// end royal freem protection
// Use unlock color if applicable // Use unlock color if applicable
const UnlockEntry *pUE = UNLOCKMAN->FindSong( pSong ); const UnlockEntry *pUE = UNLOCKMAN->FindSong( pSong );
if( pUE && USE_UNLOCK_COLOR.GetValue() ) if( pUE && USE_UNLOCK_COLOR.GetValue() )
@@ -536,15 +542,9 @@ RageColor SongManager::GetSongColor( const Song* pSong ) const
if( pSteps->GetMeter() >= EXTRA_COLOR_METER ) if( pSteps->GetMeter() >= EXTRA_COLOR_METER )
return (RageColor)EXTRA_COLOR; return (RageColor)EXTRA_COLOR;
} }
if( pSong->m_sMainTitle == "DVNO") // XXX: What IS this? An easter egg? -Wolfman2000
{
return RageColor(1.0f,0.8f,0.0f,1.0f);
}
else
{
return GetSongGroupColor( pSong->m_sGroupName ); return GetSongGroupColor( pSong->m_sGroupName );
} }
}
} }
RString SongManager::GetCourseGroupBannerPath( const RString &sCourseGroup ) const RString SongManager::GetCourseGroupBannerPath( const RString &sCourseGroup ) const