From e42236713da29692a9794e3dcd77e5c000f3601a Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sun, 26 Dec 2004 20:16:46 +0000 Subject: [PATCH] remove unused Background::LoadFromAniDir --- stepmania/src/Background.cpp | 14 -------------- stepmania/src/Background.h | 1 - 2 files changed, 15 deletions(-) diff --git a/stepmania/src/Background.cpp b/stepmania/src/Background.cpp index d1ab3c6ff1..1f74ad1077 100644 --- a/stepmania/src/Background.cpp +++ b/stepmania/src/Background.cpp @@ -107,20 +107,6 @@ void Background::Unload() m_fLastMusicSeconds = -9999; } -void Background::LoadFromAniDir( CString sAniDir ) -{ - Unload(); - - if( PREFSMAN->m_fBGBrightness == 0.0f ) - return; - - BGAnimation* pTempBGA; - pTempBGA = new BGAnimation; - pTempBGA->LoadFromAniDir( sAniDir ); - m_BGAnimations[STATIC_BACKGROUND] = pTempBGA; - m_aBGChanges.push_back( BackgroundChange(-1000, STATIC_BACKGROUND) ); -} - BGAnimation *Background::CreateSongBGA( CString sBGName ) const { BGAnimation *pTempBGA; diff --git a/stepmania/src/Background.h b/stepmania/src/Background.h index 7e226789ff..a2c586ce45 100644 --- a/stepmania/src/Background.h +++ b/stepmania/src/Background.h @@ -47,7 +47,6 @@ public: protected: const Song *m_pSong; - void LoadFromAniDir( CString sAniDir ); void LoadFromRandom( float fFirstBeat, float fLastBeat, const TimingData &timing ); int FindBGSegmentForBeat( float fBeat ) const;