Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/branches/nico/src/importer/windowHandler.h @ 3347

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

orxonox/branches: updated branches: buerli, nico, sound. And moved bezierTrack to old.bezierTrack. Conflicts resolved in a usefull order.
Conflics mostly resolved in favor of trunk
merge.

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