#ifndef _WINDOWHANDLER_H #define _WINDOWHANDLER_H extern int verbose; #include #include #ifndef __APPLE__ #include #else #include #endif #include #include #include #include #include #ifdef __WIN32__ #include #endif /* __WIN32__ */ #define TRUE 1 #define FALSE 0 #define BOOL int class WindowHandler { public: WindowHandler() { }; ~WindowHandler() { }; GLvoid KillGLWindow(GLvoid); BOOL CreateGLWindow(char* title, int width, int height, int bits, BOOL fullscreenflag); SDL_Surface* screen; private: int InitGL(GLvoid); void ReSizeGLScene(GLsizei width, GLsizei height); }; #endif