orx  1.14
Portable Game Engine
OrxFXPointer

Macros

#define orxFXPOINTER_KU32_FX_NUMBER   8
 

Typedefs

typedef struct __orxFXPOINTER_t orxFXPOINTER
 

Functions

orxDLLAPI orxSTATUS orxFASTCALL orxFXPointer_AddDelayedFX (orxFXPOINTER *_pstFXPointer, orxFX *_pstFX, orxFLOAT _fDelay)
 
orxDLLAPI orxSTATUS orxFASTCALL orxFXPointer_AddDelayedFXFromConfig (orxFXPOINTER *_pstFXPointer, const orxSTRING _zFXConfigID, orxFLOAT _fDelay)
 
orxDLLAPI orxSTATUS orxFASTCALL orxFXPointer_AddFX (orxFXPOINTER *_pstFXPointer, orxFX *_pstFX)
 
orxDLLAPI orxSTATUS orxFASTCALL orxFXPointer_AddFXFromConfig (orxFXPOINTER *_pstFXPointer, const orxSTRING _zFXConfigID)
 
orxDLLAPI orxSTATUS orxFASTCALL orxFXPointer_AddUniqueDelayedFXFromConfig (orxFXPOINTER *_pstFXPointer, const orxSTRING _zFXConfigID, orxFLOAT _fDelay)
 
orxDLLAPI orxSTATUS orxFASTCALL orxFXPointer_AddUniqueFXFromConfig (orxFXPOINTER *_pstFXPointer, const orxSTRING _zFXConfigID)
 
orxDLLAPI orxFXPOINTER *orxFASTCALL orxFXPointer_Create ()
 
orxDLLAPI orxSTATUS orxFASTCALL orxFXPointer_Delete (orxFXPOINTER *_pstFXPointer)
 
orxDLLAPI void orxFASTCALL orxFXPointer_Enable (orxFXPOINTER *_pstFXPointer, orxBOOL _bEnable)
 
orxDLLAPI void orxFASTCALL orxFXPointer_Exit ()
 
orxDLLAPI orxU32 orxFASTCALL orxFXPointer_GetCount (const orxFXPOINTER *_pstFXPointer)
 
orxDLLAPI orxFLOAT orxFASTCALL orxFXPointer_GetFrequency (const orxFXPOINTER *_pstFXPointer)
 
orxDLLAPI orxFLOAT orxFASTCALL orxFXPointer_GetTime (const orxFXPOINTER *_pstFXPointer)
 
orxDLLAPI orxSTATUS orxFASTCALL orxFXPointer_Init ()
 
orxDLLAPI orxBOOL orxFASTCALL orxFXPointer_IsEnabled (const orxFXPOINTER *_pstFXPointer)
 
orxDLLAPI orxSTATUS orxFASTCALL orxFXPointer_RemoveAllFXs (orxFXPOINTER *_pstFXPointer)
 
orxDLLAPI orxSTATUS orxFASTCALL orxFXPointer_RemoveFX (orxFXPOINTER *_pstFXPointer, orxFX *_pstFX)
 
orxDLLAPI orxSTATUS orxFASTCALL orxFXPointer_RemoveFXFromConfig (orxFXPOINTER *_pstFXPointer, const orxSTRING _zFXConfigID)
 
orxDLLAPI orxSTATUS orxFASTCALL orxFXPointer_SetFrequency (orxFXPOINTER *_pstFXPointer, orxFLOAT _fFrequency)
 
orxDLLAPI orxSTATUS orxFASTCALL orxFXPointer_SetTime (orxFXPOINTER *_pstFXPointer, orxFLOAT _fTime)
 
orxDLLAPI void orxFASTCALL orxFXPointer_Setup ()
 
orxDLLAPI orxSTATUS orxFASTCALL orxFXPointer_Synchronize (orxFXPOINTER *_pstFXPointer, const orxFXPOINTER *_pstModel)
 

Detailed Description

FXPointer module Allows to creates rendering special effects containers for objects.

Macro Definition Documentation

