remove File=(songbackground|songbanner|coursebanner) hack

fix compile
This commit is contained in:
Chris Danford
2005-07-26 20:50:45 +00:00
parent 7cfcce6e7d
commit 67af38cd97
2 changed files with 0 additions and 14 deletions
-13
View File
@@ -186,18 +186,6 @@ Actor* ActorUtil::LoadFromActorFile( const CString& sDir, const XNode* pNode )
CString sText;
bool bHasText = pNode->GetAttrValue( "Text", sText );
//
// backward compatibility hacks
//
if( bHasText && !bHasClass )
sClass = "BitmapText";
else if( sFile.CompareNoCase("songbackground") == 0 )
sClass = "SongBackground";
else if( sFile.CompareNoCase("songbanner") == 0 )
sClass = "SongBanner";
else if( sFile.CompareNoCase("coursebanner") == 0 )
sClass = "CourseBanner";
Actor *pReturn = NULL;
if( IsRegistered(sClass) )
@@ -350,7 +338,6 @@ Actor* ActorUtil::MakeActor( const RageTextureID &ID )
}
case FT_Bitmap:
case FT_Movie:
case FT_Sprite:
{
Sprite* pSprite = new Sprite;
pSprite->Load( ID );
-1
View File
@@ -364,7 +364,6 @@ bool BackgroundImpl::Layer::CreateBackground( const Song *pSong, const Backgroun
default:
ASSERT(0); // fall through
case FT_Bitmap:
case FT_Sprite:
case FT_Movie:
sEffect = SBE_StretchNormal;
break;