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.
◆ orxANIMPOINTER
◆ orxAnimPointer_Create()
Creates an empty AnimPointer
- Parameters
-
[in] | _pstAnimSet | AnimSet reference |
- Returns
- orxANIMPOINTER / orxNULL
◆ orxAnimPointer_CreateFromConfig()
Creates an animation pointer from config
- Parameters
-
- Returns
- orxANIMPOINTER / orxNULL
◆ orxAnimPointer_Delete()
Deletes an AnimPointer
- Parameters
-
[in] | _pstAnimPointer | AnimPointer to delete |
- Returns
- orxSTATUS_SUCCESS / orxSTATUS_FAILURE
◆ orxAnimPointer_Exit()
orxDLLAPI void orxFASTCALL orxAnimPointer_Exit |
( |
| ) |
|
|
extern |
Exits from the AnimPointer module
◆ orxAnimPointer_GetAnimSet()
Gets the referenced AnimSet
- Parameters
-
[in] | _pstAnimPointer | Concerned AnimPointer |
- Returns
- Referenced orxANIMSET
◆ orxAnimPointer_GetCurrentAnim()
AnimPointer current Animation get accessor
- Parameters
-
[in] | _pstAnimPointer | Concerned AnimPointer |
- Returns
- Current Animation ID
◆ orxAnimPointer_GetCurrentAnimData()
AnimPointer current anim data get accessor
- Parameters
-
[in] | _pstAnimPointer | Concerned AnimPointer |
- Returns
- Current anim data / orxNULL
◆ orxAnimPointer_GetCurrentAnimName()
AnimPointer current Animation name get accessor
- Parameters
-
[in] | _pstAnimPointer | Concerned AnimPointer |
- Returns
- Current Animation name / orxSTRING_EMPTY
◆ orxAnimPointer_GetFrequency()
AnimPointer frequency get accessor
- Parameters
-
[in] | _pstAnimPointer | Concerned AnimPointer |
- Returns
- AnimPointer frequency
◆ orxAnimPointer_GetTargetAnim()
AnimPointer target Animation get accessor
- Parameters
-
[in] | _pstAnimPointer | Concerned AnimPointer |
- Returns
- Target Animation ID
◆ orxAnimPointer_GetTargetAnimName()
AnimPointer target Animation ID get accessor
- Parameters
-
[in] | _pstAnimPointer | Concerned AnimPointer |
- Returns
- Target Animation name / orxSTRING_EMPTY
◆ orxAnimPointer_GetTime()
AnimPointer time get accessor
- Parameters
-
[in] | _pstAnimPointer | Concerned AnimPointer |
- Returns
- Current time
◆ orxAnimPointer_Init()
Inits the AnimPointer module
- Returns
- orxSTATUS_SUCCESS / orxSTATUS_FAILURE
◆ orxAnimPointer_Pause()
AnimPointer pause accessor
- Parameters
-
[in] | _pstAnimPointer | Concerned AnimPointer |
[in] | _bPause | Pause / Unpause |
- Returns
- orxSTATUS_SUCCESS / orxSTATUS_FAILURE
◆ orxAnimPointer_SetCurrentAnim()
AnimPointer current Animation set accessor
- Parameters
-
[in] | _pstAnimPointer | Concerned AnimPointer |
[in] | _u32AnimID | Animation ID to set |
- Returns
- orxSTATUS_SUCCESS / orxSTATUS_FAILURE
◆ orxAnimPointer_SetCurrentAnimFromName()
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
◆ orxAnimPointer_SetFrequency()
AnimPointer frequency set accessor
- Parameters
-
[in] | _pstAnimPointer | Concerned AnimPointer |
[in] | _fFrequency | Frequency to set |
- Returns
- orxSTATUS_SUCCESS / orxSTATUS_FAILURE
◆ orxAnimPointer_SetTargetAnim()
AnimPointer target Animation set accessor
- Parameters
-
[in] | _pstAnimPointer | Concerned AnimPointer |
[in] | _u32AnimID | Animation ID to set / orxU32_UNDEFINED |
- Returns
- orxSTATUS_SUCCESS / orxSTATUS_FAILURE
◆ orxAnimPointer_SetTargetAnimFromName()
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
◆ orxAnimPointer_SetTime()
AnimPointer current time set accessor
- Parameters
-
[in] | _pstAnimPointer | Concerned AnimPointer |
[in] | _fTime | Time to set |
- Returns
- orxSTATUS_SUCCESS / orxSTATUS_FAILURE
◆ orxAnimPointer_Setup()
orxDLLAPI void orxFASTCALL orxAnimPointer_Setup |
( |
| ) |
|
|
extern |