orx  1.14
Portable Game Engine
orxSpawner.h File Reference
#include "orxInclude.h"
#include "object/orxStructure.h"
#include "object/orxFrame.h"

Go to the source code of this file.

Macros

#define orxSPAWNER_KU32_FLAG_AUTO_DELETE   0x00000001
 
#define orxSPAWNER_KU32_FLAG_AUTO_RESET   0x00000002
 
#define orxSPAWNER_KU32_FLAG_CLEAN_ON_DELETE   0x00000200
 
#define orxSPAWNER_KU32_FLAG_INTERPOLATE   0x00000400
 
#define orxSPAWNER_KU32_FLAG_NONE   0x00000000
 
#define orxSPAWNER_KU32_FLAG_USE_ALPHA   0x00000004
 
#define orxSPAWNER_KU32_FLAG_USE_COLOR   0x00000008
 
#define orxSPAWNER_KU32_FLAG_USE_RELATIVE_SPEED_OBJECT   0x00000040
 
#define orxSPAWNER_KU32_FLAG_USE_RELATIVE_SPEED_SPAWNER   0x00000080
 
#define orxSPAWNER_KU32_FLAG_USE_ROTATION   0x00000010
 
#define orxSPAWNER_KU32_FLAG_USE_SCALE   0x00000020
 
#define orxSPAWNER_KU32_FLAG_USE_SELF_AS_PARENT   0x00000100
 
#define orxSPAWNER_KU32_MASK_USE_RELATIVE_SPEED   0x000000C0
 
#define orxSPAWNER_KU32_MASK_USER_ALL   0x000004FF
 

Typedefs

typedef struct __orxSPAWNER_t orxSPAWNER
 

Enumerations

enum  orxSPAWNER_EVENT {
  orxSPAWNER_EVENT_SPAWN = 0, orxSPAWNER_EVENT_CREATE, orxSPAWNER_EVENT_DELETE, orxSPAWNER_EVENT_RESET,
  orxSPAWNER_EVENT_EMPTY, orxSPAWNER_EVENT_WAVE_START, orxSPAWNER_EVENT_WAVE_STOP, orxSPAWNER_EVENT_NUMBER,
  orxSPAWNER_EVENT_NONE = orxENUM_NONE
}
 

Functions

orxDLLAPI orxSPAWNER *orxFASTCALL orxSpawner_Create ()
 
orxDLLAPI orxSPAWNER *orxFASTCALL orxSpawner_CreateFromConfig (const orxSTRING _zConfigID)
 
orxDLLAPI orxSTATUS orxFASTCALL orxSpawner_Delete (orxSPAWNER *_pstSpawner)
 
orxDLLAPI void orxFASTCALL orxSpawner_Enable (orxSPAWNER *_pstSpawner, orxBOOL _bEnable)
 
orxDLLAPI void orxFASTCALL orxSpawner_Exit ()
 
orxDLLAPI orxU32 orxFASTCALL orxSpawner_GetActiveObjectCount (const orxSPAWNER *_pstSpawner)
 
orxDLLAPI orxU32 orxFASTCALL orxSpawner_GetActiveObjectLimit (const orxSPAWNER *_pstSpawner)
 
orxDLLAPI orxFRAME *orxFASTCALL orxSpawner_GetFrame (const orxSPAWNER *_pstSpawner)
 
orxDLLAPI const orxSTRING orxFASTCALL orxSpawner_GetName (const orxSPAWNER *_pstSpawner)
 
orxDLLAPI orxFLOAT orxFASTCALL orxSpawner_GetNextWaveDelay (const orxSPAWNER *_pstSpawner)
 
orxDLLAPI orxVECTOR *orxFASTCALL orxSpawner_GetObjectSpeed (const orxSPAWNER *_pstSpawner, orxVECTOR *_pvObjectSpeed)
 
orxDLLAPI orxSTRUCTURE *orxFASTCALL orxSpawner_GetParent (const orxSPAWNER *_pstSpawner)
 
