Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/branches/bezierTrack/importer/windowHandler.h @ 3161

Last change on this file since 3161 was 2995, checked in by bensch, 20 years ago

orxonox/trunk: merged branches/osX back into the Trunk.
Conflicts resolved in Favor of trunk in all the Makefiles, and fixed many strange entries in configure.ac
merged with command: svn merge branches/osX/ trunk/ -r 2887:HEAD
AND most Important of all: change back to AUTOMAKE-1.7

File size: 728 bytes
Line 
1#ifndef _WINDOWHANDLER_H
2#define _WINDOWHANDLER_H
3
4extern int verbose;
5
6#include <GL/gl.h>
7#include <GL/glu.h>
8
9#ifndef __APPLE__
10#include <SDL/SDL.h>
11#else
12#include <SDL.h>
13#endif
14
15#include <stdarg.h>
16#include <stdio.h>
17#include <string.h>
18#include <stdlib.h>
19#include <math.h>
20
21#ifdef __WIN32__
22#include <windows.h>
23#endif /* __WIN32__ */
24
25#define TRUE 1
26#define FALSE 0
27#define BOOL int
28
29class WindowHandler
30{
31  public:
32    WindowHandler() { };
33    ~WindowHandler() { };
34    GLvoid KillGLWindow(GLvoid);
35    BOOL CreateGLWindow(char* title, int width, int height, int bits, BOOL fullscreenflag);
36    SDL_Surface* screen;
37  private:
38    int InitGL(GLvoid);
39    void ReSizeGLScene(GLsizei width, GLsizei height); 
40};
41
42
43#endif
Note: See TracBrowser for help on using the repository browser.