remove BGAnimationLayer::Unload, BGAnimationLayer::Init
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user