remove BGAnimationLayer::Unload, BGAnimationLayer::Init

This commit is contained in:
Glenn Maynard
2005-11-29 17:23:04 +00:00
parent 207987ec45
commit 348a3fb4e0
2 changed files with 5 additions and 19 deletions
+5 -17
View File
@@ -26,23 +26,6 @@ const float SPIRAL_MIN_ZOOM = 0.3f;
BGAnimationLayer::BGAnimationLayer()
{
Init();
}
BGAnimationLayer::~BGAnimationLayer()
{
Unload();
}
void BGAnimationLayer::Unload()
{
ActorFrame::DeleteAllChildren();
}
void BGAnimationLayer::Init()
{
Unload();
m_fUpdateRate = 1;
m_fFOV = -1; // no change
m_bLighting = false;
@@ -64,6 +47,11 @@ void BGAnimationLayer::Init()
m_fTileVelocityY = 0;
}
BGAnimationLayer::~BGAnimationLayer()
{
ActorFrame::DeleteAllChildren();
}
void BGAnimationLayer::LoadFromAniLayerFile( const CString& sPath )
{
/* Generic BGAs are new. Animation directories with no INI are old and obsolete.