Animation (Pointer) Module. Allows to creates and handle Animation Set Pointers. It consists of a structure containing pointers and counters referenced to an Animation Set. It also contains functions for handling and accessing animations of the referenced Animation Set. Animation Pointers are structures. They thus can be referenced by Graphics.
Creates an empty AnimPointer
- Parameters
-
[in] | _pstAnimSet | AnimSet reference |
- Returns
- orxANIMPOINTER / orxNULL
Creates an animation pointer from config
- Parameters
-
- Returns
- orxANIMPOINTER / orxNULL
Deletes an AnimPointer
- Parameters
-
[in] | _pstAnimPointer | AnimPointer to delete |
- Returns
- orxSTATUS_SUCCESS / orxSTATUS_FAILURE
Exits from the AnimPointer module
Gets the referenced AnimSet
- Parameters
-
[in] | _pstAnimPointer | Concerned AnimPointer |
- Returns
- Referenced orxANIMSET
AnimPointer current Animation get accessor
- Parameters
-
[in] | _pstAnimPointer | Concerned AnimPointer |
- Returns
- Current Animation ID
AnimPointer current anim data get accessor
- Parameters
-
[in] | _pstAnimPointer | Concerned AnimPointer |
- Returns
- Current anim data / orxNULL
AnimPointer current Animation name get accessor
- Parameters
-
[in] | _pstAnimPointer | Concerned AnimPointer |
- Returns
- Current Animation name / orxSTRING_EMPTY
AnimPointer frequency get accessor
- Parameters
-
[in] | _pstAnimPointer | Concerned AnimPointer |
- Returns
- AnimPointer frequency
AnimPointer target Animation get accessor
- Parameters
-
[in] | _pstAnimPointer | Concerned AnimPointer |
- Returns
- Target Animation ID
AnimPointer target Animation ID get accessor
- Parameters
-
[in] | _pstAnimPointer | Concerned AnimPointer |
- Returns
- Target Animation name / orxSTRING_EMPTY
AnimPointer time get accessor
- Parameters
-
[in] | _pstAnimPointer | Concerned AnimPointer |
- Returns
- Current time
Inits the AnimPointer module
- Returns
- orxSTATUS_SUCCESS / orxSTATUS_FAILURE
AnimPointer pause accessor
- Parameters
-
[in] | _pstAnimPointer | Concerned AnimPointer |
[in] | _bPause | Pause / Unpause |
- Returns
- orxSTATUS_SUCCESS / orxSTATUS_FAILURE
AnimPointer current Animation set accessor
- Parameters
-
[in] | _pstAnimPointer | Concerned AnimPointer |
[in] | _u32AnimID | Animation ID to set |
- Returns
- orxSTATUS_SUCCESS / orxSTATUS_FAILURE
AnimPointer current Animation set accessor using name
- Parameters
-
[in] | _pstAnimPointer | Concerned AnimPointer |
[in] | _zAnimName | Animation name (config's name) to set |
- Returns
- orxSTATUS_SUCCESS / orxSTATUS_FAILURE
AnimPointer frequency set accessor
- Parameters
-
[in] | _pstAnimPointer | Concerned AnimPointer |
[in] | _fFrequency | Frequency to set |
- Returns
- orxSTATUS_SUCCESS / orxSTATUS_FAILURE
AnimPointer target Animation set accessor
- Parameters
-
[in] | _pstAnimPointer | Concerned AnimPointer |
[in] | _u32AnimID | Animation ID to set / orxU32_UNDEFINED |
- Returns
- orxSTATUS_SUCCESS / orxSTATUS_FAILURE
AnimPointer target Animation set accessor using name
- Parameters
-
[in] | _pstAnimPointer | Concerned AnimPointer |
[in] | _zAnimName | Animation name (config's name) to set / orxNULL |
- Returns
- orxSTATUS_SUCCESS / orxSTATUS_FAILURE
AnimPointer current time set accessor
- Parameters
-
[in] | _pstAnimPointer | Concerned AnimPointer |
[in] | _fTime | Time to set |
- Returns
- orxSTATUS_SUCCESS / orxSTATUS_FAILURE