#ifndef __MYGL_H__ #define __MYGL_H__ #ifdef WIN32 #include //Remove if possible #endif #include #include //#include //Hopefully nothing needs this remove if it works in windows #include #include "datatypes.h" #include "screen.h" #include "tga.h" #include "bmp.h" #include "strmanip.h" #include "window.h" using namespace std; #ifdef WIN32 //These three are windows specific static HDC hDC=NULL; // Private GDI device context static HGLRC hRC=NULL; // Permanent rendering context static HINSTANCE hInstance; // Application instance #endif extern OpenArena::Window g_Screen; int InitGL(GLvoid); bool LoadGLTexture(string , GLuint&, GLuint = GL_LINEAR, GLuint = GL_LINEAR); void FreeGLTexture(GLuint&); #endif