From 81ddeacb73701c7f2d96daddadb353e5c25e207f Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Tue, 19 Jun 2007 18:26:18 +0000 Subject: [PATCH] remove unused --- stepmania/src/Background.cpp | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/stepmania/src/Background.cpp b/stepmania/src/Background.cpp index e58790d274..6dee7b4bf8 100644 --- a/stepmania/src/Background.cpp +++ b/stepmania/src/Background.cpp @@ -256,29 +256,6 @@ void BackgroundImpl::Layer::Unload() m_iCurBGChangeIndex = -1; } -Actor *MakeVisualization( const RString &sVisPath ) -{ - ActorFrame *pFrame = new ActorFrame; - pFrame->DeleteChildrenWhenDone(); - - const Song* pSong = GAMESTATE->m_pCurSong; - RString sSongBGPath = - (pSong && pSong->HasBackground()) ? pSong->GetBackgroundPath() : THEME->GetPathG("Common","fallback background"); - - Sprite* pSprite = new Sprite; - pSprite->Load( Sprite::SongBGTexture(sSongBGPath) ); - pSprite->StretchTo( FullScreenRectF ); - pFrame->AddChild( pSprite ); - - pSprite = new Sprite; - pSprite->Load( Sprite::SongBGTexture(sVisPath) ); - pSprite->StretchTo( FullScreenRectF ); - pSprite->SetBlendMode( BLEND_ADD ); - pFrame->AddChild( pSprite ); - - return pFrame; -} - bool BackgroundImpl::Layer::CreateBackground( const Song *pSong, const BackgroundDef &bd, Actor *pParent ) { ASSERT( m_BGAnimations.find(bd) == m_BGAnimations.end() );