Commit | Line | Data |
---|---|---|
ef79bbde P |
1 | /***************************************************************************\r |
2 | draw.h - description\r | |
3 | -------------------\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 | |
8 | \r | |
9 | /***************************************************************************\r | |
10 | * *\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 | |
16 | * *\r | |
17 | ***************************************************************************/\r | |
18 | \r | |
19 | #ifndef _GL_DRAW_H_\r | |
20 | #define _GL_DRAW_H_\r | |
21 | \r | |
22 | // internally used defines\r | |
23 | \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 | |
29 | \r | |
30 | // prototypes\r | |
31 | int GLinitialize();\r | |
32 | void GLcleanup();\r | |
33 | BOOL offset2(void);\r | |
34 | BOOL offset3(void);\r | |
35 | BOOL offset4(void);\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 | |
48 | \r | |
49 | ///////////////////////////////////////////////////////////////////////\r | |
50 | \r | |
51 | #endif // _GL_DRAW_H_\r |