#include <FrameAnimation.h>
Inheritance diagram for CFrameAnimation< TAnimation >:

Public Member Functions | |
| virtual int | Create (UINT uiFrameCount, UINT uiDataCount) |
| TAnimation * | GetFrame (UINT uiFrameIndex) |
| void | SetLooping (bool bLooping) |
| bool | GetLooping () |
| void | SetLoopCount (UINT uiLoopCount) |
| UINT | GetFrameCount () |
| UINT | GetLoopCount () |
| UINT | GetLoop () |
| TAnimation * | GetCurrentFrame () |
| UINT | GetFrameIndex () |
| virtual void | SetFrameTime (double fTime) |
| virtual int | Animate (double fTimePerFrame=-1) |
| virtual int | Pause (double fPauseTime=INFINITE) |
| virtual int | Resume (double fTimeToWait=0) |
| virtual int | Stop () |
| virtual int | LoadXML (TiXmlNode *pDataNode, CString strFilename) |
| virtual int | SaveXML (TiXmlNode *pDataNode, CString strFilename) |
| virtual void | Destroy () |
| virtual bool | IsOfType (eEntityType eType) |
Protected Attributes | |
| UINT * | m_uipDataIndex |
| UINT | m_uiFrameCount |
| UINT | m_uiLoopsCount |
| UINT | m_uiCurrentLoop |
| UINT | m_uiCurrentFrame |
| double | m_fLastTime |
| bool | m_bLoop |
| TAnimation ** | m_pAnimationData |
| UINT | m_uiDataCount |
| bool | m_bAnimationComplete |
| bool | m_bPaused |
| CTimer | m_Timer |
This class provides an templated interface for the frame animation.
Definition at line 12 of file FrameAnimation.h.
|
||||||||||
|
Method details:
Reimplemented from CAnimation.
Reimplemented in CTextureFrameAnimation. Definition at line 154 of file FrameAnimation.h. |
|
||||||||||||||||
|
Method details:
Reimplemented in CTextureFrameAnimation. Definition at line 43 of file FrameAnimation.h. Referenced by CTextureFrameAnimation::Create(). |
|
|||||||||
|
Method details: Clean-up method Reimplemented from CAnimation.
Reimplemented in CTextureFrameAnimation. Definition at line 241 of file FrameAnimation.h. Referenced by CTextureFrameAnimation::Destroy(). |
|
|||||||||
|
Method details:
Referenced by CGUIButton::Draw(). |
|
||||||||||
|
Method details:
Referenced by CFrameAnimation< tRect >::GetCurrentFrame(). |
|
|||||||||
|
Method details:
|
|
|||||||||
|
Method details:
|
|
|||||||||
|
Method details:
|
|
|||||||||
|
Method details:
|
|
|||||||||
|
Method details:
|
|
||||||||||
|
Method details: This is an implementation of Custom RTTI Reimplemented from CAnimation.
Reimplemented in CTextureFrameAnimation. Definition at line 249 of file FrameAnimation.h. Referenced by CTextureFrameAnimation::IsOfType(). |
|
||||||||||||||||
|
Method details:
Reimplemented from CAnimation.
Reimplemented in CTextureFrameAnimation. Definition at line 227 of file FrameAnimation.h. Referenced by CTextureFrameAnimation::LoadXML(). |
|
||||||||||
|
Method details:
Reimplemented from CAnimation.
Reimplemented in CTextureFrameAnimation. Definition at line 196 of file FrameAnimation.h. |
|
||||||||||
|
Method details:
Reimplemented from CAnimation.
Reimplemented in CTextureFrameAnimation. Definition at line 206 of file FrameAnimation.h. |
|
||||||||||||||||
|
Method details:
Reimplemented from CAnimation.
Reimplemented in CTextureFrameAnimation. Definition at line 236 of file FrameAnimation.h. |
|
||||||||||
|
Method details:
|
|
||||||||||
|
Method details:
|
|
||||||||||
|
Method details:
|
|
|||||||||
|
Method details:
Reimplemented from CAnimation.
Reimplemented in CTextureFrameAnimation. Definition at line 215 of file FrameAnimation.h. |
|
|||||
|
This is a variable that indicates whether an animation has been completed. Definition at line 269 of file FrameAnimation.h. |
|
|||||
|
This variable stores the boolean value that determines if it has to loop thru the animation. Definition at line 266 of file FrameAnimation.h. |
|
|||||
|
The animation is paused when it is set to true Definition at line 270 of file FrameAnimation.h. |
|
|||||
|
The last time the animation has been called successfully. Definition at line 264 of file FrameAnimation.h. |
|
|||||
|
These variables (n) store the data pointers used in each frame Definition at line 267 of file FrameAnimation.h. |
|
|||||
|
A local timer Definition at line 272 of file FrameAnimation.h. |
|
|||||
|
Current frame value for the animation. Definition at line 263 of file FrameAnimation.h. |
|
|||||
|
Current loop index. Definition at line 262 of file FrameAnimation.h. |
|
|||||
|
This variable stores a number of data entries from m_piDataIndices Definition at line 268 of file FrameAnimation.h. |
|
|||||
|
Number of frames in this animation. Definition at line 260 of file FrameAnimation.h. |
|
|||||
|
Number of loops this animation has to run thru. Definition at line 261 of file FrameAnimation.h. |
|
|||||
|
A list of data indices for each frame Definition at line 259 of file FrameAnimation.h. |
1.3.8