From 67af38cd97df758a05896b110547e5387f060e02 Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Tue, 26 Jul 2005 20:50:45 +0000 Subject: [PATCH] remove File=(songbackground|songbanner|coursebanner) hack fix compile --- stepmania/src/ActorUtil.cpp | 13 ------------- stepmania/src/Background.cpp | 1 - 2 files changed, 14 deletions(-) diff --git a/stepmania/src/ActorUtil.cpp b/stepmania/src/ActorUtil.cpp index d656496512..57aa679340 100644 --- a/stepmania/src/ActorUtil.cpp +++ b/stepmania/src/ActorUtil.cpp @@ -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 ); diff --git a/stepmania/src/Background.cpp b/stepmania/src/Background.cpp index fb1c7f4a35..78ca0cd311 100644 --- a/stepmania/src/Background.cpp +++ b/stepmania/src/Background.cpp @@ -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;