Cleanup of theme element names

Renamed ScreenSelectMax* back to their old names
Replaced all hard-coded transitions with TransitionBGAnimations
This commit is contained in:
Chris Danford
2003-03-09 00:55:49 +00:00
parent 86b0b1e7d7
commit 31aa613295
207 changed files with 1529 additions and 2246 deletions
+10 -12
View File
@@ -76,24 +76,22 @@ void Banner::LoadFromSong( Song* pSong ) // NULL means no song
m_bScrolling = false;
}
void Banner::LoadAllMusic()
{
Load( THEME->GetPathTo("Graphics","Banner all") );
m_bScrolling = false;
}
void Banner::LoadFromGroup( CString sGroupName )
{
CString sGroupBannerPath = SONGMAN->GetGroupBannerPath( sGroupName );
if( sGroupName == GROUP_ALL_MUSIC )
Load( THEME->GetPathTo("Graphics","all music banner") );
else if( sGroupBannerPath != "" )
Load( sGroupBannerPath );
else
LoadFallback();
if( sGroupBannerPath != "" ) Load( sGroupBannerPath );
else LoadFallback();
m_bScrolling = false;
}
void Banner::LoadFromCourse( Course* pCourse ) // NULL means no course
{
Sprite::EnableShadow( false );
if( pCourse == NULL ) LoadFallback();
else if( pCourse->m_sBannerPath != "" ) Load( pCourse->m_sBannerPath );
else LoadFallback();
@@ -103,12 +101,12 @@ void Banner::LoadFromCourse( Course* pCourse ) // NULL means no course
void Banner::LoadFallback()
{
Load( THEME->GetPathTo("Graphics","fallback banner") );
Load( THEME->GetPathTo("Graphics","Banner fallback") );
}
void Banner::LoadRoulette()
{
RageTextureID ID(THEME->GetPathTo("Graphics","select music roulette banner"));
RageTextureID ID(THEME->GetPathTo("Graphics","Banner roulette"));
ID.iMipMaps = 0;
Load( ID );
m_bScrolling = true;