#define orxFXPOINTER_KU32_FX_NUMBER   8

Misc defines

Definition at line 54 of file orxFXPointer.h.

Typedef Documentation

typedef struct __orxFXPOINTER_t orxFXPOINTER

Internal FXPointer structure

Definition at line 58 of file orxFXPointer.h.

Function Documentation

orxDLLAPI orxSTATUS orxFASTCALL orxFXPointer_AddDelayedFX ( orxFXPOINTER _pstFXPointer,
orxFX _pstFX,
orxFLOAT  _fDelay 
)

Adds a delayed FX

Parameters
[in]_pstFXPointerConcerned FXPointer
[in]_pstFXFX to add
[in]_fDelayDelay time, ignored if the FX is staggered and other FXs are already present
Returns
orxSTATUS_SUCCESS / orxSTATUS_FAILURE
orxDLLAPI orxSTATUS orxFASTCALL orxFXPointer_AddDelayedFXFromConfig ( orxFXPOINTER _pstFXPointer,
const orxSTRING  _zFXConfigID,
orxFLOAT  _fDelay 
)

Adds a delayed FX using its config ID

Parameters
[in]_pstFXPointerConcerned FXPointer
[in]_zFXConfigIDConfig ID of the FX to add
[in]_fDelayDelay time, ignored if the FX is staggered and other FXs are already present
Returns
orxSTATUS_SUCCESS / orxSTATUS_FAILURE
orxDLLAPI orxSTATUS orxFASTCALL orxFXPointer_AddFX ( orxFXPOINTER _pstFXPointer,
orxFX _pstFX 
)

Adds an FX

Parameters
[in]_pstFXPointerConcerned FXPointer
[in]_pstFXFX to add
Returns
orxSTATUS_SUCCESS / orxSTATUS_FAILURE
orxDLLAPI orxSTATUS orxFASTCALL orxFXPointer_AddFXFromConfig ( orxFXPOINTER _pstFXPointer,
const orxSTRING  _zFXConfigID 
)

Adds an FX using its config ID

Parameters
[in]_pstFXPointerConcerned FXPointer
[in]_zFXConfigIDConfig ID of the FX to add
Returns
orxSTATUS_SUCCESS / orxSTATUS_FAILURE
orxDLLAPI orxSTATUS orxFASTCALL orxFXPointer_AddUniqueDelayedFXFromConfig ( orxFXPOINTER _pstFXPointer,
const orxSTRING  _zFXConfigID,
orxFLOAT  _fDelay 
)

Adds a unique delayed FX using its config ID

Parameters
[in]_pstFXPointerConcerned FXPointer
[in]_zFXConfigIDConfig ID of the FX to add
[in]_fDelayDelay time, ignored if the FX is staggered and other FXs are already present
Returns
orxSTATUS_SUCCESS / orxSTATUS_FAILURE
orxDLLAPI orxSTATUS orxFASTCALL orxFXPointer_AddUniqueFXFromConfig ( orxFXPOINTER _pstFXPointer,
const orxSTRING  _zFXConfigID 
)

Adds a unique FX using its config ID

Parameters
[in]_pstFXPointerConcerned FXPointer
[in]_zFXConfigIDConfig ID of the FX to add
Returns
orxSTATUS_SUCCESS / orxSTATUS_FAILURE
orxDLLAPI orxFXPOINTER* orxFASTCALL orxFXPointer_Create ( )

Creates an empty FXPointer

Returns
orxFXPOINTER / orxNULL
orxDLLAPI orxSTATUS orxFASTCALL orxFXPointer_Delete ( orxFXPOINTER _pstFXPointer)

Deletes an FXPointer

Parameters
[in]_pstFXPointerConcerned FXPointer
Returns
orxSTATUS_SUCCESS / orxSTATUS_FAILURE
orxDLLAPI void orxFASTCALL orxFXPointer_Enable ( orxFXPOINTER _pstFXPointer,
orxBOOL  _bEnable 
)

Enables/disables an FXPointer

