remove File=(songbackground|songbanner|coursebanner) hack
fix compile
This commit is contained in:
@@ -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 );
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user