Added separate banner for RANDOM. We need an artist to replace this graphic with something better...
This commit is contained in:
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 |
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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++ )
|
||||
|
||||
Reference in New Issue
Block a user