orx  1.9
Portable Game Engine
orxObject.h
Go to the documentation of this file.
1 /* Orx - Portable Game Engine
2  *
3  * Copyright (c) 2008-2018 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 {
78 
80 
81  orxOBJECT_EVENT_NONE = orxENUM_NONE
82 
84 
85 
87 typedef struct __orxOBJECT_t orxOBJECT;
88 
89 
94 extern orxDLLAPI void orxFASTCALL orxObject_Setup();
95 
99 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_Init();
100 
103 extern orxDLLAPI void orxFASTCALL orxObject_Exit();
111 extern orxDLLAPI orxOBJECT *orxFASTCALL orxObject_Create();
112 
117 extern orxDLLAPI orxOBJECT *orxFASTCALL orxObject_CreateFromConfig(const orxSTRING _zConfigID);
118 
123 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_Delete(orxOBJECT *_pstObject);
124 
130 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_Update(orxOBJECT *_pstObject, const orxCLOCK_INFO *_pstClockInfo);
131 
136 extern orxDLLAPI void orxFASTCALL orxObject_Enable(orxOBJECT *_pstObject, orxBOOL _bEnable);
137 
142 extern orxDLLAPI void orxFASTCALL orxObject_EnableRecursive(orxOBJECT *_pstObject, orxBOOL _bEnable);
143 
148 extern orxDLLAPI orxBOOL orxFASTCALL orxObject_IsEnabled(const orxOBJECT *_pstObject);
149 
154 extern orxDLLAPI void orxFASTCALL orxObject_Pause(orxOBJECT *_pstObject, orxBOOL _bPause);
155 
160 extern orxDLLAPI void orxFASTCALL orxObject_PauseRecursive(orxOBJECT *_pstObject, orxBOOL _bPause);
161 
166 extern orxDLLAPI orxBOOL orxFASTCALL orxObject_IsPaused(const orxOBJECT *_pstObject);
177 extern orxDLLAPI void orxFASTCALL orxObject_SetUserData(orxOBJECT *_pstObject, void *_pUserData);
178 
183 extern orxDLLAPI void *orxFASTCALL orxObject_GetUserData(const orxOBJECT *_pstObject);
198 extern orxDLLAPI void orxFASTCALL orxObject_SetOwner(orxOBJECT *_pstObject, void *_pOwner);
199 
204 extern orxDLLAPI orxSTRUCTURE *orxFASTCALL orxObject_GetOwner(const orxOBJECT *_pstObject);
205 
220 extern orxDLLAPI orxOBJECT *orxFASTCALL orxObject_GetOwnedChild(const orxOBJECT *_pstObject);
221 
227 extern orxDLLAPI orxOBJECT *orxFASTCALL orxObject_GetOwnedSibling(const orxOBJECT *_pstObject);
238 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetClock(orxOBJECT *_pstObject, orxCLOCK *_pstClock);
239 
244 extern orxDLLAPI orxCLOCK *orxFASTCALL orxObject_GetClock(const orxOBJECT *_pstObject);
255 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_LinkStructure(orxOBJECT *_pstObject, orxSTRUCTURE *_pstStructure);
256 
261 extern orxDLLAPI void orxFASTCALL orxObject_UnlinkStructure(orxOBJECT *_pstObject, orxSTRUCTURE_ID _eStructureID);
262 
263 
270 extern orxDLLAPI orxSTRUCTURE *orxFASTCALL _orxObject_GetStructure(const orxOBJECT *_pstObject, orxSTRUCTURE_ID _eStructureID);
282 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetFlip(orxOBJECT *_pstObject, orxBOOL _bFlipX, orxBOOL _bFlipY);
283 
290 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_GetFlip(const orxOBJECT *_pstObject, orxBOOL *_pbFlipX, orxBOOL *_pbFlipY);
302 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetPivot(orxOBJECT *_pstObject, const orxVECTOR *_pvPivot);
303 
311 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetOrigin(orxOBJECT *_pstObject, const orxVECTOR *_pvOrigin);
312 
325 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetSize(orxOBJECT *_pstObject, const orxVECTOR *_pvSize);
326 
332 extern orxDLLAPI orxVECTOR *orxFASTCALL orxObject_GetPivot(const orxOBJECT *_pstObject, orxVECTOR *_pvPivot);
333 
339 extern orxDLLAPI orxVECTOR *orxFASTCALL orxObject_GetOrigin(const orxOBJECT *_pstObject, orxVECTOR *_pvOrigin);
340 
346 extern orxDLLAPI orxVECTOR *orxFASTCALL orxObject_GetSize(const orxOBJECT *_pstObject, orxVECTOR *_pvSize);
358 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetPosition(orxOBJECT *_pstObject, const orxVECTOR *_pvPosition);
359 
366 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetWorldPosition(orxOBJECT *_pstObject, const orxVECTOR *_pvPosition);
367 
374 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetRotation(orxOBJECT *_pstObject, orxFLOAT _fRotation);
375 
382 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetWorldRotation(orxOBJECT *_pstObject, orxFLOAT _fRotation);
383 
391 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetScale(orxOBJECT *_pstObject, const orxVECTOR *_pvScale);
392 
399 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetWorldScale(orxOBJECT *_pstObject, const orxVECTOR *_pvScale);
400 
406 extern orxDLLAPI orxVECTOR *orxFASTCALL orxObject_GetPosition(const orxOBJECT *_pstObject, orxVECTOR *_pvPosition);
407 
413 extern orxDLLAPI orxVECTOR *orxFASTCALL orxObject_GetWorldPosition(const orxOBJECT *_pstObject, orxVECTOR *_pvPosition);
414 
419 extern orxDLLAPI orxFLOAT orxFASTCALL orxObject_GetRotation(const orxOBJECT *_pstObject);
420 
425 extern orxDLLAPI orxFLOAT orxFASTCALL orxObject_GetWorldRotation(const orxOBJECT *_pstObject);
426 
432 extern orxDLLAPI orxVECTOR *orxFASTCALL orxObject_GetScale(const orxOBJECT *_pstObject, orxVECTOR *_pvScale);
433 
439 extern orxDLLAPI orxVECTOR *orxFASTCALL orxObject_GetWorldScale(const orxOBJECT *_pstObject, orxVECTOR *_pvScale);
457 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetParent(orxOBJECT *_pstObject, void *_pParent);
458 
463 extern orxDLLAPI orxSTRUCTURE *orxFASTCALL orxObject_GetParent(const orxOBJECT *_pstObject);
464 
479 extern orxDLLAPI orxSTRUCTURE *orxFASTCALL orxObject_GetChild(const orxOBJECT *_pstObject);
480 
486 extern orxDLLAPI orxSTRUCTURE *orxFASTCALL orxObject_GetSibling(const orxOBJECT *_pstObject);
487 
488 
494 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_Attach(orxOBJECT *_pstObject, void *_pParent);
495 
500 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_Detach(orxOBJECT *_pstObject);
511 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetAnimSet(orxOBJECT *_pstObject, orxANIMSET *_pstAnimSet);
512 
513 
519 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetAnimFrequency(orxOBJECT *_pstObject, orxFLOAT _fFrequency);
520 
527 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetCurrentAnim(orxOBJECT *_pstObject, const orxSTRING _zAnimName);
528 
536 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetTargetAnim(orxOBJECT *_pstObject, const orxSTRING _zAnimName);
537 
543 extern orxDLLAPI orxBOOL orxFASTCALL orxObject_IsCurrentAnim(const orxOBJECT *_pstObject, const orxSTRING _zAnimName);
544 
550 extern orxDLLAPI orxBOOL orxFASTCALL orxObject_IsTargetAnim(const orxOBJECT *_pstObject, const orxSTRING _zAnimName);
561 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetSpeed(orxOBJECT *_pstObject, const orxVECTOR *_pvSpeed);
562 
568 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetRelativeSpeed(orxOBJECT *_pstObject, const orxVECTOR *_pvRelativeSpeed);
569 
575 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetAngularVelocity(orxOBJECT *_pstObject, orxFLOAT _fVelocity);
576 
582 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetCustomGravity(orxOBJECT *_pstObject, const orxVECTOR *_pvCustomGravity);
583 
589 extern orxDLLAPI orxVECTOR *orxFASTCALL orxObject_GetSpeed(const orxOBJECT *_pstObject, orxVECTOR *_pvSpeed);
590 
596 extern orxDLLAPI orxVECTOR *orxFASTCALL orxObject_GetRelativeSpeed(const orxOBJECT *_pstObject, orxVECTOR *_pvRelativeSpeed);
597 
602 extern orxDLLAPI orxFLOAT orxFASTCALL orxObject_GetAngularVelocity(const orxOBJECT *_pstObject);
603 
609 extern orxDLLAPI orxVECTOR *orxFASTCALL orxObject_GetCustomGravity(const orxOBJECT *_pstObject, orxVECTOR *_pvCustomGravity);
610 
615 extern orxDLLAPI orxFLOAT orxFASTCALL orxObject_GetMass(const orxOBJECT *_pstObject);
616 
622 extern orxDLLAPI orxVECTOR *orxFASTCALL orxObject_GetMassCenter(const orxOBJECT *_pstObject, orxVECTOR *_pvMassCenter);
623 
624 
630 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_ApplyTorque(orxOBJECT *_pstObject, orxFLOAT _fTorque);
631 
638 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_ApplyForce(orxOBJECT *_pstObject, const orxVECTOR *_pvForce, const orxVECTOR *_pvPoint);
639 
646 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_ApplyImpulse(orxOBJECT *_pstObject, const orxVECTOR *_pvImpulse, const orxVECTOR *_pvPoint);
647 
648 
659 extern orxDLLAPI orxOBJECT *orxFASTCALL orxObject_Raycast(const orxVECTOR *_pvStart, const orxVECTOR *_pvEnd, orxU16 _u16SelfFlags, orxU16 _u16CheckMask, orxBOOL _bEarlyExit, orxVECTOR *_pvContact, orxVECTOR *_pvNormal);
670 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetTextString(orxOBJECT *_pstObject, const orxSTRING _zString);
671 
676 extern orxDLLAPI const orxSTRING orxFASTCALL orxObject_GetTextString(orxOBJECT *_pstObject);
687 extern orxDLLAPI orxOBOX *orxFASTCALL orxObject_GetBoundingBox(const orxOBJECT *_pstObject, orxOBOX *_pstBoundingBox);
698 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_AddFX(orxOBJECT *_pstObject, const orxSTRING _zFXConfigID);
699 
706 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_AddUniqueFX(orxOBJECT *_pstObject, const orxSTRING _zFXConfigID);
707 
714 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_AddDelayedFX(orxOBJECT *_pstObject, const orxSTRING _zFXConfigID, orxFLOAT _fDelay);
715 
725 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_AddUniqueDelayedFX(orxOBJECT *_pstObject, const orxSTRING _zFXConfigID, orxFLOAT _fDelay);
726 
732 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_RemoveFX(orxOBJECT *_pstObject, const orxSTRING _zFXConfigID);
733 
739 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_SynchronizeFX(orxOBJECT *_pstObject, const orxOBJECT *_pstModel);
750 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_AddSound(orxOBJECT *_pstObject, const orxSTRING _zSoundConfigID);
751 
757 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_RemoveSound(orxOBJECT *_pstObject, const orxSTRING _zSoundConfigID);
758 
763 extern orxDLLAPI orxSOUND *orxFASTCALL orxObject_GetLastAddedSound(const orxOBJECT *_pstObject);
764 
770 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetVolume(orxOBJECT *_pstObject, orxFLOAT _fVolume);
771 
777 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetPitch(orxOBJECT *_pstObject, orxFLOAT _fPitch);
778 
783 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_Play(orxOBJECT *_pstObject);
784 
789 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_Stop(orxOBJECT *_pstObject);
790 
801 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_AddShader(orxOBJECT *_pstObject, const orxSTRING _zShaderConfigID);
802 
808 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_RemoveShader(orxOBJECT *_pstObject, const orxSTRING _zShaderConfigID);
809 
814 extern orxDLLAPI void orxFASTCALL orxObject_EnableShader(orxOBJECT *_pstObject, orxBOOL _bEnable);
815 
820 extern orxDLLAPI orxBOOL orxFASTCALL orxObject_IsShaderEnabled(const orxOBJECT *_pstObject);
831 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_AddTimeLineTrack(orxOBJECT *_pstObject, const orxSTRING _zTrackConfigID);
832 
838 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_RemoveTimeLineTrack(orxOBJECT *_pstObject, const orxSTRING _zTrackConfigID);
839 
844 extern orxDLLAPI void orxFASTCALL orxObject_EnableTimeLine(orxOBJECT *_pstObject, orxBOOL _bEnable);
845 
850 extern orxDLLAPI orxBOOL orxFASTCALL orxObject_IsTimeLineEnabled(const orxOBJECT *_pstObject);
860 extern orxDLLAPI const orxSTRING orxFASTCALL orxObject_GetName(const orxOBJECT *_pstObject);
893 extern orxDLLAPI orxBANK *orxFASTCALL orxObject_CreateNeighborList(const orxOBOX *_pstCheckBox, orxU32 _u32GroupID);
894 
898 extern orxDLLAPI void orxFASTCALL orxObject_DeleteNeighborList(orxBANK *_pstObjectList);
909 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetSmoothing(orxOBJECT *_pstObject, orxDISPLAY_SMOOTHING _eSmoothing);
910 
915 extern orxDLLAPI orxDISPLAY_SMOOTHING orxFASTCALL orxObject_GetSmoothing(const orxOBJECT *_pstObject);
925 extern orxDLLAPI orxTEXTURE *orxFASTCALL orxObject_GetWorkingTexture(const orxOBJECT *_pstObject);
935 extern orxDLLAPI orxGRAPHIC *orxFASTCALL orxObject_GetWorkingGraphic(const orxOBJECT *_pstObject);
936 
942 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetColor(orxOBJECT *_pstObject, const orxCOLOR *_pstColor);
943 
948 extern orxDLLAPI void orxFASTCALL orxObject_SetColorRecursive(orxOBJECT *_pstObject, const orxCOLOR *_pstColor);
949 
954 extern orxDLLAPI orxBOOL orxFASTCALL orxObject_HasColor(const orxOBJECT *_pstObject);
955 
961 extern orxDLLAPI orxCOLOR *orxFASTCALL orxObject_GetColor(const orxOBJECT *_pstObject, orxCOLOR *_pstColor);
962 
968 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetRGB(orxOBJECT *_pstObject, const orxVECTOR *_pvRGB);
969 
974 extern orxDLLAPI void orxFASTCALL orxObject_SetRGBRecursive(orxOBJECT *_pstObject, const orxVECTOR *_pvRGB);
975 
981 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetAlpha(orxOBJECT *_pstObject, orxFLOAT _fAlpha);
982 
987 extern orxDLLAPI void orxFASTCALL orxObject_SetAlphaRecursive(orxOBJECT *_pstObject, orxFLOAT _fAlpha);
988 
989 
996 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetRepeat(orxOBJECT *_pstObject, orxFLOAT _fRepeatX, orxFLOAT _fRepeatY);
997 
1004 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_GetRepeat(const orxOBJECT *_pstObject, orxFLOAT *_pfRepeatX, orxFLOAT *_pfRepeatY);
1005 
1006 
1012 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetBlendMode(orxOBJECT *_pstObject, orxDISPLAY_BLEND_MODE _eBlendMode);
1013 
1018 extern orxDLLAPI orxDISPLAY_BLEND_MODE orxFASTCALL orxObject_GetBlendMode(const orxOBJECT *_pstObject);
1029 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetLifeTime(orxOBJECT *_pstObject, orxFLOAT _fLifeTime);
1030 
1035 extern orxDLLAPI orxFLOAT orxFASTCALL orxObject_GetLifeTime(const orxOBJECT *_pstObject);
1036 
1042 extern orxDLLAPI orxFLOAT orxFASTCALL orxObject_GetActiveTime(const orxOBJECT *_pstObject);
1050 extern orxDLLAPI orxU32 orxFASTCALL orxObject_GetDefaultGroupID();
1051 
1056 extern orxDLLAPI orxU32 orxFASTCALL orxObject_GetGroupID(const orxOBJECT *_pstObject);
1057 
1063 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetGroupID(orxOBJECT *_pstObject, orxU32 _u32GroupID);
1064 
1069 extern orxDLLAPI void orxFASTCALL orxObject_SetGroupIDRecursive(orxOBJECT *_pstObject, orxU32 _u32GroupID);
1070 
1076 extern orxDLLAPI orxOBJECT *orxFASTCALL orxObject_GetNext(const orxOBJECT *_pstObject, orxU32 _u32GroupID);
1089 extern orxDLLAPI orxOBJECT *orxFASTCALL orxObject_Pick(const orxVECTOR *_pvPosition, orxU32 _u32GroupID);
1090 
1097 extern orxDLLAPI orxOBJECT *orxFASTCALL orxObject_BoxPick(const orxOBOX *_pstBox, orxU32 _u32GroupID);
1100 #endif /* _orxOBJECT_H_ */
1101 
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 orxBANK *orxFASTCALL orxObject_CreateNeighborList(const orxOBOX *_pstCheckBox, orxU32 _u32GroupID)
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_Play(orxOBJECT *_pstObject)
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:87
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:394
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_Stop(orxOBJECT *_pstObject)
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 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.8.11