Defines | Typedefs | Enumerations | Functions

include/object/orxSpawner.h File Reference

#include "orxInclude.h"
#include "object/orxStructure.h"
#include "object/orxFrame.h"

Go to the source code of this file.

Defines

#define orxSPAWNER_KU32_FLAG_AUTO_DELETE   0x00000001
#define orxSPAWNER_KU32_FLAG_AUTO_RESET   0x00000002
#define orxSPAWNER_KU32_FLAG_CLEAN_ON_DELETE   0x00000100
#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   0x00000040
#define orxSPAWNER_KU32_FLAG_USE_ROTATION   0x00000010
#define orxSPAWNER_KU32_FLAG_USE_SCALE   0x00000020
#define orxSPAWNER_KU32_FLAG_USE_SELF_AS_PARENT   0x00000080
#define orxSPAWNER_KU32_MASK_USER_ALL   0x000000FF

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_GetActiveObjectCounter (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_GetOwner (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_GetTotalObjectCounter (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_SetObjectSpeed (orxSPAWNER *_pstSpawner, const orxVECTOR *_pvObjectSpeed)
orxDLLAPI void orxFASTCALL orxSpawner_SetOwner (orxSPAWNER *_pstSpawner, void *_pOwner)
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

Date:
06/09/2008
Author:
iarwain@orx-project.org
Todo:

Definition in file orxSpawner.h.


Generated for orx by doxygen 1.5.6