| 
                Last change
                  on this file since 3151 was
                  2860,
                  checked in by dave, 21 years ago
           | 
        
        
          | 
               
orxonox/branches/dave: das level hat jetzt form angenommen, stand:nach der Convention vom Samstag…. 
 
           | 
        
        | 
            File size:
            593 bytes
           | 
      
      
        
  | Rev | Line |   | 
|---|
| [2748] | 1 | #ifndef _WINDOWHANDLER_H | 
|---|
 | 2 | #define _WINDOWHANDLER_H | 
|---|
 | 3 |  | 
|---|
| [2804] | 4 | extern 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 |  | 
|---|
 | 16 |  | 
|---|
 | 17 | #define TRUE 1 | 
|---|
 | 18 | #define FALSE 0 | 
|---|
 | 19 | #define BOOL int | 
|---|
 | 20 |  | 
|---|
 | 21 | class WindowHandler | 
|---|
 | 22 | { | 
|---|
 | 23 |   public: | 
|---|
 | 24 |     WindowHandler() { }; | 
|---|
 | 25 |     ~WindowHandler() { }; | 
|---|
 | 26 |     GLvoid KillGLWindow(GLvoid); | 
|---|
 | 27 |     BOOL CreateGLWindow(char* title, int width, int height, int bits, BOOL fullscreenflag); | 
|---|
 | 28 |   private: | 
|---|
 | 29 |     int InitGL(GLvoid); | 
|---|
 | 30 |     void ReSizeGLScene(GLsizei width, GLsizei height);   | 
|---|
 | 31 | }; | 
|---|
 | 32 |  | 
|---|
 | 33 |  | 
|---|
 | 34 | #endif | 
|---|
       
      
      Note: See 
TracBrowser
        for help on using the repository browser.