Parameters
[in]_pstFXPointerConcerned FXPointer
[in]_bEnableEnable / disable
orxDLLAPI void orxFASTCALL orxFXPointer_Exit ( )

Exits from the FXPointer module

orxDLLAPI orxU32 orxFASTCALL orxFXPointer_GetCount ( const orxFXPOINTER _pstFXPointer)

Gets how many FXs are currently in use

Parameters
[in]_pstFXPointerConcerned FXPointer
Returns
orxU32
orxDLLAPI orxFLOAT orxFASTCALL orxFXPointer_GetFrequency ( const orxFXPOINTER _pstFXPointer)

FXPointer frequency get accessor

Parameters
[in]_pstFXPointerConcerned FXPointer
Returns
FXPointer frequency
orxDLLAPI orxFLOAT orxFASTCALL orxFXPointer_GetTime ( const orxFXPOINTER _pstFXPointer)

FXPointer time get accessor

Parameters
[in]_pstFXPointerConcerned FXPointer
Returns
orxFLOAT
orxDLLAPI orxSTATUS orxFASTCALL orxFXPointer_Init ( )

Inits the FXPointer module

Returns
orxSTATUS_SUCCESS / orxSTATUS_FAILURE
orxDLLAPI orxBOOL orxFASTCALL orxFXPointer_IsEnabled ( const orxFXPOINTER _pstFXPointer)

Is FXPointer enabled?

Parameters
[in]_pstFXPointerConcerned FXPointer
Returns
orxTRUE if enabled, orxFALSE otherwise
orxDLLAPI orxSTATUS orxFASTCALL orxFXPointer_RemoveAllFXs ( orxFXPOINTER _pstFXPointer)

Removes all FXs

Parameters
[in]_pstFXPointerConcerned FXPointer
Returns
orxSTATUS_SUCCESS / orxSTATUS_FAILURE
orxDLLAPI orxSTATUS orxFASTCALL orxFXPointer_RemoveFX ( orxFXPOINTER _pstFXPointer,
orxFX _pstFX 
)

Removes an FX

Parameters
[in]_pstFXPointerConcerned FXPointer
[in]_pstFXFX to remove
Returns
orxSTATUS_SUCCESS / orxSTATUS_FAILURE
orxDLLAPI orxSTATUS orxFASTCALL orxFXPointer_RemoveFXFromConfig ( orxFXPOINTER _pstFXPointer,
const orxSTRING  _zFXConfigID 
)

Removes an FX using its config ID

Parameters
[in]_pstFXPointerConcerned FXPointer
[in]_zFXConfigIDConfig ID of the FX to remove
Returns
orxSTATUS_SUCCESS / orxSTATUS_FAILURE
orxDLLAPI orxSTATUS orxFASTCALL orxFXPointer_SetFrequency ( orxFXPOINTER _pstFXPointer,
orxFLOAT  _fFrequency 
)

FXPointer frequency set accessor

Parameters
[in]_pstFXPointerConcerned FXPointer
[in]_fFrequencyFrequency to set
Returns
orxSTATUS_SUCCESS / orxSTATUS_FAILURE
orxDLLAPI orxSTATUS orxFASTCALL orxFXPointer_SetTime ( orxFXPOINTER _pstFXPointer,
orxFLOAT  _fTime 
)

FXPointer time set accessor

Parameters
[in]_pstFXPointerConcerned FXPointer
[in]_fTimeTime to set
Returns
orxSTATUS_SUCCESS / orxSTATUS_FAILURE
orxDLLAPI void orxFASTCALL orxFXPointer_Setup ( )

FXPointer module setup

orxDLLAPI orxSTATUS orxFASTCALL orxFXPointer_Synchronize ( orxFXPOINTER _pstFXPointer,
const orxFXPOINTER _pstModel 
)

Synchronizes FX times with an other orxFXPointer if they share common FXs

Parameters
[in]_pstFXPointerConcerned FXPointer
[in]_pstModelModel FX pointer to use for synchronization
Returns
orxSTATUS_SUCCESS / orxSTATUS_FAILURE

Generated for orx by doxygen 1.8.11