remove unused Background::LoadFromAniDir
This commit is contained in:
@@ -107,20 +107,6 @@ void Background::Unload()
|
|||||||
m_fLastMusicSeconds = -9999;
|
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 *Background::CreateSongBGA( CString sBGName ) const
|
||||||
{
|
{
|
||||||
BGAnimation *pTempBGA;
|
BGAnimation *pTempBGA;
|
||||||
|
|||||||
@@ -47,7 +47,6 @@ public:
|
|||||||
|
|
||||||
protected:
|
protected:
|
||||||
const Song *m_pSong;
|
const Song *m_pSong;
|
||||||
void LoadFromAniDir( CString sAniDir );
|
|
||||||
void LoadFromRandom( float fFirstBeat, float fLastBeat, const TimingData &timing );
|
void LoadFromRandom( float fFirstBeat, float fLastBeat, const TimingData &timing );
|
||||||
int FindBGSegmentForBeat( float fBeat ) const;
|
int FindBGSegmentForBeat( float fBeat ) const;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user