Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00043 #ifndef _orxFXPOINTER_H_
00044 #define _orxFXPOINTER_H_
00045
00046
00047 #include "orxInclude.h"
00048 #include "render/orxFX.h"
00049 #include "object/orxStructure.h"
00050
00051
00054 #define orxFXPOINTER_KU32_FX_NUMBER 4
00055
00056
00058 typedef struct __orxFXPOINTER_t orxFXPOINTER;
00059
00060
00063 extern orxDLLAPI void orxFASTCALL orxFXPointer_Setup();
00064
00068 extern orxDLLAPI orxSTATUS orxFASTCALL orxFXPointer_Init();
00069
00072 extern orxDLLAPI void orxFASTCALL orxFXPointer_Exit();
00073
00074
00079 extern orxDLLAPI orxFXPOINTER *orxFASTCALL orxFXPointer_Create(const orxSTRUCTURE *_pstOwner);
00080
00085 extern orxDLLAPI orxSTATUS orxFASTCALL orxFXPointer_Delete(orxFXPOINTER *_pstFXPointer);
00086
00091 extern orxDLLAPI orxSTRUCTURE *orxFASTCALL orxFXPointer_GetOwner(const orxFXPOINTER *_pstFXPointer);
00092
00097 extern orxDLLAPI void orxFASTCALL orxFXPointer_Enable(orxFXPOINTER *_pstFXPointer, orxBOOL _bEnable);
00098
00103 extern orxDLLAPI orxBOOL orxFASTCALL orxFXPointer_IsEnabled(const orxFXPOINTER *_pstFXPointer);
00104
00105
00111 extern orxDLLAPI orxSTATUS orxFASTCALL orxFXPointer_AddFX(orxFXPOINTER *_pstFXPointer, orxFX *_pstFX);
00112
00119 extern orxDLLAPI orxSTATUS orxFASTCALL orxFXPointer_AddDelayedFX(orxFXPOINTER *_pstFXPointer, orxFX *_pstFX, orxFLOAT _fDelay);
00120
00126 extern orxDLLAPI orxSTATUS orxFASTCALL orxFXPointer_RemoveFX(orxFXPOINTER *_pstFXPointer, orxFX *_pstFX);
00127
00133 extern orxDLLAPI orxSTATUS orxFASTCALL orxFXPointer_AddFXFromConfig(orxFXPOINTER *_pstFXPointer, const orxSTRING _zFXConfigID);
00134
00140 extern orxDLLAPI orxSTATUS orxFASTCALL orxFXPointer_AddUniqueFXFromConfig(orxFXPOINTER *_pstFXPointer, const orxSTRING _zFXConfigID);
00141
00148 extern orxDLLAPI orxSTATUS orxFASTCALL orxFXPointer_AddDelayedFXFromConfig(orxFXPOINTER *_pstFXPointer, const orxSTRING _zFXConfigID, orxFLOAT _fDelay);
00149
00156 extern orxDLLAPI orxSTATUS orxFASTCALL orxFXPointer_AddUniqueDelayedFXFromConfig(orxFXPOINTER *_pstFXPointer, const orxSTRING _zFXConfigID, orxFLOAT _fDelay);
00157
00163 extern orxDLLAPI orxSTATUS orxFASTCALL orxFXPointer_RemoveFXFromConfig(orxFXPOINTER *_pstFXPointer, const orxSTRING _zFXConfigID);
00164
00165 #endif
00166