5 #define CDX_VERSION_MAJOR 1 6 #define CDX_VERSION_MINOR 0 7 #define CDX_VERSION_REVISION 0 8 #define CDX_SDK_VERSION "1.0.0" 10 #ifndef CDX_GET_VERSION_ONLY 14 #pragma warning( push ) 15 #pragma warning( disable: 4251 ) 33 #define CDX_Color irr::video::SColor 34 #define CDXSurface irr::video::ITexture 36 #define CDXSpritePool void 40 #define CDXBLT_BLKALPHA 1 41 #define CDXBLT_BLKALPHAFAST 2 42 #define CDXBLT_BLKSCALED 3 43 #define CDXBLT_BLKSHADOW 4 44 #define CDXBLT_BLKSHADOWFAST 5 45 #define CDXBLT_BLKROTATED 6 46 #define CDXBLT_BLKROTOZOOM 7 47 #define CDXBLT_BLKHFLIP 8 48 #define CDXBLT_BLKVFLIP 9 49 #define CDXBLT_BLKSTRETCHED 10 51 #define CDXBLT_TRANS 100 52 #define CDXBLT_TRANSALPHA 101 53 #define CDXBLT_TRANSALPHAFAST 102 54 #define CDXBLT_TRANSSCALED 103 55 #define CDXBLT_TRANSSHADOW 104 56 #define CDXBLT_TRANSSHADOWFAST 105 57 #define CDXBLT_TRANSROTATED 106 58 #define CDXBLT_TRANSROTOZOOM 107 59 #define CDXBLT_TRANSHFLIP 108 60 #define CDXBLT_TRANSVFLIP 109 61 #define CDXBLT_TRANSSTRETCHED 110 62 #define CDXBLT_TRANSSHADOWFASTHFLIP 111 63 #define CDXBLT_TRANSVHFLIP 112 65 #define CDXBLT_TRANSALPHAMASK 120 68 #define CDXMEM_VIDEOONLY 0 69 #define CDXMEM_SYSTEMONLY 1 70 #define CDXMEM_VIDTHENSYS 2 73 #define CDXSIMD_NONE 0 75 #define CDXSIMD_3DNOW 4 103 #define _MAX_FNAME 64 156 #define BYTE unsigned char 157 #define UCHAR unsigned char 158 #define WORD unsigned int 159 #define UINT unsigned int 160 #define BOOL unsigned int 161 #define UINT32 unsigned long 162 #define DWORD unsigned long 166 #define LPCTSTR char* 167 #define FW_NORMAL 400 183 #define _MAXNAME30 30 186 #endif // #ifdef __WIN32__ 236 #define SkipWhite(p) while ( isspace(*p) ) p++ 240 #define SAFEDELETE(x) if(x != NULL) { delete x; x = NULL; } 244 #define DELETEARRAY(x) if(x != NULL) { delete [] x; x = NULL; } 249 #define ODS(a) OutputDebugString(a) 259 virtual int GetWidth(
void)
const;
260 virtual int GetHeight(
void)
const;
267 #pragma warning( pop ) 270 #endif // CDX_GET_VERSION_ONLY ARSA_API void ARSACALLCONV TextXY(irr::gui::IGUIFont *_font, int x, int y, int r, int g, int b, int a, int alignment, char *pString,...)
ARSA_API void ARSACALLCONV Fill(irr::u32 Col)
ARSA_API bool ARSACALLCONV PtInRect(CONST RECT *lprc, POINT pt)
GLuint GLfloat GLfloat GLfloat x1
GLdouble GLdouble GLdouble r
ARSA_API char *ARSACALLCONV stristr(const char *StrBase, const char *SubBase)
ARSA_API void ARSACALLCONV rectangleRGBA(void *unused, int x1, int y1, int x2, int y2, int r, int g, int b, int a)
struct POINTFLOAT POINTFLOAT
GLfixed GLfixed GLfixed y2
irr::io::path CB_CDX_PRE_NAME(const char *filename)
pre name variable & function
Everything in the Irrlicht Engine can be found in this namespace.
Main header file of the irrlicht, the only file needed to include.
ARSA_API void ARSACALLCONV TextPsdColor(irr::arsa::CARSAPsd *psd, const irr::core::stringc &layer_name, irr::gui::IGUIFont *_font, int r, int g, int b, int a, int alignment, char *pString,...)
ARSA_API void ARSACALLCONV PutPixel(int X, int Y, irr::u32 Col, int Thickness=2)
ARSA_API void ARSACALLCONV TextPsd(irr::arsa::CARSAPsd *psd, const irr::core::stringc &layer_name, irr::gui::IGUIFont *_font, char *pString,...)
RECT(int l, int t, int r, int b)
virtual irr::video::ITexture * GetBack()
ARSA_API void ARSACALLCONV CDXError(char *str,...)
ARSA_API bool ARSACALLCONV IntersectRect(PRECT Dest, PRECT Rect1, PRECT Rect2)
unsigned int u32
32 bit unsigned variable.
ARSA_API irr::io::path ARSACALLCONV cdx_exist_filename(const irr::io::path &folder, const char *filename)
GLint GLint GLint GLint GLint GLint y
ARSA_API void ARSACALLCONV boxRGBA(void *unused, int x1, int y1, int x2, int y2, int r, int g, int b, int a)
ARSA_API DWORD ARSACALLCONV _timeGetTime(void)
GLdouble GLdouble GLdouble GLdouble top
ARSA_API void ARSACALLCONV lineRGBA(void *unused, int x1, int y1, int x2, int y2, int r, int g, int b, int a)
GLboolean GLboolean GLboolean b
GLint GLint GLint GLint GLint x
struct POINTFLOAT * PPOINTFLOAT
ARSA_API irr::u32 ARSACALLCONV RGB(int r, int g, int b)
ARSA_API void ARSACALLCONV Sleep(DWORD dwMilliseconds)
Interface of a Video Driver dependent Texture.
GLboolean GLboolean GLboolean GLboolean a
ARSA_API void ARSACALLCONV CDX_SET_PRE_NAME(CB_CDX_PRE_NAME *func)
ARSA_API bool ARSACALLCONV SetRect(PRECT lprc, int xLeft, int yTop, int xRight, int yBottom)