1 /***************************************************************************
\r
4 begin : Sun Mar 08 2009
\r
5 copyright : (C) 1999-2009 by Pete Bernert
\r
6 web : www.pbernert.com
\r
7 ***************************************************************************/
\r
9 /***************************************************************************
\r
11 * This program is free software; you can redistribute it and/or modify *
\r
12 * it under the terms of the GNU General Public License as published by *
\r
13 * the Free Software Foundation; either version 2 of the License, or *
\r
14 * (at your option) any later version. See also the license.txt file for *
\r
15 * additional informations. *
\r
17 ***************************************************************************/
\r
22 // internally used defines
\r
24 #define GPUCOMMAND(x) ((x>>24) & 0xff)
\r
25 #define RED(x) (x & 0xff)
\r
26 #define BLUE(x) ((x>>16) & 0xff)
\r
27 #define GREEN(x) ((x>>8) & 0xff)
\r
28 #define COLOR(x) (x & 0xffffff)
\r
36 BOOL offsetline(void);
\r
37 void offsetST(void);
\r
38 void offsetBlk(void);
\r
39 void offsetScreenUpload(int Position);
\r
40 void assignTexture3(void);
\r
41 void assignTexture4(void);
\r
42 void assignTextureSprite(void);
\r
43 void assignTextureVRAMWrite(void);
\r
44 void SetOGLDisplaySettings (BOOL DisplaySet);
\r
45 void ReadConfig(void);
\r
46 void WriteConfig(void);
\r
47 void SetExtGLFuncs(void);
\r
49 ///////////////////////////////////////////////////////////////////////
\r
51 #endif // _GL_DRAW_H_
\r