remove unused

This commit is contained in:
Glenn Maynard
2006-10-15 01:50:13 +00:00
parent 0833c198e3
commit c186d03028
2 changed files with 0 additions and 24 deletions
-14
View File
@@ -415,7 +415,6 @@ void BGAnimationLayer::LoadFromNode( const XNode* pNode )
pNode->GetAttrValue( "TexCoordVelocityX", m_fTexCoordVelocityX );
pNode->GetAttrValue( "TexCoordVelocityY", m_fTexCoordVelocityY );
pNode->GetAttrValue( "DrawCond", m_sDrawCond );
// compat:
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
* All rights reserved.