orx  stable
Portable Game Engine
orxObject.h
Go to the documentation of this file.
1 /* Orx - Portable Game Engine
2  *
3  * Copyright (c) 2008-2017 Orx-Project
4  *
5  * This software is provided 'as-is', without any express or implied
6  * warranty. In no event will the authors be held liable for any damages
7  * arising from the use of this software.
8  *
9  * Permission is granted to anyone to use this software for any purpose,
10  * including commercial applications, and to alter it and redistribute it
11  * freely, subject to the following restrictions:
12  *
13  * 1. The origin of this software must not be misrepresented; you must not
14  * claim that you wrote the original software. If you use this software
15  * in a product, an acknowledgment in the product documentation would be
16  * appreciated but is not required.
17  *
18  * 2. Altered source versions must be plainly marked as such, and must not be
19  * misrepresented as being the original software.
20  *
21  * 3. This notice may not be removed or altered from any source
22  * distribution.
23  */
24 
44 #ifndef _orxOBJECT_H_
45 #define _orxOBJECT_H_
46 
47 
48 #include "orxInclude.h"
49 
50 #include "anim/orxAnimSet.h"
51 #include "core/orxClock.h"
52 #include "display/orxDisplay.h"
53 #include "display/orxGraphic.h"
54 #include "display/orxTexture.h"
55 #include "math/orxOBox.h"
56 #include "memory/orxBank.h"
57 #include "object/orxStructure.h"
58 #include "sound/orxSound.h"
59 
60 
62 #define orxOBJECT_GET_STRUCTURE(OBJECT, TYPE) orx##TYPE(_orxObject_GetStructure(OBJECT, orxSTRUCTURE_ID_##TYPE))
63 
64 #define orxOBJECT_KZ_DEFAULT_GROUP "default"
65 
66 
69 typedef enum __orxOBJECT_EVENT_t
70 {
77 
79 
80  orxOBJECT_EVENT_NONE = orxENUM_NONE
81 
83 
84 
86 typedef struct __orxOBJECT_t orxOBJECT;
87 
88 
93 extern orxDLLAPI void orxFASTCALL orxObject_Setup();
94 
98 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_Init();
99 
102 extern orxDLLAPI void orxFASTCALL orxObject_Exit();
110 extern orxDLLAPI orxOBJECT *orxFASTCALL orxObject_Create();
111 
116 extern orxDLLAPI orxOBJECT *orxFASTCALL orxObject_CreateFromConfig(const orxSTRING _zConfigID);
117 
122 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_Delete(orxOBJECT *_pstObject);
123 
129 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_Update(orxOBJECT *_pstObject, const orxCLOCK_INFO *_pstClockInfo);
130 
135 extern orxDLLAPI void orxFASTCALL orxObject_Enable(orxOBJECT *_pstObject, orxBOOL _bEnable);
136 
141 extern orxDLLAPI void orxFASTCALL orxObject_EnableRecursive(orxOBJECT *_pstObject, orxBOOL _bEnable);
142 
147 extern orxDLLAPI orxBOOL orxFASTCALL orxObject_IsEnabled(const orxOBJECT *_pstObject);
148 
153 extern orxDLLAPI void orxFASTCALL orxObject_Pause(orxOBJECT *_pstObject, orxBOOL _bPause);
154 
159 extern orxDLLAPI void orxFASTCALL orxObject_PauseRecursive(orxOBJECT *_pstObject, orxBOOL _bPause);
160 
165 extern orxDLLAPI orxBOOL orxFASTCALL orxObject_IsPaused(const orxOBJECT *_pstObject);
176 extern orxDLLAPI void orxFASTCALL orxObject_SetUserData(orxOBJECT *_pstObject, void *_pUserData);
177 
182 extern orxDLLAPI void *orxFASTCALL orxObject_GetUserData(const orxOBJECT *_pstObject);
197 extern orxDLLAPI void orxFASTCALL orxObject_SetOwner(orxOBJECT *_pstObject, void *_pOwner);
198 
203 extern orxDLLAPI orxSTRUCTURE *orxFASTCALL orxObject_GetOwner(const orxOBJECT *_pstObject);
204 
219 extern orxDLLAPI orxOBJECT *orxFASTCALL orxObject_GetOwnedChild(const orxOBJECT *_pstObject);
220 
226 extern orxDLLAPI orxOBJECT *orxFASTCALL orxObject_GetOwnedSibling(const orxOBJECT *_pstObject);
237 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetClock(orxOBJECT *_pstObject, orxCLOCK *_pstClock);
238 
243 extern orxDLLAPI orxCLOCK *orxFASTCALL orxObject_GetClock(const orxOBJECT *_pstObject);
254 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_LinkStructure(orxOBJECT *_pstObject, orxSTRUCTURE *_pstStructure);
255 
260 extern orxDLLAPI void orxFASTCALL orxObject_UnlinkStructure(orxOBJECT *_pstObject, orxSTRUCTURE_ID _eStructureID);
261 
262 
269 extern orxDLLAPI orxSTRUCTURE *orxFASTCALL _orxObject_GetStructure(const orxOBJECT *_pstObject, orxSTRUCTURE_ID _eStructureID);
281 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetFlip(orxOBJECT *_pstObject, orxBOOL _bFlipX, orxBOOL _bFlipY);
282 
289 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_GetFlip(const orxOBJECT *_pstObject, orxBOOL *_pbFlipX, orxBOOL *_pbFlipY);
301 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetPivot(orxOBJECT *_pstObject, const orxVECTOR *_pvPivot);
302 
310 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetOrigin(orxOBJECT *_pstObject, const orxVECTOR *_pvOrigin);
311 
324 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetSize(orxOBJECT *_pstObject, const orxVECTOR *_pvSize);
325 
331 extern orxDLLAPI orxVECTOR *orxFASTCALL orxObject_GetPivot(const orxOBJECT *_pstObject, orxVECTOR *_pvPivot);
332 
338 extern orxDLLAPI orxVECTOR *orxFASTCALL orxObject_GetOrigin(const orxOBJECT *_pstObject, orxVECTOR *_pvOrigin);
339 
345 extern orxDLLAPI orxVECTOR *orxFASTCALL orxObject_GetSize(const orxOBJECT *_pstObject, orxVECTOR *_pvSize);
357 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetPosition(orxOBJECT *_pstObject, const orxVECTOR *_pvPosition);
358 
365 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetWorldPosition(orxOBJECT *_pstObject, const orxVECTOR *_pvPosition);
366 
373 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetRotation(orxOBJECT *_pstObject, orxFLOAT _fRotation);
374 
381 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetWorldRotation(orxOBJECT *_pstObject, orxFLOAT _fRotation);
382 
390 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetScale(orxOBJECT *_pstObject, const orxVECTOR *_pvScale);
391 
398 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetWorldScale(orxOBJECT *_pstObject, const orxVECTOR *_pvScale);
399 
405 extern orxDLLAPI orxVECTOR *orxFASTCALL orxObject_GetPosition(const orxOBJECT *_pstObject, orxVECTOR *_pvPosition);
406 
412 extern orxDLLAPI orxVECTOR *orxFASTCALL orxObject_GetWorldPosition(const orxOBJECT *_pstObject, orxVECTOR *_pvPosition);
413 
418 extern orxDLLAPI orxFLOAT orxFASTCALL orxObject_GetRotation(const orxOBJECT *_pstObject);
419 
424 extern orxDLLAPI orxFLOAT orxFASTCALL orxObject_GetWorldRotation(const orxOBJECT *_pstObject);
425 
431 extern orxDLLAPI orxVECTOR *orxFASTCALL orxObject_GetScale(const orxOBJECT *_pstObject, orxVECTOR *_pvScale);
432 
438 extern orxDLLAPI orxVECTOR *orxFASTCALL orxObject_GetWorldScale(const orxOBJECT *_pstObject, orxVECTOR *_pvScale);
456 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetParent(orxOBJECT *_pstObject, void *_pParent);
457 
462 extern orxDLLAPI orxSTRUCTURE *orxFASTCALL orxObject_GetParent(const orxOBJECT *_pstObject);
463 
478 extern orxDLLAPI orxSTRUCTURE *orxFASTCALL orxObject_GetChild(const orxOBJECT *_pstObject);
479 
485 extern orxDLLAPI orxSTRUCTURE *orxFASTCALL orxObject_GetSibling(const orxOBJECT *_pstObject);
486 
487 
493 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_Attach(orxOBJECT *_pstObject, void *_pParent);
494 
499 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_Detach(orxOBJECT *_pstObject);
510 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetAnimSet(orxOBJECT *_pstObject, orxANIMSET *_pstAnimSet);
511 
512 
518 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetAnimFrequency(orxOBJECT *_pstObject, orxFLOAT _fFrequency);
519 
526 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetCurrentAnim(orxOBJECT *_pstObject, const orxSTRING _zAnimName);
527 
535 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetTargetAnim(orxOBJECT *_pstObject, const orxSTRING _zAnimName);
536 
542 extern orxDLLAPI orxBOOL orxFASTCALL orxObject_IsCurrentAnim(const orxOBJECT *_pstObject, const orxSTRING _zAnimName);
543 
549 extern orxDLLAPI orxBOOL orxFASTCALL orxObject_IsTargetAnim(const orxOBJECT *_pstObject, const orxSTRING _zAnimName);
560 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetSpeed(orxOBJECT *_pstObject, const orxVECTOR *_pvSpeed);
561 
567 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetRelativeSpeed(orxOBJECT *_pstObject, const orxVECTOR *_pvRelativeSpeed);
568 
574 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetAngularVelocity(orxOBJECT *_pstObject, orxFLOAT _fVelocity);
575 
581 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetCustomGravity(orxOBJECT *_pstObject, const orxVECTOR *_pvCustomGravity);
582 
588 extern orxDLLAPI orxVECTOR *orxFASTCALL orxObject_GetSpeed(const orxOBJECT *_pstObject, orxVECTOR *_pvSpeed);
589 
595 extern orxDLLAPI orxVECTOR *orxFASTCALL orxObject_GetRelativeSpeed(const orxOBJECT *_pstObject, orxVECTOR *_pvRelativeSpeed);
596 
601 extern orxDLLAPI orxFLOAT orxFASTCALL orxObject_GetAngularVelocity(const orxOBJECT *_pstObject);
602 
608 extern orxDLLAPI orxVECTOR *orxFASTCALL orxObject_GetCustomGravity(const orxOBJECT *_pstObject, orxVECTOR *_pvCustomGravity);
609 
614 extern orxDLLAPI orxFLOAT orxFASTCALL orxObject_GetMass(const orxOBJECT *_pstObject);
615 
621 extern orxDLLAPI orxVECTOR *orxFASTCALL orxObject_GetMassCenter(const orxOBJECT *_pstObject, orxVECTOR *_pvMassCenter);
622 
623 
629 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_ApplyTorque(orxOBJECT *_pstObject, orxFLOAT _fTorque);
630 
637 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_ApplyForce(orxOBJECT *_pstObject, const orxVECTOR *_pvForce, const orxVECTOR *_pvPoint);
638 
645 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_ApplyImpulse(orxOBJECT *_pstObject, const orxVECTOR *_pvImpulse, const orxVECTOR *_pvPoint);
646 
647 
658 extern orxDLLAPI orxOBJECT *orxFASTCALL orxObject_Raycast(const orxVECTOR *_pvStart, const orxVECTOR *_pvEnd, orxU16 _u16SelfFlags, orxU16 _u16CheckMask, orxBOOL _bEarlyExit, orxVECTOR *_pvContact, orxVECTOR *_pvNormal);
669 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetTextString(orxOBJECT *_pstObject, const orxSTRING _zString);
670 
675 extern orxDLLAPI const orxSTRING orxFASTCALL orxObject_GetTextString(orxOBJECT *_pstObject);
686 extern orxDLLAPI orxOBOX *orxFASTCALL orxObject_GetBoundingBox(const orxOBJECT *_pstObject, orxOBOX *_pstBoundingBox);
697 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_AddFX(orxOBJECT *_pstObject, const orxSTRING _zFXConfigID);
698 
705 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_AddUniqueFX(orxOBJECT *_pstObject, const orxSTRING _zFXConfigID);
706 
713 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_AddDelayedFX(orxOBJECT *_pstObject, const orxSTRING _zFXConfigID, orxFLOAT _fDelay);
714 
724 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_AddUniqueDelayedFX(orxOBJECT *_pstObject, const orxSTRING _zFXConfigID, orxFLOAT _fDelay);
725 
731 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_RemoveFX(orxOBJECT *_pstObject, const orxSTRING _zFXConfigID);
732 
738 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_SynchronizeFX(orxOBJECT *_pstObject, const orxOBJECT *_pstModel);
749 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_AddSound(orxOBJECT *_pstObject, const orxSTRING _zSoundConfigID);
750 
756 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_RemoveSound(orxOBJECT *_pstObject, const orxSTRING _zSoundConfigID);
757 
762 extern orxDLLAPI orxSOUND *orxFASTCALL orxObject_GetLastAddedSound(const orxOBJECT *_pstObject);
763 
769 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetVolume(orxOBJECT *_pstObject, orxFLOAT _fVolume);
770 
776 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetPitch(orxOBJECT *_pstObject, orxFLOAT _fPitch);
787 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_AddShader(orxOBJECT *_pstObject, const orxSTRING _zShaderConfigID);
788 
794 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_RemoveShader(orxOBJECT *_pstObject, const orxSTRING _zShaderConfigID);
795 
800 extern orxDLLAPI void orxFASTCALL orxObject_EnableShader(orxOBJECT *_pstObject, orxBOOL _bEnable);
801 
806 extern orxDLLAPI orxBOOL orxFASTCALL orxObject_IsShaderEnabled(const orxOBJECT *_pstObject);
817 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_AddTimeLineTrack(orxOBJECT *_pstObject, const orxSTRING _zTrackConfigID);
818 
824 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_RemoveTimeLineTrack(orxOBJECT *_pstObject, const orxSTRING _zTrackConfigID);
825 
830 extern orxDLLAPI void orxFASTCALL orxObject_EnableTimeLine(orxOBJECT *_pstObject, orxBOOL _bEnable);
831 
836 extern orxDLLAPI orxBOOL orxFASTCALL orxObject_IsTimeLineEnabled(const orxOBJECT *_pstObject);
846 extern orxDLLAPI const orxSTRING orxFASTCALL orxObject_GetName(const orxOBJECT *_pstObject);
878 extern orxDLLAPI orxBANK *orxFASTCALL orxObject_CreateNeighborList(const orxOBOX *_pstCheckBox);
879 
883 extern orxDLLAPI void orxFASTCALL orxObject_DeleteNeighborList(orxBANK *_pstObjectList);
894 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetSmoothing(orxOBJECT *_pstObject, orxDISPLAY_SMOOTHING _eSmoothing);
895 
900 extern orxDLLAPI orxDISPLAY_SMOOTHING orxFASTCALL orxObject_GetSmoothing(const orxOBJECT *_pstObject);
910 extern orxDLLAPI orxTEXTURE *orxFASTCALL orxObject_GetWorkingTexture(const orxOBJECT *_pstObject);
920 extern orxDLLAPI orxGRAPHIC *orxFASTCALL orxObject_GetWorkingGraphic(const orxOBJECT *_pstObject);
921 
927 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetColor(orxOBJECT *_pstObject, const orxCOLOR *_pstColor);
928 
933 extern orxDLLAPI void orxFASTCALL orxObject_SetColorRecursive(orxOBJECT *_pstObject, const orxCOLOR *_pstColor);
934 
939 extern orxDLLAPI orxBOOL orxFASTCALL orxObject_HasColor(const orxOBJECT *_pstObject);
940 
946 extern orxDLLAPI orxCOLOR *orxFASTCALL orxObject_GetColor(const orxOBJECT *_pstObject, orxCOLOR *_pstColor);
947 
953 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetRGB(orxOBJECT *_pstObject, const orxVECTOR *_pvRGB);
954 
959 extern orxDLLAPI void orxFASTCALL orxObject_SetRGBRecursive(orxOBJECT *_pstObject, const orxVECTOR *_pvRGB);
960 
966 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetAlpha(orxOBJECT *_pstObject, orxFLOAT _fAlpha);
967 
972 extern orxDLLAPI void orxFASTCALL orxObject_SetAlphaRecursive(orxOBJECT *_pstObject, orxFLOAT _fAlpha);
973 
974 
981 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetRepeat(orxOBJECT *_pstObject, orxFLOAT _fRepeatX, orxFLOAT _fRepeatY);
982 
989 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_GetRepeat(const orxOBJECT *_pstObject, orxFLOAT *_pfRepeatX, orxFLOAT *_pfRepeatY);
990 
991 
997 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetBlendMode(orxOBJECT *_pstObject, orxDISPLAY_BLEND_MODE _eBlendMode);
998 
1003 extern orxDLLAPI orxDISPLAY_BLEND_MODE orxFASTCALL orxObject_GetBlendMode(const orxOBJECT *_pstObject);
1014 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetLifeTime(orxOBJECT *_pstObject, orxFLOAT _fLifeTime);
1015 
1020 extern orxDLLAPI orxFLOAT orxFASTCALL orxObject_GetLifeTime(const orxOBJECT *_pstObject);
1021 
1027 extern orxDLLAPI orxFLOAT orxFASTCALL orxObject_GetActiveTime(const orxOBJECT *_pstObject);
1035 extern orxDLLAPI orxU32 orxFASTCALL orxObject_GetDefaultGroupID();
1036 
1041 extern orxDLLAPI orxU32 orxFASTCALL orxObject_GetGroupID(const orxOBJECT *_pstObject);
1042 
1048 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetGroupID(orxOBJECT *_pstObject, orxU32 _u32GroupID);
1049 
1054 extern orxDLLAPI void orxFASTCALL orxObject_SetGroupIDRecursive(orxOBJECT *_pstObject, orxU32 _u32GroupID);
1055 
1061 extern orxDLLAPI orxOBJECT *orxFASTCALL orxObject_GetNext(const orxOBJECT *_pstObject, orxU32 _u32GroupID);
1074 extern orxDLLAPI orxOBJECT *orxFASTCALL orxObject_Pick(const orxVECTOR *_pvPosition, orxU32 _u32GroupID);
1075 
1082 extern orxDLLAPI orxOBJECT *orxFASTCALL orxObject_BoxPick(const orxOBOX *_pstBox, orxU32 _u32GroupID);
1085 #endif /* _orxOBJECT_H_ */
1086 
orxDLLAPI void orxFASTCALL orxObject_SetOwner(orxOBJECT *_pstObject, void *_pOwner)
orxDLLAPI orxCOLOR *orxFASTCALL orxObject_GetColor(const orxOBJECT *_pstObject, orxCOLOR *_pstColor)
orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetPosition(orxOBJECT *_pstObject, const orxVECTOR *_pvPosition)
orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetOrigin(orxOBJECT *_pstObject, const orxVECTOR *_pvOrigin)
orxDLLAPI void orxFASTCALL orxObject_PauseRecursive(orxOBJECT *_pstObject, orxBOOL _bPause)
orxDLLAPI orxSTATUS orxFASTCALL orxObject_SynchronizeFX(orxOBJECT *_pstObject, const orxOBJECT *_pstModel)
orxDLLAPI orxSTATUS orxFASTCALL orxObject_Init()
orxDISPLAY_SMOOTHING
Definition: orxDisplay.h:137
orxDLLAPI orxBOOL orxFASTCALL orxObject_IsTimeLineEnabled(const orxOBJECT *_pstObject)
orxDLLAPI orxSTATUS orxFASTCALL orxObject_AddUniqueDelayedFX(orxOBJECT *_pstObject, const orxSTRING _zFXConfigID, orxFLOAT _fDelay)
orxDLLAPI orxSTATUS orxFASTCALL orxObject_AddDelayedFX(orxOBJECT *_pstObject, const orxSTRING _zFXConfigID, orxFLOAT _fDelay)
orxDLLAPI orxDISPLAY_BLEND_MODE orxFASTCALL orxObject_GetBlendMode(const orxOBJECT *_pstObject)
orxDLLAPI const orxSTRING orxFASTCALL orxObject_GetName(const orxOBJECT *_pstObject)
orxDLLAPI void orxFASTCALL orxObject_Pause(orxOBJECT *_pstObject, orxBOOL _bPause)
struct __orxTEXTURE_t orxTEXTURE
Definition: orxTexture.h:77
orxDLLAPI orxDISPLAY_SMOOTHING orxFASTCALL orxObject_GetSmoothing(const orxOBJECT *_pstObject)
orxDLLAPI void *orxFASTCALL orxObject_GetUserData(const orxOBJECT *_pstObject)
orxDLLAPI orxFLOAT orxFASTCALL orxObject_GetActiveTime(const orxOBJECT *_pstObject)
orxDLLAPI orxSTATUS orxFASTCALL orxObject_AddSound(orxOBJECT *_pstObject, const orxSTRING _zSoundConfigID)
orxDLLAPI orxVECTOR *orxFASTCALL orxObject_GetWorldPosition(const orxOBJECT *_pstObject, orxVECTOR *_pvPosition)
orxDLLAPI void orxFASTCALL orxObject_EnableRecursive(orxOBJECT *_pstObject, orxBOOL _bEnable)
orxDLLAPI orxSTATUS orxFASTCALL orxObject_GetFlip(const orxOBJECT *_pstObject, orxBOOL *_pbFlipX, orxBOOL *_pbFlipY)
orxDLLAPI orxBOOL orxFASTCALL orxObject_IsTargetAnim(const orxOBJECT *_pstObject, const orxSTRING _zAnimName)
orxDLLAPI orxCLOCK *orxFASTCALL orxObject_GetClock(const orxOBJECT *_pstObject)
orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetRelativeSpeed(orxOBJECT *_pstObject, const orxVECTOR *_pvRelativeSpeed)
orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetCurrentAnim(orxOBJECT *_pstObject, const orxSTRING _zAnimName)
orxDLLAPI orxSTRUCTURE *orxFASTCALL orxObject_GetParent(const orxOBJECT *_pstObject)
orxDLLAPI orxBOOL orxFASTCALL orxObject_HasColor(const orxOBJECT *_pstObject)
orxDLLAPI orxSTATUS orxFASTCALL orxObject_AddShader(orxOBJECT *_pstObject, const orxSTRING _zShaderConfigID)
orxDLLAPI orxSTATUS orxFASTCALL orxObject_Detach(orxOBJECT *_pstObject)
orxDLLAPI const orxSTRING orxFASTCALL orxObject_GetTextString(orxOBJECT *_pstObject)
orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetTextString(orxOBJECT *_pstObject, const orxSTRING _zString)
orxDLLAPI void orxFASTCALL orxObject_SetUserData(orxOBJECT *_pstObject, void *_pUserData)
orxDLLAPI orxVECTOR *orxFASTCALL orxObject_GetOrigin(const orxOBJECT *_pstObject, orxVECTOR *_pvOrigin)
orxDLLAPI orxVECTOR *orxFASTCALL orxObject_GetRelativeSpeed(const orxOBJECT *_pstObject, orxVECTOR *_pvRelativeSpeed)
orxDLLAPI orxFLOAT orxFASTCALL orxObject_GetAngularVelocity(const orxOBJECT *_pstObject)
orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetRotation(orxOBJECT *_pstObject, orxFLOAT _fRotation)
orxDLLAPI orxFLOAT orxFASTCALL orxObject_GetMass(const orxOBJECT *_pstObject)
orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetLifeTime(orxOBJECT *_pstObject, orxFLOAT _fLifeTime)
orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetBlendMode(orxOBJECT *_pstObject, orxDISPLAY_BLEND_MODE _eBlendMode)
orxDLLAPI void orxFASTCALL orxObject_SetColorRecursive(orxOBJECT *_pstObject, const orxCOLOR *_pstColor)
struct __orxCLOCK_t orxCLOCK
Definition: orxClock.h:138
orxDLLAPI void orxFASTCALL orxObject_SetRGBRecursive(orxOBJECT *_pstObject, const orxVECTOR *_pvRGB)
orxDLLAPI orxSTATUS orxFASTCALL orxObject_Attach(orxOBJECT *_pstObject, void *_pParent)
orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetPitch(orxOBJECT *_pstObject, orxFLOAT _fPitch)
orxDLLAPI orxSTRUCTURE *orxFASTCALL orxObject_GetChild(const orxOBJECT *_pstObject)
orxDLLAPI orxBOOL orxFASTCALL orxObject_IsShaderEnabled(const orxOBJECT *_pstObject)
orxDLLAPI orxOBOX *orxFASTCALL orxObject_GetBoundingBox(const orxOBJECT *_pstObject, orxOBOX *_pstBoundingBox)
orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetWorldScale(orxOBJECT *_pstObject, const orxVECTOR *_pvScale)
orxDLLAPI orxVECTOR *orxFASTCALL orxObject_GetWorldScale(const orxOBJECT *_pstObject, orxVECTOR *_pvScale)
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_SetSpeed(orxOBJECT *_pstObject, const orxVECTOR *_pvSpeed)
orxDLLAPI orxSTATUS orxFASTCALL orxObject_RemoveSound(orxOBJECT *_pstObject, const orxSTRING _zSoundConfigID)
orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetAnimSet(orxOBJECT *_pstObject, orxANIMSET *_pstAnimSet)
orxDLLAPI orxBOOL orxFASTCALL orxObject_IsEnabled(const orxOBJECT *_pstObject)
orxDLLAPI orxSTATUS orxFASTCALL orxObject_GetRepeat(const orxOBJECT *_pstObject, orxFLOAT *_pfRepeatX, orxFLOAT *_pfRepeatY)
orxDLLAPI orxVECTOR *orxFASTCALL orxObject_GetScale(const orxOBJECT *_pstObject, orxVECTOR *_pvScale)
orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetWorldPosition(orxOBJECT *_pstObject, const orxVECTOR *_pvPosition)
orxDLLAPI orxVECTOR *orxFASTCALL orxObject_GetCustomGravity(const orxOBJECT *_pstObject, orxVECTOR *_pvCustomGravity)
orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetSmoothing(orxOBJECT *_pstObject, orxDISPLAY_SMOOTHING _eSmoothing)
orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetAnimFrequency(orxOBJECT *_pstObject, orxFLOAT _fFrequency)
orxDLLAPI orxOBJECT *orxFASTCALL orxObject_Create()
orxDLLAPI void orxFASTCALL orxObject_EnableTimeLine(orxOBJECT *_pstObject, orxBOOL _bEnable)
orxDLLAPI void orxFASTCALL orxObject_UnlinkStructure(orxOBJECT *_pstObject, orxSTRUCTURE_ID _eStructureID)
orxDLLAPI orxBOOL orxFASTCALL orxObject_IsCurrentAnim(const orxOBJECT *_pstObject, const orxSTRING _zAnimName)
orxDLLAPI orxSTATUS orxFASTCALL orxObject_AddFX(orxOBJECT *_pstObject, const orxSTRING _zFXConfigID)
struct __orxOBJECT_t orxOBJECT
Definition: orxObject.h:86
orxDLLAPI orxOBJECT *orxFASTCALL orxObject_GetOwnedSibling(const orxOBJECT *_pstObject)
orxDLLAPI orxSTRUCTURE *orxFASTCALL _orxObject_GetStructure(const orxOBJECT *_pstObject, orxSTRUCTURE_ID _eStructureID)
orxDLLAPI orxSTATUS orxFASTCALL orxObject_LinkStructure(orxOBJECT *_pstObject, orxSTRUCTURE *_pstStructure)
orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetTargetAnim(orxOBJECT *_pstObject, const orxSTRING _zAnimName)
orxDLLAPI orxFLOAT orxFASTCALL orxObject_GetRotation(const orxOBJECT *_pstObject)
orxDLLAPI orxVECTOR *orxFASTCALL orxObject_GetPivot(const orxOBJECT *_pstObject, orxVECTOR *_pvPivot)
orxDLLAPI void orxFASTCALL orxObject_SetGroupIDRecursive(orxOBJECT *_pstObject, orxU32 _u32GroupID)
orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetGroupID(orxOBJECT *_pstObject, orxU32 _u32GroupID)
orxDLLAPI orxFLOAT orxFASTCALL orxObject_GetWorldRotation(const orxOBJECT *_pstObject)
orxDLLAPI orxVECTOR *orxFASTCALL orxObject_GetSpeed(const orxOBJECT *_pstObject, orxVECTOR *_pvSpeed)
orxSTATUS
Definition: orxType.h:243
orxDLLAPI orxSOUND *orxFASTCALL orxObject_GetLastAddedSound(const orxOBJECT *_pstObject)
struct __orxANIMSET_t orxANIMSET
Definition: orxAnimSet.h:79
orxDLLAPI orxVECTOR *orxFASTCALL orxObject_GetMassCenter(const orxOBJECT *_pstObject, orxVECTOR *_pvMassCenter)
orxDLLAPI orxSTATUS orxFASTCALL orxObject_RemoveShader(orxOBJECT *_pstObject, const orxSTRING _zShaderConfigID)
orxDLLAPI orxSTATUS orxFASTCALL orxObject_Delete(orxOBJECT *_pstObject)
orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetAngularVelocity(orxOBJECT *_pstObject, orxFLOAT _fVelocity)
orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetPivot(orxOBJECT *_pstObject, const orxVECTOR *_pvPivot)
orxDLLAPI orxFLOAT orxFASTCALL orxObject_GetLifeTime(const orxOBJECT *_pstObject)
orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetAlpha(orxOBJECT *_pstObject, orxFLOAT _fAlpha)
orxOBJECT_EVENT
Definition: orxObject.h:69
orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetColor(orxOBJECT *_pstObject, const orxCOLOR *_pstColor)
orxDLLAPI orxSTRUCTURE *orxFASTCALL orxObject_GetSibling(const orxOBJECT *_pstObject)
orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetScale(orxOBJECT *_pstObject, const orxVECTOR *_pvScale)
struct __orxGRAPHIC_t orxGRAPHIC
Definition: orxGraphic.h:101
#define orxDLLAPI
Definition: orxDecl.h:387
orxDLLAPI orxOBJECT *orxFASTCALL orxObject_BoxPick(const orxOBOX *_pstBox, orxU32 _u32GroupID)
orxDLLAPI orxU32 orxFASTCALL orxObject_GetDefaultGroupID()
orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetParent(orxOBJECT *_pstObject, void *_pParent)
orxDISPLAY_BLEND_MODE
Definition: orxDisplay.h:151
orxDLLAPI orxSTATUS orxFASTCALL orxObject_ApplyImpulse(orxOBJECT *_pstObject, const orxVECTOR *_pvImpulse, const orxVECTOR *_pvPoint)
orxDLLAPI orxSTATUS orxFASTCALL orxObject_RemoveTimeLineTrack(orxOBJECT *_pstObject, const orxSTRING _zTrackConfigID)
orxDLLAPI orxOBJECT *orxFASTCALL orxObject_CreateFromConfig(const orxSTRING _zConfigID)
orxDLLAPI orxSTATUS orxFASTCALL orxObject_Update(orxOBJECT *_pstObject, const orxCLOCK_INFO *_pstClockInfo)
struct __orxBANK_t orxBANK
Definition: orxBank.h:56
orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetVolume(orxOBJECT *_pstObject, orxFLOAT _fVolume)
orxDLLAPI orxSTATUS orxFASTCALL orxObject_ApplyForce(orxOBJECT *_pstObject, const orxVECTOR *_pvForce, const orxVECTOR *_pvPoint)
orxDLLAPI orxU32 orxFASTCALL orxObject_GetGroupID(const orxOBJECT *_pstObject)
orxDLLAPI void orxFASTCALL orxObject_DeleteNeighborList(orxBANK *_pstObjectList)
orxSTRUCTURE_ID
Definition: orxStructure.h:114
orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetFlip(orxOBJECT *_pstObject, orxBOOL _bFlipX, orxBOOL _bFlipY)
orxDLLAPI orxGRAPHIC *orxFASTCALL orxObject_GetWorkingGraphic(const orxOBJECT *_pstObject)
orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetRGB(orxOBJECT *_pstObject, const orxVECTOR *_pvRGB)
orxDLLAPI orxVECTOR *orxFASTCALL orxObject_GetPosition(const orxOBJECT *_pstObject, orxVECTOR *_pvPosition)
orxDLLAPI orxSTATUS orxFASTCALL orxObject_RemoveFX(orxOBJECT *_pstObject, const orxSTRING _zFXConfigID)
orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetSize(orxOBJECT *_pstObject, const orxVECTOR *_pvSize)
orxDLLAPI orxBOOL orxFASTCALL orxObject_IsPaused(const orxOBJECT *_pstObject)
orxDLLAPI orxSTATUS orxFASTCALL orxObject_AddTimeLineTrack(orxOBJECT *_pstObject, const orxSTRING _zTrackConfigID)
orxDLLAPI void orxFASTCALL orxObject_Enable(orxOBJECT *_pstObject, orxBOOL _bEnable)
orxDLLAPI void orxFASTCALL orxObject_EnableShader(orxOBJECT *_pstObject, orxBOOL _bEnable)
orxDLLAPI orxOBJECT *orxFASTCALL orxObject_Pick(const orxVECTOR *_pvPosition, orxU32 _u32GroupID)
orxDLLAPI orxSTATUS orxFASTCALL orxObject_AddUniqueFX(orxOBJECT *_pstObject, const orxSTRING _zFXConfigID)
orxDLLAPI orxSTATUS orxFASTCALL orxObject_ApplyTorque(orxOBJECT *_pstObject, orxFLOAT _fTorque)
orxDLLAPI void orxFASTCALL orxObject_SetAlphaRecursive(orxOBJECT *_pstObject, orxFLOAT _fAlpha)
orxDLLAPI orxTEXTURE *orxFASTCALL orxObject_GetWorkingTexture(const orxOBJECT *_pstObject)
orxDLLAPI orxVECTOR *orxFASTCALL orxObject_GetSize(const orxOBJECT *_pstObject, orxVECTOR *_pvSize)
orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetRepeat(orxOBJECT *_pstObject, orxFLOAT _fRepeatX, orxFLOAT _fRepeatY)
orxDLLAPI orxBANK *orxFASTCALL orxObject_CreateNeighborList(const orxOBOX *_pstCheckBox)
orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetWorldRotation(orxOBJECT *_pstObject, orxFLOAT _fRotation)
orxDLLAPI orxOBJECT *orxFASTCALL orxObject_GetOwnedChild(const orxOBJECT *_pstObject)
orxDLLAPI orxOBJECT *orxFASTCALL orxObject_GetNext(const orxOBJECT *_pstObject, orxU32 _u32GroupID)
orxDLLAPI orxSTRUCTURE *orxFASTCALL orxObject_GetOwner(const orxOBJECT *_pstObject)
orxDLLAPI void orxFASTCALL orxObject_Setup()
orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetCustomGravity(orxOBJECT *_pstObject, const orxVECTOR *_pvCustomGravity)
orxDLLAPI void orxFASTCALL orxObject_Exit()
orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetClock(orxOBJECT *_pstObject, orxCLOCK *_pstClock)
struct __orxSOUND_t orxSOUND
Definition: orxSound.h:76

Generated for orx by doxygen 1.5.6