Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/branches/sound/importer/windowHandler.h @ 3405

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

orxonox/branches/sound: merged Trunk back into sound. and included all headers for real into the configure.ac-script.

File size: 679 bytes
RevLine 
[2748]1#ifndef _WINDOWHANDLER_H
2#define _WINDOWHANDLER_H
3
[2804]4extern int verbose;
5
[2748]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
[2931]16#ifdef __WIN32__
17#include <windows.h>
18#endif /* __WIN32__ */
[2748]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);
[2936]31    SDL_Surface* screen;
[2748]32  private:
33    int InitGL(GLvoid);
34    void ReSizeGLScene(GLsizei width, GLsizei height); 
35};
36
37
38#endif
Note: See TracBrowser for help on using the repository browser.