EffectMode

This commit is contained in:
Glenn Maynard
2007-03-20 07:43:47 +00:00
parent 068e663080
commit 5f2d10f620
2 changed files with 12 additions and 0 deletions
+2
View File
@@ -55,6 +55,7 @@ public:
void GetActiveTextureCoords(float fTexCoordsOut[8]) const;
void StretchTexCoords( float fX, float fY );
void AddImageCoords( float fX, float fY ); // in image pixel space
void SetEffectMode( EffectMode em ) { m_EffectMode = em; }
void SetTexCoordVelocity(float fVelX, float fVelY);
// Scale the Sprite maintaining the aspect ratio so that it fits
@@ -86,6 +87,7 @@ private:
int m_iCurState;
float m_fSecsIntoState; // number of seconds that have elapsed since we switched to this frame
EffectMode m_EffectMode;
bool m_bUsingCustomTexCoords;
bool m_bSkipNextUpdate;
float m_CustomTexCoords[8]; // (x,y) * 4: top left, bottom left, bottom right, top right