[FadingBanner] Added BannerRoulette, BannerRandom, and Banner(Custom Item Name) commands.

This commit is contained in:
AJ Kelly
2011-04-22 05:09:47 -05:00
parent 55c5cb145b
commit dca2f976b2
5 changed files with 21 additions and 4 deletions
+7 -4
View File
@@ -1722,10 +1722,13 @@ void ScreenSelectMusic::AfterMusicChange()
m_sSampleMusicToPlay = m_sRandomMusicPath;
break;
case TYPE_CUSTOM:
bWantBanner = false; // we load it ourself, or should
m_Banner.Load( THEME->GetPathG( "Banner", GetMusicWheel()->GetCurWheelItemData( GetMusicWheel()->GetCurrentIndex() )->m_pAction->m_sName.c_str() ) );
if( SAMPLE_MUSIC_PREVIEW_MODE != SampleMusicPreviewMode_LastSong )
m_sSampleMusicToPlay = m_sSectionMusicPath;
{
bWantBanner = false; // we load it ourself
RString sBannerName = GetMusicWheel()->GetCurWheelItemData( GetMusicWheel()->GetCurrentIndex() )->m_pAction->m_sName.c_str();
m_Banner.LoadCustom(sBannerName);
if( SAMPLE_MUSIC_PREVIEW_MODE != SampleMusicPreviewMode_LastSong )
m_sSampleMusicToPlay = m_sSectionMusicPath;
}
break;
default:
ASSERT(0);