Defines | |
| #define | orxOBJECT_GET_STRUCTURE(OBJECT, TYPE) orx##TYPE(_orxObject_GetStructure(OBJECT, orxSTRUCTURE_ID_##TYPE)) |
Typedefs | |
| typedef struct __orxOBJECT_t | orxOBJECT |
Enumerations | |
| enum | orxOBJECT_EVENT { orxOBJECT_EVENT_CREATE = 0, orxOBJECT_EVENT_DELETE, orxOBJECT_EVENT_NUMBER, orxOBJECT_EVENT_NONE = orxENUM_NONE } |
Functions | |
| orxDLLAPI orxSTRUCTURE *orxFASTCALL | _orxObject_GetStructure (const orxOBJECT *_pstObject, orxSTRUCTURE_ID _eStructureID) |
| orxDLLAPI orxSTATUS orxFASTCALL | orxObject_AddDelayedFX (orxOBJECT *_pstObject, const orxSTRING _zFXConfigID, orxFLOAT _fDelay) |
| orxDLLAPI orxSTATUS orxFASTCALL | orxObject_AddFX (orxOBJECT *_pstObject, const orxSTRING _zFXConfigID) |
| orxDLLAPI orxSTATUS orxFASTCALL | orxObject_AddShader (orxOBJECT *_pstObject, const orxSTRING _zShaderConfigID) |
| orxDLLAPI orxSTATUS orxFASTCALL | orxObject_AddSound (orxOBJECT *_pstObject, const orxSTRING _zSoundConfigID) |
| orxDLLAPI orxSTATUS orxFASTCALL | orxObject_AddUniqueDelayedFX (orxOBJECT *_pstObject, const orxSTRING _zFXConfigID, orxFLOAT _fDelay) |
| orxDLLAPI orxSTATUS orxFASTCALL | orxObject_AddUniqueFX (orxOBJECT *_pstObject, const orxSTRING _zFXConfigID) |
| orxDLLAPI orxSTATUS orxFASTCALL | orxObject_ApplyForce (orxOBJECT *_pstObject, const orxVECTOR *_pvForce, const orxVECTOR *_pvPoint) |
| orxDLLAPI orxSTATUS orxFASTCALL | orxObject_ApplyImpulse (orxOBJECT *_pstObject, const orxVECTOR *_pvImpulse, const orxVECTOR *_pvPoint) |
| orxDLLAPI orxSTATUS orxFASTCALL | orxObject_ApplyTorque (orxOBJECT *_pstObject, orxFLOAT _fTorque) |
| orxDLLAPI orxOBJECT *orxFASTCALL | orxObject_BoxPick (const orxOBOX *_pstBox) |
| orxDLLAPI orxSTATUS orxFASTCALL | orxObject_ClearColor (orxOBJECT *_pstObject) |
| orxDLLAPI orxOBJECT *orxFASTCALL | orxObject_Create () |
| orxDLLAPI orxOBJECT *orxFASTCALL | orxObject_CreateFromConfig (const orxSTRING _zConfigID) |
| orxDLLAPI orxBANK *orxFASTCALL | orxObject_CreateNeighborList (const orxOBOX *_pstCheckBox) |
| orxDLLAPI orxSTATUS orxFASTCALL | orxObject_Delete (orxOBJECT *_pstObject) |
| orxDLLAPI void orxFASTCALL | orxObject_DeleteNeighborList (orxBANK *_pstObjectList) |
| orxDLLAPI void orxFASTCALL | orxObject_Enable (orxOBJECT *_pstObject, orxBOOL _bEnable) |
| orxDLLAPI void orxFASTCALL | orxObject_EnableShader (orxOBJECT *_pstObject, orxBOOL _bEnable) |
| orxDLLAPI void orxFASTCALL | orxObject_Exit () |
| orxDLLAPI orxFLOAT orxFASTCALL | orxObject_GetAngularVelocity (const orxOBJECT *_pstObject) |
| orxDLLAPI orxDISPLAY_BLEND_MODE orxFASTCALL | orxObject_GetBlendMode (const orxOBJECT *_pstObject) |
| orxDLLAPI orxOBOX *orxFASTCALL | orxObject_GetBoundingBox (const orxOBJECT *_pstObject, orxOBOX *_pstBoundingBox) |
| orxDLLAPI orxOBJECT *orxFASTCALL | orxObject_GetChild (const orxOBJECT *_pstObject) |
| orxDLLAPI orxCLOCK *orxFASTCALL | orxObject_GetClock (const orxOBJECT *_pstObject) |
| orxDLLAPI orxCOLOR *orxFASTCALL | orxObject_GetColor (const orxOBJECT *_pstObject, orxCOLOR *_pstColor) |
| orxDLLAPI orxVECTOR *orxFASTCALL | orxObject_GetCustomGravity (const orxOBJECT *_pstObject, orxVECTOR *_pvCustomGravity) |
| orxDLLAPI orxSTATUS orxFASTCALL | orxObject_GetFlip (const orxOBJECT *_pstObject, orxBOOL *_pbFlipX, orxBOOL *_pbFlipY) |
| orxDLLAPI orxSOUND *orxFASTCALL | orxObject_GetLastAddedSound (const orxOBJECT *_pstObject) |
| orxDLLAPI orxFLOAT orxFASTCALL | orxObject_GetLifeTime (const orxOBJECT *_pstObject) |
| orxDLLAPI orxFLOAT orxFASTCALL | orxObject_GetMass (const orxOBJECT *_pstObject) |
| orxDLLAPI orxVECTOR *orxFASTCALL | orxObject_GetMassCenter (const orxOBJECT *_pstObject, orxVECTOR *_pvMassCenter) |
| orxDLLAPI const orxSTRING orxFASTCALL | orxObject_GetName (const orxOBJECT *_pstObject) |
| orxDLLAPI orxVECTOR *orxFASTCALL | orxObject_GetOrigin (const orxOBJECT *_pstObject, orxVECTOR *_pvOrigin) |
| orxDLLAPI orxSTRUCTURE *orxFASTCALL | orxObject_GetOwner (const orxOBJECT *_pstObject) |
| orxDLLAPI orxVECTOR *orxFASTCALL | orxObject_GetPivot (const orxOBJECT *_pstObject, orxVECTOR *_pvPivot) |
| orxDLLAPI orxVECTOR *orxFASTCALL | orxObject_GetPosition (const orxOBJECT *_pstObject, orxVECTOR *_pvPosition) |
| orxDLLAPI orxVECTOR *orxFASTCALL | orxObject_GetRelativeSpeed (const orxOBJECT *_pstObject, orxVECTOR *_pvRelativeSpeed) |
| orxDLLAPI orxSTATUS orxFASTCALL | orxObject_GetRepeat (const orxOBJECT *_pstObject, orxFLOAT *_pfRepeatX, orxFLOAT *_pfRepeatY) |
| orxDLLAPI orxFLOAT orxFASTCALL | orxObject_GetRotation (const orxOBJECT *_pstObject) |
| orxDLLAPI orxVECTOR *orxFASTCALL | orxObject_GetScale (const orxOBJECT *_pstObject, orxVECTOR *_pvScale) |
| orxDLLAPI orxOBJECT *orxFASTCALL | orxObject_GetSibling (const orxOBJECT *_pstObject) |
| orxDLLAPI orxVECTOR *orxFASTCALL | orxObject_GetSize (const orxOBJECT *_pstObject, orxVECTOR *_pvSize) |
| orxDLLAPI orxDISPLAY_SMOOTHING orxFASTCALL | orxObject_GetSmoothing (const orxOBJECT *_pstObject) |
| orxDLLAPI orxVECTOR *orxFASTCALL | orxObject_GetSpeed (const orxOBJECT *_pstObject, orxVECTOR *_pvSpeed) |
| orxDLLAPI void *orxFASTCALL | orxObject_GetUserData (const orxOBJECT *_pstObject) |
| orxDLLAPI orxVECTOR *orxFASTCALL | orxObject_GetWorldPosition (const orxOBJECT *_pstObject, orxVECTOR *_pvPosition) |
| orxDLLAPI orxFLOAT orxFASTCALL | orxObject_GetWorldRotation (const orxOBJECT *_pstObject) |
| orxDLLAPI orxVECTOR *orxFASTCALL | orxObject_GetWorldScale (const orxOBJECT *_pstObject, orxVECTOR *_pvScale) |
| orxDLLAPI orxBOOL orxFASTCALL | orxObject_HasColor (const orxOBJECT *_pstObject) |
| orxDLLAPI orxSTATUS orxFASTCALL | orxObject_Init () |
| orxDLLAPI orxBOOL orxFASTCALL | orxObject_IsCurrentAnim (const orxOBJECT *_pstObject, const orxSTRING _zAnimName) |
| orxDLLAPI orxBOOL orxFASTCALL | orxObject_IsEnabled (const orxOBJECT *_pstObject) |
| orxDLLAPI orxBOOL orxFASTCALL | orxObject_IsPaused (const orxOBJECT *_pstObject) |
| orxDLLAPI orxBOOL orxFASTCALL | orxObject_IsShaderEnabled (const orxOBJECT *_pstObject) |
| orxDLLAPI orxBOOL orxFASTCALL | orxObject_IsTargetAnim (const orxOBJECT *_pstObject, const orxSTRING _zAnimName) |
| orxDLLAPI orxSTATUS orxFASTCALL | orxObject_LinkStructure (orxOBJECT *_pstObject, orxSTRUCTURE *_pstStructure) |
| orxDLLAPI void orxFASTCALL | orxObject_Pause (orxOBJECT *_pstObject, orxBOOL _bPause) |
| orxDLLAPI orxOBJECT *orxFASTCALL | orxObject_Pick (const orxVECTOR *_pvPosition) |
| orxDLLAPI orxOBJECT *orxFASTCALL | orxObject_Raycast (const orxVECTOR *_pvStart, const orxVECTOR *_pvEnd, orxU16 _u16SelfFlags, orxU16 _u16CheckMask, orxBOOL _bEarlyExit, orxVECTOR *_pvContact, orxVECTOR *_pvNormal) |
| orxDLLAPI orxSTATUS orxFASTCALL | orxObject_RemoveFX (orxOBJECT *_pstObject, const orxSTRING _zFXConfigID) |
| orxDLLAPI orxSTATUS orxFASTCALL | orxObject_RemoveShader (orxOBJECT *_pstObject, const orxSTRING _zShaderConfigID) |
| orxDLLAPI orxSTATUS orxFASTCALL | orxObject_RemoveSound (orxOBJECT *_pstObject, const orxSTRING _zSoundConfigID) |
| orxDLLAPI orxSTATUS orxFASTCALL | orxObject_SetAngularVelocity (orxOBJECT *_pstObject, orxFLOAT _fVelocity) |
| orxDLLAPI orxSTATUS orxFASTCALL | orxObject_SetAnimFrequency (orxOBJECT *_pstObject, orxFLOAT _fFrequency) |
| orxDLLAPI orxSTATUS orxFASTCALL | orxObject_SetAnimSet (orxOBJECT *_pstObject, orxANIMSET *_pstAnimSet) |
| orxDLLAPI orxSTATUS orxFASTCALL | orxObject_SetBlendMode (orxOBJECT *_pstObject, orxDISPLAY_BLEND_MODE _eBlendMode) |
| orxDLLAPI orxSTATUS orxFASTCALL | orxObject_SetClock (orxOBJECT *_pstObject, orxCLOCK *_pstClock) |
| orxDLLAPI orxSTATUS orxFASTCALL | orxObject_SetColor (orxOBJECT *_pstObject, const orxCOLOR *_pstColor) |
| orxDLLAPI orxSTATUS orxFASTCALL | orxObject_SetCurrentAnim (orxOBJECT *_pstObject, const orxSTRING _zAnimName) |
| orxDLLAPI orxSTATUS orxFASTCALL | orxObject_SetCustomGravity (orxOBJECT *_pstObject, const orxVECTOR *_pvCustomGravity) |
| orxDLLAPI orxSTATUS orxFASTCALL | orxObject_SetFlip (orxOBJECT *_pstObject, orxBOOL _bFlipX, orxBOOL _bFlipY) |
| orxDLLAPI orxSTATUS orxFASTCALL | orxObject_SetLifeTime (orxOBJECT *_pstObject, orxFLOAT _fLifeTime) |
| orxDLLAPI void orxFASTCALL | orxObject_SetOwner (orxOBJECT *_pstObject, void *_pOwner) |
| orxDLLAPI orxSTATUS orxFASTCALL | orxObject_SetParent (orxOBJECT *_pstObject, void *_pParent) |
| orxDLLAPI orxSTATUS orxFASTCALL | orxObject_SetPivot (orxOBJECT *_pstObject, const orxVECTOR *_pvPivot) |
| orxDLLAPI orxSTATUS orxFASTCALL | orxObject_SetPosition (orxOBJECT *_pstObject, const orxVECTOR *_pvPosition) |
| orxDLLAPI orxSTATUS orxFASTCALL | orxObject_SetRelativeSpeed (orxOBJECT *_pstObject, const orxVECTOR *_pvRelativeSpeed) |
| orxDLLAPI orxSTATUS orxFASTCALL | orxObject_SetRepeat (orxOBJECT *_pstObject, orxFLOAT _fRepeatX, orxFLOAT _fRepeatY) |
| orxDLLAPI orxSTATUS orxFASTCALL | orxObject_SetRotation (orxOBJECT *_pstObject, orxFLOAT _fRotation) |
| orxDLLAPI orxSTATUS orxFASTCALL | orxObject_SetScale (orxOBJECT *_pstObject, const orxVECTOR *_pvScale) |
| orxDLLAPI orxSTATUS orxFASTCALL | orxObject_SetSmoothing (orxOBJECT *_pstObject, orxDISPLAY_SMOOTHING _eSmoothing) |
| orxDLLAPI orxSTATUS orxFASTCALL | orxObject_SetSpeed (orxOBJECT *_pstObject, const orxVECTOR *_pvSpeed) |
| orxDLLAPI orxSTATUS orxFASTCALL | orxObject_SetTargetAnim (orxOBJECT *_pstObject, const orxSTRING _zAnimName) |
| orxDLLAPI orxSTATUS orxFASTCALL | orxObject_SetTextString (orxOBJECT *_pstObject, const orxSTRING _zString) |
| orxDLLAPI void orxFASTCALL | orxObject_Setup () |
| orxDLLAPI void orxFASTCALL | orxObject_SetUserData (orxOBJECT *_pstObject, void *_pUserData) |
| orxDLLAPI void orxFASTCALL | orxObject_UnlinkStructure (orxOBJECT *_pstObject, orxSTRUCTURE_ID _eStructureID) |
Object module Allows to creates and handle objects Objects are structures containers that can refer to many other structures such as frames, graphics, etc...
| #define orxOBJECT_GET_STRUCTURE | ( | OBJECT, | |
| TYPE | |||
| ) | orx##TYPE(_orxObject_GetStructure(OBJECT, orxSTRUCTURE_ID_##TYPE)) |
Defines
Definition at line 60 of file orxObject.h.
| typedef struct __orxOBJECT_t orxOBJECT |
Internal object structure
Definition at line 78 of file orxObject.h.
| enum orxOBJECT_EVENT |
Event enum
| orxOBJECT_EVENT_CREATE | |
| orxOBJECT_EVENT_DELETE | |
| orxOBJECT_EVENT_NUMBER | |
| orxOBJECT_EVENT_NONE |
Definition at line 65 of file orxObject.h.
| orxDLLAPI orxSTRUCTURE* orxFASTCALL _orxObject_GetStructure | ( | const orxOBJECT * | _pstObject, |
| orxSTRUCTURE_ID | _eStructureID | ||
| ) |
Structure used by an object get accessor, given its structure ID. Structure must then be cast correctly (see helper macro)
| [in] | _pstObject | Concerned object |
| [in] | _eStructureID | ID of the structure to get |
| orxDLLAPI orxSTATUS orxFASTCALL orxObject_AddDelayedFX | ( | orxOBJECT * | _pstObject, |
| const orxSTRING | _zFXConfigID, | ||
| orxFLOAT | _fDelay | ||
| ) |
Adds a delayed FX using its config ID
| [in] | _pstObject | Concerned object |
| [in] | _zFXConfigID | Config ID of the FX to add |
| [in] | _fDelay | Delay time |
| orxDLLAPI orxSTATUS orxFASTCALL orxObject_AddFX | ( | orxOBJECT * | _pstObject, |
| const orxSTRING | _zFXConfigID | ||
| ) |
Adds an FX using its config ID
| [in] | _pstObject | Concerned object |
| [in] | _zFXConfigID | Config ID of the FX to add |
| orxDLLAPI orxSTATUS orxFASTCALL orxObject_AddShader | ( | orxOBJECT * | _pstObject, |
| const orxSTRING | _zShaderConfigID | ||
| ) |
Adds a shader to an object using its config ID
| [in] | _pstObject | Concerned object |
| [in] | _zShaderConfigID | Config ID of the shader to add |
| orxDLLAPI orxSTATUS orxFASTCALL orxObject_AddSound | ( | orxOBJECT * | _pstObject, |
| const orxSTRING | _zSoundConfigID | ||
| ) |
Adds a sound using its config ID
| [in] | _pstObject | Concerned object |
| [in] | _zSoundConfigID | Config ID of the sound to add |
| orxDLLAPI orxSTATUS orxFASTCALL orxObject_AddUniqueDelayedFX | ( | orxOBJECT * | _pstObject, |
| const orxSTRING | _zFXConfigID, | ||
| orxFLOAT | _fDelay | ||
| ) |
Adds a unique delayed FX using its config ID
| [in] | _pstObject | Concerned object |
| [in] | _zFXConfigID | Config ID of the FX to add |
| [in] | _fDelay | Delay time |
| orxDLLAPI orxSTATUS orxFASTCALL orxObject_AddUniqueFX | ( | orxOBJECT * | _pstObject, |
| const orxSTRING | _zFXConfigID | ||
| ) |
Adds a unique FX using its config ID
| [in] | _pstObject | Concerned object |
| [in] | _zFXConfigID | Config ID of the FX to add |
| orxDLLAPI orxSTATUS orxFASTCALL orxObject_ApplyForce | ( | orxOBJECT * | _pstObject, |
| const orxVECTOR * | _pvForce, | ||
| const orxVECTOR * | _pvPoint | ||
| ) |
Applies a force
| [in] | _pstObject | Concerned object |
| [in] | _pvForce | Force to apply |
| [in] | _pvPoint | Point (world coordinates) where the force will be applied, if orxNULL, center of mass will be used |
| orxDLLAPI orxSTATUS orxFASTCALL orxObject_ApplyImpulse | ( | orxOBJECT * | _pstObject, |
| const orxVECTOR * | _pvImpulse, | ||
| const orxVECTOR * | _pvPoint | ||
| ) |
Applies an impulse
| [in] | _pstObject | Concerned object |
| [in] | _pvImpulse | Impulse to apply |
| [in] | _pvPoint | Point (world coordinates) where the impulse will be applied, if orxNULL, center of mass will be used |
Applies a torque
| [in] | _pstObject | Concerned object |
| [in] | _fTorque | Torque to apply |
Picks the first active object with graphic in contact with the given box
| [in] | _pstBox | Box to use for picking |
Clears object color
| [in] | _pstObject | Concerned object |
| orxDLLAPI orxOBJECT* orxFASTCALL orxObject_Create | ( | ) |
Creates an empty object
| orxDLLAPI orxOBJECT* orxFASTCALL orxObject_CreateFromConfig | ( | const orxSTRING | _zConfigID ) |
Creates an object from config
| [in] | _zConfigID | Config ID @ return orxOBJECT / orxNULL |
Creates a list of object at neighboring of the given box (ie. whose bounding volume intersects this box)
| [in] | _pstCheckBox | Box to check intersection with |
Deletes an object
| [in] | _pstObject | Concerned object |
| orxDLLAPI void orxFASTCALL orxObject_DeleteNeighborList | ( | orxBANK * | _pstObjectList ) |
Deletes an object list created with orxObject_CreateNeighborList
| [in] | _pstObjectList | Concerned object list |
| orxDLLAPI void orxFASTCALL orxObject_Enable | ( | orxOBJECT * | _pstObject, |
| orxBOOL | _bEnable | ||
| ) |
Enables/disables an object
| [in] | _pstObject | Concerned object |
| [in] | _bEnable | Enable / disable |
| orxDLLAPI void orxFASTCALL orxObject_EnableShader | ( | orxOBJECT * | _pstObject, |
| orxBOOL | _bEnable | ||
| ) |
Enables an object's shader
| [in] | _pstObject | Concerned object |
| [in] | _bEnable | Enable / disable |
| orxDLLAPI void orxFASTCALL orxObject_Exit | ( | ) |
Exits from the object module
| orxDLLAPI orxFLOAT orxFASTCALL orxObject_GetAngularVelocity | ( | const orxOBJECT * | _pstObject ) |
Gets an object angular velocity
| [in] | _pstObject | Concerned object |
| orxDLLAPI orxDISPLAY_BLEND_MODE orxFASTCALL orxObject_GetBlendMode | ( | const orxOBJECT * | _pstObject ) |
Gets object blend mode
| [in] | _pstObject | Concerned object |
| orxDLLAPI orxOBOX* orxFASTCALL orxObject_GetBoundingBox | ( | const orxOBJECT * | _pstObject, |
| orxOBOX * | _pstBoundingBox | ||
| ) |
Gets object's bounding box (OBB)
| [in] | _pstObject | Concerned object |
| [in] | _pstBoundingBox | Bounding box result |
Gets object's first child (only if created with a config ChildList)
| [in] | _pstObject | Concerned object |
Gets object's clock
| [in] | _pstObject | Concerned object |
| orxDLLAPI orxCOLOR* orxFASTCALL orxObject_GetColor | ( | const orxOBJECT * | _pstObject, |
| orxCOLOR * | _pstColor | ||
| ) |
Gets object color
| [in] | _pstObject | Concerned object |
| [out] | _pstColor | Object's color |
| orxDLLAPI orxVECTOR* orxFASTCALL orxObject_GetCustomGravity | ( | const orxOBJECT * | _pstObject, |
| orxVECTOR * | _pvCustomGravity | ||
| ) |
Gets an object custom gravity
| [in] | _pstObject | Concerned object |
| [out] | _pvCustomGravity | Custom gravity to get |
| orxDLLAPI orxSTATUS orxFASTCALL orxObject_GetFlip | ( | const orxOBJECT * | _pstObject, |
| orxBOOL * | _pbFlipX, | ||
| orxBOOL * | _pbFlipY | ||
| ) |
Gets object flipping
| [in] | _pstObject | Concerned object |
| [in] | _pbFlipX | X axis flipping |
| [in] | _pbFlipY | Y axis flipping |
Gets last added sound (Do *NOT* destroy it directly before removing it!!!)
| [in] | _pstObject | Concerned object |
| orxDLLAPI orxFLOAT orxFASTCALL orxObject_GetLifeTime | ( | const orxOBJECT * | _pstObject ) |
Gets object lifetime
| [in] | _pstObject | Concerned object |
| orxDLLAPI orxFLOAT orxFASTCALL orxObject_GetMass | ( | const orxOBJECT * | _pstObject ) |
Gets an object mass
| [in] | _pstObject | Concerned object |
| orxDLLAPI orxVECTOR* orxFASTCALL orxObject_GetMassCenter | ( | const orxOBJECT * | _pstObject, |
| orxVECTOR * | _pvMassCenter | ||
| ) |
Gets an object center of mass
| [in] | _pstObject | Concerned object |
| [out] | _pvMassCenter | Mass center to get |
| orxDLLAPI const orxSTRING orxFASTCALL orxObject_GetName | ( | const orxOBJECT * | _pstObject ) |
Gets object config name
| [in] | _pstObject | Concerned object |
| orxDLLAPI orxVECTOR* orxFASTCALL orxObject_GetOrigin | ( | const orxOBJECT * | _pstObject, |
| orxVECTOR * | _pvOrigin | ||
| ) |
Get object origin
| [in] | _pstObject | Concerned object |
| [out] | _pvOrigin | Object origin |
| orxDLLAPI orxSTRUCTURE* orxFASTCALL orxObject_GetOwner | ( | const orxOBJECT * | _pstObject ) |
Gets object's owner
| [in] | _pstObject | Concerned object |
| orxDLLAPI orxVECTOR* orxFASTCALL orxObject_GetPivot | ( | const orxOBJECT * | _pstObject, |
| orxVECTOR * | _pvPivot | ||
| ) |
Get object pivot
| [in] | _pstObject | Concerned object |
| [out] | _pvPivot | Object pivot |
| orxDLLAPI orxVECTOR* orxFASTCALL orxObject_GetPosition | ( | const orxOBJECT * | _pstObject, |
| orxVECTOR * | _pvPosition | ||
| ) |
Get object position
| [in] | _pstObject | Concerned object |
| [out] | _pvPosition | Object position |
| orxDLLAPI orxVECTOR* orxFASTCALL orxObject_GetRelativeSpeed | ( | const orxOBJECT * | _pstObject, |
| orxVECTOR * | _pvRelativeSpeed | ||
| ) |
Gets an object relative speed
| [in] | _pstObject | Concerned object |
| [out] | _pvRelativeSpeed | Relative speed to get |
| orxDLLAPI orxSTATUS orxFASTCALL orxObject_GetRepeat | ( | const orxOBJECT * | _pstObject, |
| orxFLOAT * | _pfRepeatX, | ||
| orxFLOAT * | _pfRepeatY | ||
| ) |
Gets object repeat (wrap) values
| [in] | _pstObject | Concerned object |
| [out] | _pfRepeatX | X-axis repeat value |
| [out] | _pfRepeatY | Y-axis repeat value |
| orxDLLAPI orxFLOAT orxFASTCALL orxObject_GetRotation | ( | const orxOBJECT * | _pstObject ) |
Get object rotation
| [in] | _pstObject | Concerned object |
| orxDLLAPI orxVECTOR* orxFASTCALL orxObject_GetScale | ( | const orxOBJECT * | _pstObject, |
| orxVECTOR * | _pvScale | ||
| ) |
Get object scale
| [in] | _pstObject | Concerned object |
| [out] | _pvScale | Object scale vector |
Gets object's next sibling (only if created with a config ChildList)
| [in] | _pstObject | Concerned object |
| orxDLLAPI orxVECTOR* orxFASTCALL orxObject_GetSize | ( | const orxOBJECT * | _pstObject, |
| orxVECTOR * | _pvSize | ||
| ) |
Gets object size
| [in] | _pstObject | Concerned object |
| [out] | _pvSize | Object's size |
| orxDLLAPI orxDISPLAY_SMOOTHING orxFASTCALL orxObject_GetSmoothing | ( | const orxOBJECT * | _pstObject ) |
Gets object smoothing
| [in] | _pstObject | Concerned object |
| orxDLLAPI orxVECTOR* orxFASTCALL orxObject_GetSpeed | ( | const orxOBJECT * | _pstObject, |
| orxVECTOR * | _pvSpeed | ||
| ) |
Gets an object speed
| [in] | _pstObject | Concerned object |
| [out] | _pvSpeed | Speed to get |
| orxDLLAPI void* orxFASTCALL orxObject_GetUserData | ( | const orxOBJECT * | _pstObject ) |
Gets object's user data
| [in] | _pstObject | Concerned object |
| orxDLLAPI orxVECTOR* orxFASTCALL orxObject_GetWorldPosition | ( | const orxOBJECT * | _pstObject, |
| orxVECTOR * | _pvPosition | ||
| ) |
Get object world position
| [in] | _pstObject | Concerned object |
| [out] | _pvPosition | Object world position |
| orxDLLAPI orxFLOAT orxFASTCALL orxObject_GetWorldRotation | ( | const orxOBJECT * | _pstObject ) |
Get object world rotation
| [in] | _pstObject | Concerned object |
| orxDLLAPI orxVECTOR* orxFASTCALL orxObject_GetWorldScale | ( | const orxOBJECT * | _pstObject, |
| orxVECTOR * | _pvScale | ||
| ) |
Gets object world scale
| [in] | _pstObject | Concerned object |
| [out] | _pvScale | Object world scale |
| orxDLLAPI orxBOOL orxFASTCALL orxObject_HasColor | ( | const orxOBJECT * | _pstObject ) |
Object has color accessor
| [in] | _pstObject | Concerned object |
| orxDLLAPI orxSTATUS orxFASTCALL orxObject_Init | ( | ) |
Inits the object module
| orxDLLAPI orxBOOL orxFASTCALL orxObject_IsCurrentAnim | ( | const orxOBJECT * | _pstObject, |
| const orxSTRING | _zAnimName | ||
| ) |
Is current animation test
| [in] | _pstObject | Concerned object |
| [in] | _zAnimName | Animation name (config's one) to test |
| orxDLLAPI orxBOOL orxFASTCALL orxObject_IsEnabled | ( | const orxOBJECT * | _pstObject ) |
Is object enabled?
| [in] | _pstObject | Concerned object |
| orxDLLAPI orxBOOL orxFASTCALL orxObject_IsPaused | ( | const orxOBJECT * | _pstObject ) |
Is object paused?
| [in] | _pstObject | Concerned object |
| orxDLLAPI orxBOOL orxFASTCALL orxObject_IsShaderEnabled | ( | const orxOBJECT * | _pstObject ) |
Is an object's shader enabled?
| [in] | _pstObject | Concerned object |
| orxDLLAPI orxBOOL orxFASTCALL orxObject_IsTargetAnim | ( | const orxOBJECT * | _pstObject, |
| const orxSTRING | _zAnimName | ||
| ) |
Is target animation test
| [in] | _pstObject | Concerned object |
| [in] | _zAnimName | Animation name (config's one) to test |
| orxDLLAPI orxSTATUS orxFASTCALL orxObject_LinkStructure | ( | orxOBJECT * | _pstObject, |
| orxSTRUCTURE * | _pstStructure | ||
| ) |
Links a structure to an object
| [in] | _pstObject | Concerned object |
| [in] | _pstStructure | Structure to link |
| orxDLLAPI void orxFASTCALL orxObject_Pause | ( | orxOBJECT * | _pstObject, |
| orxBOOL | _bPause | ||
| ) |
Pauses/unpauses an object
| [in] | _pstObject | Concerned object |
| [in] | _bPause | Pause / unpause |
Picks the first active object with graphic "under" the given position
| [in] | _pvPosition | Position to pick from |
| orxDLLAPI orxOBJECT* orxFASTCALL orxObject_Raycast | ( | const orxVECTOR * | _pvStart, |
| const orxVECTOR * | _pvEnd, | ||
| orxU16 | _u16SelfFlags, | ||
| orxU16 | _u16CheckMask, | ||
| orxBOOL | _bEarlyExit, | ||
| orxVECTOR * | _pvContact, | ||
| orxVECTOR * | _pvNormal | ||
| ) |
Issues a raycast to test for potential objects in the way
| [in] | _pvStart | Start of raycast |
| [in] | _pvEnd | End of raycast |
| [in] | _u16SelfFlags | Selfs flags used for filtering (0xFFFF for no filtering) |
| [in] | _u16CheckMask | Check mask used for filtering (0xFFFF for no filtering) |
| [in] | _bEarlyExit | Should stop as soon as an object has been hit (which might not be the closest) |
| [in] | _pvContact | If non-null and a contact is found it will be stored here |
| [in] | _pvNormal | If non-null and a contact is found, its normal will be stored here |
| orxDLLAPI orxSTATUS orxFASTCALL orxObject_RemoveFX | ( | orxOBJECT * | _pstObject, |
| const orxSTRING | _zFXConfigID | ||
| ) |
Removes an FX using using its config ID
| [in] | _pstObject | Concerned object |
| [in] | _zFXConfigID | Config ID of the FX to remove |
| orxDLLAPI orxSTATUS orxFASTCALL orxObject_RemoveShader | ( | orxOBJECT * | _pstObject, |
| const orxSTRING | _zShaderConfigID | ||
| ) |
Removes a shader using using its config ID
| [in] | _pstObject | Concerned object |
| [in] | _zShaderConfigID | Config ID of the shader to remove |
| orxDLLAPI orxSTATUS orxFASTCALL orxObject_RemoveSound | ( | orxOBJECT * | _pstObject, |
| const orxSTRING | _zSoundConfigID | ||
| ) |
Removes a sound using using its config ID
| [in] | _pstObject | Concerned object |
| [in] | _zSoundConfigID | Config ID of the sound to remove |
| orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetAngularVelocity | ( | orxOBJECT * | _pstObject, |
| orxFLOAT | _fVelocity | ||
| ) |
Sets an object angular velocity
| [in] | _pstObject | Concerned object |
| [in] | _fVelocity | Angular velocity to set (radians/seconds) |
| orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetAnimFrequency | ( | orxOBJECT * | _pstObject, |
| orxFLOAT | _fFrequency | ||
| ) |
Sets an object animation frequency
| [in] | _pstObject | Concerned object |
| [in] | _fFrequency | Frequency to set |
| orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetAnimSet | ( | orxOBJECT * | _pstObject, |
| orxANIMSET * | _pstAnimSet | ||
| ) |
Sets an object animset
| [in] | _pstObject | Concerned object |
| [in] | _pstAnimSet | Animation set to set / orxNULL |
| orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetBlendMode | ( | orxOBJECT * | _pstObject, |
| orxDISPLAY_BLEND_MODE | _eBlendMode | ||
| ) |
Sets object blend mode
| [in] | _pstObject | Concerned object |
| [in] | _eBlendMode | Blend mode (alpha, multiply, add or none) |
Sets associated clock for an object
| [in] | _pstObject | Concerned object |
| [in] | _pstClock | Clock to associate / orxNULL |
| orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetColor | ( | orxOBJECT * | _pstObject, |
| const orxCOLOR * | _pstColor | ||
| ) |
Sets object color
| [in] | _pstObject | Concerned object |
| [in] | _pstColor | Color to set, orxNULL to remove any specifig color |
| orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetCurrentAnim | ( | orxOBJECT * | _pstObject, |
| const orxSTRING | _zAnimName | ||
| ) |
Sets current animation for object
| [in] | _pstObject | Concerned object |
| [in] | _zAnimName | Animation name (config's one) to set / orxNULL |
| orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetCustomGravity | ( | orxOBJECT * | _pstObject, |
| const orxVECTOR * | _pvCustomGravity | ||
| ) |
Sets an object custom gravity
| [in] | _pstObject | Concerned object |
| [in] | _pvCustomGravity | Custom gravity to set / orxNULL to remove it |
| orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetFlip | ( | orxOBJECT * | _pstObject, |
| orxBOOL | _bFlipX, | ||
| orxBOOL | _bFlipY | ||
| ) |
Sets object flipping
| [in] | _pstObject | Concerned object |
| [in] | _bFlipX | Flip it on X axis |
| [in] | _bFlipY | Flip it on Y axis |
| orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetLifeTime | ( | orxOBJECT * | _pstObject, |
| orxFLOAT | _fLifeTime | ||
| ) |
Sets object lifetime
| [in] | _pstObject | Concerned object |
| [in] | _fLifeTime | Lifetime to set, negative value to disable it |
| orxDLLAPI void orxFASTCALL orxObject_SetOwner | ( | orxOBJECT * | _pstObject, |
| void * | _pOwner | ||
| ) |
Sets owner for an object
| [in] | _pstObject | Concerned object |
| [in] | _pOwner | Owner to set / orxNULL |
Sets an object parent
| [in] | _pstObject | Concerned object |
| [in] | _pParent | Parent structure to set (object, spawner, camera or frame) / orxNULL |
| orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetPivot | ( | orxOBJECT * | _pstObject, |
| const orxVECTOR * | _pvPivot | ||
| ) |
Sets object pivot
| [in] | _pstObject | Concerned object |
| [in] | _pvPivot | Object pivot |
| orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetPosition | ( | orxOBJECT * | _pstObject, |
| const orxVECTOR * | _pvPosition | ||
| ) |
Sets object position
| [in] | _pstObject | Concerned object |
| [in] | _pvPosition | Object position |
| orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetRelativeSpeed | ( | orxOBJECT * | _pstObject, |
| const orxVECTOR * | _pvRelativeSpeed | ||
| ) |
Sets an object speed relative to its rotation/scale
| [in] | _pstObject | Concerned object |
| [in] | _pvRelativeSpeed | Relative speed to set |
| orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetRepeat | ( | orxOBJECT * | _pstObject, |
| orxFLOAT | _fRepeatX, | ||
| orxFLOAT | _fRepeatY | ||
| ) |
Sets object repeat (wrap) values
| [in] | _pstObject | Concerned object |
| [in] | _fRepeatX | X-axis repeat value |
| [in] | _fRepeatY | Y-axis repeat value |
| orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetRotation | ( | orxOBJECT * | _pstObject, |
| orxFLOAT | _fRotation | ||
| ) |
Sets object rotation
| [in] | _pstObject | Concerned object |
| [in] | _fRotation | Object rotation (radians) |
| orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetScale | ( | orxOBJECT * | _pstObject, |
| const orxVECTOR * | _pvScale | ||
| ) |
Sets object scale
| [in] | _pstObject | Concerned object |
| [in] | _pvScale | Object scale vector |
| orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetSmoothing | ( | orxOBJECT * | _pstObject, |
| orxDISPLAY_SMOOTHING | _eSmoothing | ||
| ) |
Sets object smoothing
| [in] | _pstObject | Concerned object |
| [in] | _eSmoothing | Smoothing type (enabled, default or none) |
| orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetSpeed | ( | orxOBJECT * | _pstObject, |
| const orxVECTOR * | _pvSpeed | ||
| ) |
Sets an object speed
| [in] | _pstObject | Concerned object |
| [in] | _pvSpeed | Speed to set |
| orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetTargetAnim | ( | orxOBJECT * | _pstObject, |
| const orxSTRING | _zAnimName | ||
| ) |
Sets target animation for object
| [in] | _pstObject | Concerned object |
| [in] | _zAnimName | Animation name (config's one) to set / orxNULL |
| orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetTextString | ( | orxOBJECT * | _pstObject, |
| const orxSTRING | _zString | ||
| ) |
Sets object text string, if object is associated to a text
| [in] | _pstObject | Concerned object |
| [in] | _zString | String to set |
| orxDLLAPI void orxFASTCALL orxObject_Setup | ( | ) |
Object module setup
| orxDLLAPI void orxFASTCALL orxObject_SetUserData | ( | orxOBJECT * | _pstObject, |
| void * | _pUserData | ||
| ) |
Sets user data for an object
| [in] | _pstObject | Concerned object |
| [in] | _pUserData | User data to store / orxNULL |
| orxDLLAPI void orxFASTCALL orxObject_UnlinkStructure | ( | orxOBJECT * | _pstObject, |
| orxSTRUCTURE_ID | _eStructureID | ||
| ) |
Unlinks structure from an object, given its structure ID
| [in] | _pstObject | Concerned object |
| [in] | _eStructureID | ID of structure to unlink |
1.5.6