Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/trunk/importer/windowHandler.h @ 2931

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

orxonox/trunk/importer: included mouse-speed-turning (touch the screen and the object will start to move). Also included windows.h if in WIN32. general cleanup of framework

File size: 654 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#include <SDL/SDL.h>
9
10#include <stdarg.h>
11#include <stdio.h>
12#include <string.h>
13#include <stdlib.h>
14#include <math.h>
15
16#ifdef __WIN32__
17#include <windows.h>
18#endif /* __WIN32__ */
19
20#define TRUE 1
21#define FALSE 0
22#define BOOL int
23
24class WindowHandler
25{
26  public:
27    WindowHandler() { };
28    ~WindowHandler() { };
29    GLvoid KillGLWindow(GLvoid);
30    BOOL CreateGLWindow(char* title, int width, int height, int bits, BOOL fullscreenflag);
31  private:
32    int InitGL(GLvoid);
33    void ReSizeGLScene(GLsizei width, GLsizei height); 
34};
35
36
37#endif
Note: See TracBrowser for help on using the repository browser.