orx  1.10
Portable Game Engine
orxObject.h
Go to the documentation of this file.
1 /* Orx - Portable Game Engine
2  *
3  * Copyright (c) 2008-2019 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 
534 extern orxDLLAPI void orxFASTCALL orxObject_SetCurrentAnimRecursive(orxOBJECT *_pstObject, const orxSTRING _zAnimName);
535 
543 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetTargetAnim(orxOBJECT *_pstObject, const orxSTRING _zAnimName);
544 
550 extern orxDLLAPI void orxFASTCALL orxObject_SetTargetAnimRecursive(orxOBJECT *_pstObject, const orxSTRING _zAnimName);
551 
557 extern orxDLLAPI orxBOOL orxFASTCALL orxObject_IsCurrentAnim(const orxOBJECT *_pstObject, const orxSTRING _zAnimName);
558 
564 extern orxDLLAPI orxBOOL orxFASTCALL orxObject_IsTargetAnim(const orxOBJECT *_pstObject, const orxSTRING _zAnimName);
575 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetSpeed(orxOBJECT *_pstObject, const orxVECTOR *_pvSpeed);
576 
582 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetRelativeSpeed(orxOBJECT *_pstObject, const orxVECTOR *_pvRelativeSpeed);
583 
589 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetAngularVelocity(orxOBJECT *_pstObject, orxFLOAT _fVelocity);
590 
596 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetCustomGravity(orxOBJECT *_pstObject, const orxVECTOR *_pvCustomGravity);
597 
603 extern orxDLLAPI orxVECTOR *orxFASTCALL orxObject_GetSpeed(const orxOBJECT *_pstObject, orxVECTOR *_pvSpeed);
604 
610 extern orxDLLAPI orxVECTOR *orxFASTCALL orxObject_GetRelativeSpeed(const orxOBJECT *_pstObject, orxVECTOR *_pvRelativeSpeed);
611 
616 extern orxDLLAPI orxFLOAT orxFASTCALL orxObject_GetAngularVelocity(const orxOBJECT *_pstObject);
617 
623 extern orxDLLAPI orxVECTOR *orxFASTCALL orxObject_GetCustomGravity(const orxOBJECT *_pstObject, orxVECTOR *_pvCustomGravity);
624 
629 extern orxDLLAPI orxFLOAT orxFASTCALL orxObject_GetMass(const orxOBJECT *_pstObject);
630 
636 extern orxDLLAPI orxVECTOR *orxFASTCALL orxObject_GetMassCenter(const orxOBJECT *_pstObject, orxVECTOR *_pvMassCenter);
637 
638 
644 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_ApplyTorque(orxOBJECT *_pstObject, orxFLOAT _fTorque);
645 
652 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_ApplyForce(orxOBJECT *_pstObject, const orxVECTOR *_pvForce, const orxVECTOR *_pvPoint);
653 
660 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_ApplyImpulse(orxOBJECT *_pstObject, const orxVECTOR *_pvImpulse, const orxVECTOR *_pvPoint);
661 
662 
673 extern orxDLLAPI orxOBJECT *orxFASTCALL orxObject_Raycast(const orxVECTOR *_pvBegin, const orxVECTOR *_pvEnd, orxU16 _u16SelfFlags, orxU16 _u16CheckMask, orxBOOL _bEarlyExit, orxVECTOR *_pvContact, orxVECTOR *_pvNormal);
684 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetTextString(orxOBJECT *_pstObject, const orxSTRING _zString);
685 
690 extern orxDLLAPI const orxSTRING orxFASTCALL orxObject_GetTextString(orxOBJECT *_pstObject);
701 extern orxDLLAPI orxOBOX *orxFASTCALL orxObject_GetBoundingBox(const orxOBJECT *_pstObject, orxOBOX *_pstBoundingBox);
712 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_AddFX(orxOBJECT *_pstObject, const orxSTRING _zFXConfigID);
713 
720 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_AddUniqueFX(orxOBJECT *_pstObject, const orxSTRING _zFXConfigID);
721 
728 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_AddDelayedFX(orxOBJECT *_pstObject, const orxSTRING _zFXConfigID, orxFLOAT _fDelay);
729 
739 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_AddUniqueDelayedFX(orxOBJECT *_pstObject, const orxSTRING _zFXConfigID, orxFLOAT _fDelay);
740 
746 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_RemoveFX(orxOBJECT *_pstObject, const orxSTRING _zFXConfigID);
747 
753 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_SynchronizeFX(orxOBJECT *_pstObject, const orxOBJECT *_pstModel);
764 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_AddSound(orxOBJECT *_pstObject, const orxSTRING _zSoundConfigID);
765 
771 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_RemoveSound(orxOBJECT *_pstObject, const orxSTRING _zSoundConfigID);
772 
777 extern orxDLLAPI orxSOUND *orxFASTCALL orxObject_GetLastAddedSound(const orxOBJECT *_pstObject);
778 
784 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetVolume(orxOBJECT *_pstObject, orxFLOAT _fVolume);
785 
791 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetPitch(orxOBJECT *_pstObject, orxFLOAT _fPitch);
792 
797 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_Play(orxOBJECT *_pstObject);
798 
803 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_Stop(orxOBJECT *_pstObject);
804 
815 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_AddShader(orxOBJECT *_pstObject, const orxSTRING _zShaderConfigID);
816 
822 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_RemoveShader(orxOBJECT *_pstObject, const orxSTRING _zShaderConfigID);
823 
828 extern orxDLLAPI void orxFASTCALL orxObject_EnableShader(orxOBJECT *_pstObject, orxBOOL _bEnable);
829 
834 extern orxDLLAPI orxBOOL orxFASTCALL orxObject_IsShaderEnabled(const orxOBJECT *_pstObject);
845 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_AddTimeLineTrack(orxOBJECT *_pstObject, const orxSTRING _zTrackConfigID);
846 
852 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_RemoveTimeLineTrack(orxOBJECT *_pstObject, const orxSTRING _zTrackConfigID);
853 
858 extern orxDLLAPI void orxFASTCALL orxObject_EnableTimeLine(orxOBJECT *_pstObject, orxBOOL _bEnable);
859 
864 extern orxDLLAPI orxBOOL orxFASTCALL orxObject_IsTimeLineEnabled(const orxOBJECT *_pstObject);
874 extern orxDLLAPI const orxSTRING orxFASTCALL orxObject_GetName(const orxOBJECT *_pstObject);
907 extern orxDLLAPI orxBANK *orxFASTCALL orxObject_CreateNeighborList(const orxOBOX *_pstCheckBox, orxSTRINGID _stGroupID);
908 
912 extern orxDLLAPI void orxFASTCALL orxObject_DeleteNeighborList(orxBANK *_pstObjectList);
923 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetSmoothing(orxOBJECT *_pstObject, orxDISPLAY_SMOOTHING _eSmoothing);
924 
929 extern orxDLLAPI orxDISPLAY_SMOOTHING orxFASTCALL orxObject_GetSmoothing(const orxOBJECT *_pstObject);
939 extern orxDLLAPI orxTEXTURE *orxFASTCALL orxObject_GetWorkingTexture(const orxOBJECT *_pstObject);
949 extern orxDLLAPI orxGRAPHIC *orxFASTCALL orxObject_GetWorkingGraphic(const orxOBJECT *_pstObject);
950 
956 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetColor(orxOBJECT *_pstObject, const orxCOLOR *_pstColor);
957 
962 extern orxDLLAPI void orxFASTCALL orxObject_SetColorRecursive(orxOBJECT *_pstObject, const orxCOLOR *_pstColor);
963 
968 extern orxDLLAPI orxBOOL orxFASTCALL orxObject_HasColor(const orxOBJECT *_pstObject);
969 
975 extern orxDLLAPI orxCOLOR *orxFASTCALL orxObject_GetColor(const orxOBJECT *_pstObject, orxCOLOR *_pstColor);
976 
982 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetRGB(orxOBJECT *_pstObject, const orxVECTOR *_pvRGB);
983 
988 extern orxDLLAPI void orxFASTCALL orxObject_SetRGBRecursive(orxOBJECT *_pstObject, const orxVECTOR *_pvRGB);
989 
995 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetAlpha(orxOBJECT *_pstObject, orxFLOAT _fAlpha);
996 
1001 extern orxDLLAPI void orxFASTCALL orxObject_SetAlphaRecursive(orxOBJECT *_pstObject, orxFLOAT _fAlpha);
1002 
1003 
1010 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetRepeat(orxOBJECT *_pstObject, orxFLOAT _fRepeatX, orxFLOAT _fRepeatY);
1011 
1018 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_GetRepeat(const orxOBJECT *_pstObject, orxFLOAT *_pfRepeatX, orxFLOAT *_pfRepeatY);
1019 
1020 
1026 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetBlendMode(orxOBJECT *_pstObject, orxDISPLAY_BLEND_MODE _eBlendMode);
1027 
1032 extern orxDLLAPI orxBOOL orxFASTCALL orxObject_HasBlendMode(const orxOBJECT *_pstObject);
1033 
1038 extern orxDLLAPI orxDISPLAY_BLEND_MODE orxFASTCALL orxObject_GetBlendMode(const orxOBJECT *_pstObject);
1049 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetLifeTime(orxOBJECT *_pstObject, orxFLOAT _fLifeTime);
1050 
1055 extern orxDLLAPI orxFLOAT orxFASTCALL orxObject_GetLifeTime(const orxOBJECT *_pstObject);
1056 
1062 extern orxDLLAPI orxFLOAT orxFASTCALL orxObject_GetActiveTime(const orxOBJECT *_pstObject);
1070 extern orxDLLAPI orxSTRINGID orxFASTCALL orxObject_GetDefaultGroupID();
1071 
1076 extern orxDLLAPI orxSTRINGID orxFASTCALL orxObject_GetGroupID(const orxOBJECT *_pstObject);
1077 
1083 extern orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetGroupID(orxOBJECT *_pstObject, orxSTRINGID _stGroupID);
1084 
1089 extern orxDLLAPI void orxFASTCALL orxObject_SetGroupIDRecursive(orxOBJECT *_pstObject, orxSTRINGID _stGroupID);
1090 
1096 extern orxDLLAPI orxOBJECT *orxFASTCALL orxObject_GetNext(const orxOBJECT *_pstObject, orxSTRINGID _stGroupID);
1109 extern orxDLLAPI orxOBJECT *orxFASTCALL orxObject_Pick(const orxVECTOR *_pvPosition, orxSTRINGID _stGroupID);
1110 
1117 extern orxDLLAPI orxOBJECT *orxFASTCALL orxObject_BoxPick(const orxOBOX *_pstBox, orxSTRINGID _stGroupID);
1120 #endif /* _orxOBJECT_H_ */
1121 
orxDLLAPI orxSTRINGID orxFASTCALL orxObject_GetGroupID(const orxOBJECT *_pstObject)
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:167
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 orxOBJECT *orxFASTCALL orxObject_BoxPick(const orxOBOX *_pstBox, orxSTRINGID _stGroupID)
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 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 void orxFASTCALL orxObject_SetTargetAnimRecursive(orxOBJECT *_pstObject, const orxSTRING _zAnimName)
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 orxOBJECT *orxFASTCALL orxObject_GetNext(const orxOBJECT *_pstObject, orxSTRINGID _stGroupID)
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 orxSTRINGID orxFASTCALL orxObject_GetDefaultGroupID()
orxDLLAPI orxFLOAT orxFASTCALL orxObject_GetWorldRotation(const orxOBJECT *_pstObject)
orxDLLAPI orxVECTOR *orxFASTCALL orxObject_GetSpeed(const orxOBJECT *_pstObject, orxVECTOR *_pvSpeed)
orxSTATUS
Definition: orxType.h:246
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 void orxFASTCALL orxObject_SetGroupIDRecursive(orxOBJECT *_pstObject, orxSTRINGID _stGroupID)
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:381
orxDLLAPI orxSTATUS orxFASTCALL orxObject_SetParent(orxOBJECT *_pstObject, void *_pParent)
orxDISPLAY_BLEND_MODE
Definition: orxDisplay.h:181
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)
orxDLLAPI orxOBJECT *orxFASTCALL orxObject_Raycast(const orxVECTOR *_pvBegin, const orxVECTOR *_pvEnd, orxU16 _u16SelfFlags, orxU16 _u16CheckMask, orxBOOL _bEarlyExit, orxVECTOR *_pvContact, orxVECTOR *_pvNormal)
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 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 orxSTATUS orxFASTCALL orxObject_SetGroupID(orxOBJECT *_pstObject, orxSTRINGID _stGroupID)
orxDLLAPI orxSTATUS orxFASTCALL orxObject_AddUniqueFX(orxOBJECT *_pstObject, const orxSTRING _zFXConfigID)
orxDLLAPI orxSTATUS orxFASTCALL orxObject_ApplyTorque(orxOBJECT *_pstObject, orxFLOAT _fTorque)
orxDLLAPI orxBANK *orxFASTCALL orxObject_CreateNeighborList(const orxOBOX *_pstCheckBox, orxSTRINGID _stGroupID)
orxDLLAPI void orxFASTCALL orxObject_SetAlphaRecursive(orxOBJECT *_pstObject, orxFLOAT _fAlpha)
orxDLLAPI orxTEXTURE *orxFASTCALL orxObject_GetWorkingTexture(const orxOBJECT *_pstObject)
orxDLLAPI orxBOOL orxFASTCALL orxObject_HasBlendMode(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 void orxFASTCALL orxObject_SetCurrentAnimRecursive(orxOBJECT *_pstObject, const orxSTRING _zAnimName)
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
orxDLLAPI orxOBJECT *orxFASTCALL orxObject_Pick(const orxVECTOR *_pvPosition, orxSTRINGID _stGroupID)

Generated for orx by doxygen 1.8.11