|
Last change
on this file since 3255 was
3196,
checked in by bensch, 21 years ago
|
|
orxonox/trunk: moved importer into the Trunk, now no merging is needed anymore.
|
|
File size:
643 bytes
|
| Rev | Line | |
|---|
| [2748] | 1 | #ifndef _WINDOWHANDLER_H |
|---|
| 2 | #define _WINDOWHANDLER_H |
|---|
| 3 | |
|---|
| [2804] | 4 | extern int verbose; |
|---|
| 5 | |
|---|
| [3196] | 6 | #include "../stdincl.h" |
|---|
| [2995] | 7 | |
|---|
| [2748] | 8 | #include <stdarg.h> |
|---|
| 9 | #include <stdio.h> |
|---|
| 10 | #include <string.h> |
|---|
| 11 | #include <stdlib.h> |
|---|
| 12 | #include <math.h> |
|---|
| 13 | |
|---|
| [2931] | 14 | #ifdef __WIN32__ |
|---|
| 15 | #include <windows.h> |
|---|
| 16 | #endif /* __WIN32__ */ |
|---|
| [2748] | 17 | |
|---|
| 18 | #define TRUE 1 |
|---|
| 19 | #define FALSE 0 |
|---|
| 20 | #define BOOL int |
|---|
| 21 | |
|---|
| 22 | class 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); |
|---|
| [2936] | 29 | SDL_Surface* screen; |
|---|
| [2748] | 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.