orx  stable
Portable Game Engine
orxFrame.h File Reference
#include "orxInclude.h"
#include "math/orxVector.h"

Go to the source code of this file.

Macros

#define orxFRAME_KU32_FLAG_DEPTH_SCALE   0x00000004
 
#define orxFRAME_KU32_FLAG_FLIP_X   0x00000010
 
#define orxFRAME_KU32_FLAG_FLIP_Y   0x00000020
 
#define orxFRAME_KU32_FLAG_NONE   0x00000000
 
#define orxFRAME_KU32_FLAG_SCROLL_X   0x00000001
 
#define orxFRAME_KU32_FLAG_SCROLL_Y   0x00000002
 
#define orxFRAME_KU32_MASK_FLIP_BOTH   0x00000030
 
#define orxFRAME_KU32_MASK_SCROLL_BOTH   0x00000003
 
#define orxFRAME_KU32_MASK_USER_ALL   0x000000FF
 

Typedefs

typedef struct __orxFRAME_t orxFRAME
 

Enumerations

enum  orxFRAME_SPACE { orxFRAME_SPACE_GLOBAL = 0, orxFRAME_SPACE_LOCAL, orxFRAME_SPACE_NUMBER, orxFRAME_SPACE_NONE = orxENUM_NONE }
 

Functions

orxDLLAPI orxFRAME *orxFASTCALL orxFrame_Create (orxU32 _u32Flags)
 
orxDLLAPI orxSTATUS orxFASTCALL orxFrame_Delete (orxFRAME *_pstFrame)
 
orxDLLAPI void orxFASTCALL orxFrame_Exit ()
 
orxDLLAPI orxFRAME *orxFASTCALL orxFrame_GetChild (const orxFRAME *_pstFrame)
 
orxDLLAPI orxFRAME *orxFASTCALL orxFrame_GetParent (const orxFRAME *_pstFrame)
 
orxDLLAPI orxVECTOR *orxFASTCALL orxFrame_GetPosition (orxFRAME *_pstFrame, orxFRAME_SPACE _eSpace, orxVECTOR *_pvPos)
 
orxDLLAPI orxFLOAT orxFASTCALL orxFrame_GetRotation (orxFRAME *_pstFrame, orxFRAME_SPACE _eSpace)
 
orxDLLAPI orxVECTOR *orxFASTCALL orxFrame_GetScale (orxFRAME *_pstFrame, orxFRAME_SPACE _eSpace, orxVECTOR *_pvScale)
 
orxDLLAPI orxFRAME *orxFASTCALL orxFrame_GetSibling (const orxFRAME *_pstFrame)
 
orxDLLAPI orxSTATUS orxFASTCALL orxFrame_Init ()
 
orxDLLAPI orxBOOL orxFASTCALL orxFrame_IsRootChild (const orxFRAME *_pstFrame)
 
orxDLLAPI void orxFASTCALL orxFrame_SetParent (orxFRAME *_pstFrame, orxFRAME *_pstParent)
 
orxDLLAPI void orxFASTCALL orxFrame_SetPosition (orxFRAME *_pstFrame, orxFRAME_SPACE _eSpace, const orxVECTOR *_pvPos)
 
orxDLLAPI void orxFASTCALL orxFrame_SetRotation (orxFRAME *_pstFrame, orxFRAME_SPACE _eSpace, orxFLOAT _fRotation)
 
orxDLLAPI void orxFASTCALL orxFrame_SetScale (orxFRAME *_pstFrame, orxFRAME_SPACE _eSpace, const orxVECTOR *_pvScale)
 
orxDLLAPI void orxFASTCALL orxFrame_Setup ()
 
orxDLLAPI orxVECTOR *orxFASTCALL orxFrame_TransformPosition (orxFRAME *_pstFrame, orxFRAME_SPACE _eSpace, orxVECTOR *_pvPos)
 
orxDLLAPI orxFLOAT orxFASTCALL orxFrame_TransformRotation (orxFRAME *_pstFrame, orxFRAME_SPACE _eSpace, orxFLOAT _fRotation)
 
orxDLLAPI orxVECTOR *orxFASTCALL orxFrame_TransformScale (orxFRAME *_pstFrame, orxFRAME_SPACE _eSpace, orxVECTOR *_pvScale)
 

Detailed Description

Date
01/12/2003
Author
iarwa.nosp@m.in@o.nosp@m.rx-pr.nosp@m.ojec.nosp@m.t.org
Todo:
  • Use matrix instead of disjoint position vector/rotation float/scale vector
  • Add 3D support

Definition in file orxFrame.h.


Generated for orx by doxygen 1.5.6