orxDLLAPI orxVECTOR *orxFASTCALL orxSpawner_GetPosition (const orxSPAWNER *_pstSpawner, orxVECTOR *_pvPosition)
 
orxDLLAPI orxFLOAT orxFASTCALL orxSpawner_GetRotation (const orxSPAWNER *_pstSpawner)
 
orxDLLAPI orxVECTOR *orxFASTCALL orxSpawner_GetScale (const orxSPAWNER *_pstSpawner, orxVECTOR *_pvScale)
 
orxDLLAPI orxU32 orxFASTCALL orxSpawner_GetTotalObjectCount (const orxSPAWNER *_pstSpawner)
 
orxDLLAPI orxU32 orxFASTCALL orxSpawner_GetTotalObjectLimit (const orxSPAWNER *_pstSpawner)
 
orxDLLAPI orxFLOAT orxFASTCALL orxSpawner_GetWaveDelay (const orxSPAWNER *_pstSpawner)
 
orxDLLAPI orxU32 orxFASTCALL orxSpawner_GetWaveSize (const orxSPAWNER *_pstSpawner)
 
orxDLLAPI orxVECTOR *orxFASTCALL orxSpawner_GetWorldPosition (const orxSPAWNER *_pstSpawner, orxVECTOR *_pvPosition)
 
orxDLLAPI orxFLOAT orxFASTCALL orxSpawner_GetWorldRotation (const orxSPAWNER *_pstSpawner)
 
orxDLLAPI orxVECTOR *orxFASTCALL orxSpawner_GetWorldScale (const orxSPAWNER *_pstSpawner, orxVECTOR *_pvScale)
 
orxDLLAPI orxSTATUS orxFASTCALL orxSpawner_Init ()
 
orxDLLAPI orxBOOL orxFASTCALL orxSpawner_IsEnabled (const orxSPAWNER *_pstSpawner)
 
orxDLLAPI void orxFASTCALL orxSpawner_Reset (orxSPAWNER *_pstSpawner)
 
orxDLLAPI orxSTATUS orxFASTCALL orxSpawner_SetActiveObjectLimit (orxSPAWNER *_pstSpawner, orxU32 _u32ActiveObjectLimit)
 
orxDLLAPI orxSTATUS orxFASTCALL orxSpawner_SetNextWaveDelay (orxSPAWNER *_pstSpawner, orxFLOAT _fWaveDelay)
 
orxDLLAPI orxSTATUS orxFASTCALL orxSpawner_SetObjectSpeed (orxSPAWNER *_pstSpawner, const orxVECTOR *_pvObjectSpeed)
 
orxDLLAPI orxSTATUS orxFASTCALL orxSpawner_SetParent (orxSPAWNER *_pstSpawner, void *_pParent)
 
orxDLLAPI orxSTATUS orxFASTCALL orxSpawner_SetPosition (orxSPAWNER *_pstSpawner, const orxVECTOR *_pvPosition)
 
orxDLLAPI orxSTATUS orxFASTCALL orxSpawner_SetRotation (orxSPAWNER *_pstSpawner, orxFLOAT _fRotation)
 
orxDLLAPI orxSTATUS orxFASTCALL orxSpawner_SetScale (orxSPAWNER *_pstSpawner, const orxVECTOR *_pvScale)
 
orxDLLAPI orxSTATUS orxFASTCALL orxSpawner_SetTotalObjectLimit (orxSPAWNER *_pstSpawner, orxU32 _u32TotalObjectLimit)
 
orxDLLAPI void orxFASTCALL orxSpawner_Setup ()
 
orxDLLAPI orxSTATUS orxFASTCALL orxSpawner_SetWaveDelay (orxSPAWNER *_pstSpawner, orxFLOAT _fWaveDelay)
 
orxDLLAPI orxSTATUS orxFASTCALL orxSpawner_SetWaveSize (orxSPAWNER *_pstSpawner, orxU32 _u32WaveSize)
 
orxDLLAPI orxU32 orxFASTCALL orxSpawner_Spawn (orxSPAWNER *_pstSpawner, orxU32 _u32Number)
 

Detailed Description


Generated for orx by doxygen 1.8.11