mygl.h string datatypes.h screen.h tga.h bmp.h strmanip.h window.h src/camera.h src/myglTexture.h src/myglFont.h src/main.h src/mygl.cpp OpenArena OpenArena::Window OpenArena::Window g_Screen g_Screen #ifndef__MYGL_H__ #define__MYGL_H__ #ifdefWIN32 #include<windows.h>//Removeifpossible #include<GL/gl.h> #include<GL/glu.h> #endif #ifdef__linux #include<GL/gl.h> #include<GL/glu.h> #endif #ifdef__APPLE__ #include<GL/gl.h> #include<GL/glu.h> #endif //#include<gl/glaux.h>//Hopefullynothingneedsthisremoveifitworksinwindows #include<string> #include"datatypes.h" #include"screen.h" #include"tga.h" #include"bmp.h" #include"strmanip.h" #include"window.h" usingnamespacestd; #ifdefWIN32 //Thesethisiswindowsspecific staticHINSTANCEhInstance;//Applicationinstance #endif externOpenArena::Windowg_Screen; //Thisdoesn'tneedtobehereIthink //intInitGL(GLvoid); namespaceOpenArena { boolLoadGLTexture(string,GLuint&,GLuint=GL_LINEAR,GLuint=GL_LINEAR); voidFreeGLTexture(GLuint&); }; #endif