#include <sio2_object.h>

Public Attributes | |
| unsigned char | loop |
| Where or not the current animation should loop. | |
| unsigned char | next_action |
| Determine whether or not we are interpolating between 2 actions. | |
| float | t_ratio |
| The time ratio between each frame. | |
| float | d_time |
| The current delta time of the animation. | |
| float | interp |
| The interpolation value between the 2 frames. | |
| float | fps |
| The number of FPS that the animation should run. | |
| SIO2action * | _SIO2action |
| The current SIO2action associated to the SIO2objectanimation. | |
| SIO2frame * | _SIO2frame1 |
| The current SIO2frame pointer. | |
| SIO2frame * | _SIO2frame2 |
| The next SIO2frame pointer. | |
| unsigned int | curr_frame |
| The current frame index. | |
| unsigned int | next_frame |
| The next frame index. | |
| unsigned char | state |
| The current state of the animation. | |
| unsigned char SIO2objectanimation::loop |
Where or not the current animation should loop.
Referenced by sio2ObjectPlay(), and sio2ObjectRenderAction().
| unsigned char SIO2objectanimation::next_action |
Determine whether or not we are interpolating between 2 actions.
Referenced by sio2ObjectNextAction(), and sio2ObjectRenderAction().
The time ratio between each frame.
Referenced by sio2ObjectNextAction(), sio2ObjectRenderAction(), and sio2ObjectUpdateTimeRatio().
The current delta time of the animation.
Referenced by sio2ObjectNextAction(), sio2ObjectRenderAction(), sio2ObjectStop(), and sio2ObjectUpdateTimeRatio().
The interpolation value between the 2 frames.
Referenced by sio2ObjectNextAction(), sio2ObjectRenderAction(), and sio2ObjectSetAction().
| float SIO2objectanimation::fps |
The number of FPS that the animation should run.
Referenced by sio2ObjectNextAction(), sio2ObjectSetAction(), and sio2ObjectUpdateTimeRatio().
The current SIO2action associated to the SIO2objectanimation.
Referenced by sio2ObjectNextAction(), sio2ObjectPlay(), sio2ObjectRender(), sio2ObjectRenderAction(), sio2ObjectSetAction(), sio2ObjectSetFrame(), and sio2ObjectStop().
The current SIO2frame pointer.
Referenced by sio2ObjectNextAction(), sio2ObjectRenderAction(), sio2ObjectSetAction(), sio2ObjectStop(), and sio2ObjectUpdateTimeRatio().
The next SIO2frame pointer.
Referenced by sio2ObjectNextAction(), sio2ObjectRenderAction(), sio2ObjectSetAction(), sio2ObjectStop(), and sio2ObjectUpdateTimeRatio().
| unsigned int SIO2objectanimation::curr_frame |
The current frame index.
Referenced by sio2ObjectRenderAction(), sio2ObjectSetAction(), sio2ObjectSetFrame(), and sio2ObjectStop().
| unsigned int SIO2objectanimation::next_frame |
The next frame index.
Referenced by sio2ObjectNextAction(), sio2ObjectRenderAction(), sio2ObjectSetAction(), sio2ObjectSetFrame(), and sio2ObjectStop().
| unsigned char SIO2objectanimation::state |
The current state of the animation.
Can be one of the following values:
SIO2_PLAY
SIO2_PAUSE
SIO2_STOP
Referenced by sio2ObjectPause(), sio2ObjectPlay(), sio2ObjectRenderAction(), and sio2ObjectStop().
1.5.6