add TexOffsetX, TexOffsetY
This commit is contained in:
@@ -17,6 +17,8 @@ AnimatedTexture::AnimatedTexture()
|
||||
m_bSphereMapped = false;
|
||||
m_fTexVelocityX = 0;
|
||||
m_fTexVelocityY = 0;
|
||||
m_fTexOffsetX = 0;
|
||||
m_fTexOffsetY = 0;
|
||||
m_BlendMode = BLEND_NORMAL;
|
||||
}
|
||||
|
||||
@@ -47,6 +49,8 @@ void AnimatedTexture::Load( CString sTexOrIniPath )
|
||||
|
||||
pAnimatedTexture->GetAttrValue( "TexVelocityX", m_fTexVelocityX );
|
||||
pAnimatedTexture->GetAttrValue( "TexVelocityY", m_fTexVelocityY );
|
||||
pAnimatedTexture->GetAttrValue( "TexOffsetX", m_fTexOffsetX );
|
||||
pAnimatedTexture->GetAttrValue( "TexOffsetY", m_fTexOffsetY );
|
||||
|
||||
for( int i=0; i<1000; i++ )
|
||||
{
|
||||
|
||||
@@ -53,6 +53,8 @@ public:
|
||||
float GetSecondsIntoAnimation() const;
|
||||
|
||||
bool m_bSphereMapped;
|
||||
float m_fTexOffsetX;
|
||||
float m_fTexOffsetY;
|
||||
float m_fTexVelocityX;
|
||||
float m_fTexVelocityY;
|
||||
BlendMode m_BlendMode;
|
||||
|
||||
Reference in New Issue
Block a user