]> git.jsancho.org Git - lugaru.git/blob - Source/gamegl.h
License: Update GPLv2+ header to match current FSF recommendation
[lugaru.git] / Source / gamegl.h
1 /*
2 Copyright (C) 2003, 2010 - Wolfire Games
3
4 This file is part of Lugaru.
5
6 Lugaru is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
10
11 Lugaru is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with Lugaru.  If not, see <http://www.gnu.org/licenses/>.
18 */
19
20 #ifndef _LUGARU_GL_H_
21 #define _LUGARU_GL_H_
22
23
24 #include <cstring>
25 #include <iostream>
26 #include <fstream>
27 #include <algorithm>
28 #include <map>
29 #include <string>
30
31 #ifdef WIN32
32   #define WIN32_LEAN_AND_MEAN
33   #define Polygon WinPolygon
34   #include <windows.h>
35   #undef Polygon
36 #endif
37
38 #define GL_GLEXT_PROTOTYPES 1
39 #include "GL/gl.h"
40 #include "GL/glu.h"
41 #include "GL/glext.h"
42 #include "MacCompatibility.h"
43
44 using namespace std;
45
46 /* !!! FIXME: until we replace logger better. --ryan. */
47 #define LOGFUNC
48 void LOG(const std::string &fmt, ...);
49
50 #endif
51
52