Added separate banner for RANDOM. We need an artist to replace this graphic with something better...

This commit is contained in:
Chris Danford
2003-03-13 23:45:52 +00:00
parent 0b4d04d4af
commit 8fbbda9e79
6 changed files with 17 additions and 0 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 14 KiB

+8
View File
@@ -111,3 +111,11 @@ void Banner::LoadRoulette()
Load( ID );
m_bScrolling = true;
}
void Banner::LoadRandom()
{
RageTextureID ID(THEME->GetPathTo("Graphics","Banner random"));
ID.iMipMaps = 0;
Load( ID );
m_bScrolling = true;
}
+1
View File
@@ -31,6 +31,7 @@ public:
void LoadFromGroup( CString sGroupName );
void LoadFromCourse( Course* pCourse );
void LoadRoulette();
void LoadRandom();
void LoadFallback();
void SetScrolling( bool bScroll, float Percent = 0);
+8
View File
@@ -926,6 +926,14 @@ void ScreenSelectMusic::AfterMusicChange()
m_BPMDisplay.SetBPMRange( 0, 0 );
m_sprCDTitle.UnloadTexture();
break;
case TYPE_RANDOM:
if(!no_banner_change)
m_Banner.LoadRandom();
m_BPMDisplay.SetBPMRange( 0, 0 );
m_sprCDTitle.UnloadTexture();
break;
default:
ASSERT(0);
}
for( int p=0; p<NUM_PLAYERS; p++ )