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
19 //*************************************************************************//
\r
20 // History of changes:
\r
22 // 2009/03/08 - Pete
\r
23 // - generic cleanup for the Peops release
\r
25 //*************************************************************************//
\r
38 // internally used defines
\r
40 #define GPUCOMMAND(x) ((x>>24) & 0xff)
\r
41 #define RED(x) (x & 0xff)
\r
42 #define BLUE(x) ((x>>16) & 0xff)
\r
43 #define GREEN(x) ((x>>8) & 0xff)
\r
44 #define COLOR(x) (x & 0xffffff)
\r
49 BOOL bSetupPixelFormat(HDC hDC);
\r
58 BOOL offsetline(void);
\r
60 unsigned short offset2(void);
\r
61 unsigned short offset3(void);
\r
62 unsigned short offset4(void);
\r
63 unsigned short offsetline(void);
\r
65 void offsetST(void);
\r
66 void offsetBlk(void);
\r
67 void offsetScreenUpload(long Position);
\r
68 void assignTexture3(void);
\r
69 void assignTexture4(void);
\r
70 void assignTextureSprite(void);
\r
71 void assignTextureVRAMWrite(void);
\r
72 void SetOGLDisplaySettings (unsigned short DisplaySet);
\r
73 void ReadConfig(void);
\r
74 void WriteConfig(void);
\r
75 void SetExtGLFuncs(void);
\r
76 ///////////////////////////////////////////////////////////////////////
\r
82 #endif // _GL_DRAW_H_
\r