remove unused
This commit is contained in:
@@ -415,7 +415,6 @@ void BGAnimationLayer::LoadFromNode( const XNode* pNode )
|
|||||||
|
|
||||||
pNode->GetAttrValue( "TexCoordVelocityX", m_fTexCoordVelocityX );
|
pNode->GetAttrValue( "TexCoordVelocityX", m_fTexCoordVelocityX );
|
||||||
pNode->GetAttrValue( "TexCoordVelocityY", m_fTexCoordVelocityY );
|
pNode->GetAttrValue( "TexCoordVelocityY", m_fTexCoordVelocityY );
|
||||||
pNode->GetAttrValue( "DrawCond", m_sDrawCond );
|
|
||||||
|
|
||||||
// compat:
|
// compat:
|
||||||
pNode->GetAttrValue( "StretchTexCoordVelocityX", m_fTexCoordVelocityX );
|
pNode->GetAttrValue( "StretchTexCoordVelocityX", m_fTexCoordVelocityX );
|
||||||
@@ -636,19 +635,6 @@ void BGAnimationLayer::UpdateInternal( float fDeltaTime )
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bool BGAnimationLayer::EarlyAbortDraw() const
|
|
||||||
{
|
|
||||||
if( m_sDrawCond.empty() )
|
|
||||||
return false;
|
|
||||||
|
|
||||||
// TODO: Is it ok to evaluate this every frame?
|
|
||||||
if( !LuaHelpers::RunExpressionB(m_sDrawCond) )
|
|
||||||
return true;
|
|
||||||
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* (c) 2001-2004 Ben Nordstrom, Chris Danford, Glenn Maynard
|
* (c) 2001-2004 Ben Nordstrom, Chris Danford, Glenn Maynard
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
|
|||||||
@@ -19,7 +19,6 @@ public:
|
|||||||
void LoadFromNode( const XNode* pNode );
|
void LoadFromNode( const XNode* pNode );
|
||||||
|
|
||||||
void UpdateInternal( float fDeltaTime );
|
void UpdateInternal( float fDeltaTime );
|
||||||
bool EarlyAbortDraw() const;
|
|
||||||
|
|
||||||
float GetMaxTweenTimeLeft() const;
|
float GetMaxTweenTimeLeft() const;
|
||||||
|
|
||||||
@@ -34,15 +33,6 @@ protected:
|
|||||||
NUM_TYPES,
|
NUM_TYPES,
|
||||||
} m_Type;
|
} m_Type;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//
|
|
||||||
// loaded prefs
|
|
||||||
//
|
|
||||||
|
|
||||||
// common stuff
|
|
||||||
RString m_sDrawCond;
|
|
||||||
|
|
||||||
// stretch stuff
|
// stretch stuff
|
||||||
float m_fTexCoordVelocityX;
|
float m_fTexCoordVelocityX;
|
||||||
float m_fTexCoordVelocityY;
|
float m_fTexCoordVelocityY;
|
||||||
|
|||||||
Reference in New Issue
Block a user