main.h cstdio math.h camera.h level.h mygl.h worlddefs.h mydefs.h screen.h window.h vector.h void void InitControls () InitControls Write brief comment for InitControls here. <exception class> Description of criteria for throwing this exception. Write detailed description for InitControls here.Write remarks for InitControls here. Separate items with the '|' character. int int InitGL () InitGL Write brief comment for InitGL here. Write description of return value here. <exception class> Description of criteria for throwing this exception. Write detailed description for InitGL here.Write remarks for InitGL here. Separate items with the '|' character. void void ReSizeGLScene (GLsizei width, GLsizei height) ReSizeGLScene GLsizei width GLsizei height Write brief comment for ReSizeGLScene here. width Description of parameter width. height Description of parameter height. <exception class> Description of criteria for throwing this exception. Write detailed description for ReSizeGLScene here.Write remarks for ReSizeGLScene here. Separate items with the '|' character. bool bool keys[256] [256] keys bool bool keys2[256] [256] keys2 bool bool active active true bool bool fullscreen fullscreen true OpenArena::Vec2i OpenArena::Vec2i g_mousePosition g_mousePosition float float lastTime lastTime 0.0f float float currentTime currentTime #ifndef__main_h__ #define__main_h__ #ifdefWIN32 #include<windows.h>//Headerfileforwindows #endif #include<cstdio>//Headerfileforstandardinput/output #ifdefWIN32 #include<GL/gl.h>//HeaderfileforOpenGL32library #include<GL/glu.h>//HeaderfileforGlu32library #endif #ifdef__linux #include<GL/gl.h>//HeaderfileforOpenGL32library #include<GL/glu.h>//HeaderfileforGlu32library #endif #ifdef__APPLE__ #include<GL/gl.h>//HeaderfileforOpenGL32library #include<GL/glu.h>//HeaderfileforGlu32library #endif #include<math.h> #include"camera.h" #include"level.h" #include"mygl.h" #include"worlddefs.h" #include"mydefs.h" #include"screen.h" #include"window.h" #include"vector.h" #pragmawarning(disable:4786) //Variables staticboolkeys[256];//Arrayforwhichkeysaredownnow staticboolkeys2[256];//Arrayforwhichkeysareweredownalready staticboolactive=true;//Iswindowactiveflag staticboolfullscreen=true;//Iswindowfullscreenflag //staticboolshowConsole=false;//Doweneedtodrawtheconsole staticOpenArena::Vec2ig_mousePosition; #ifdefWIN32 staticPOINTmpos; #endif staticfloatlastTime=0.0f;//Thiswillholdthetimefromthelastframe staticfloatcurrentTime; //FunctionDeclarations //Thisshouldn'tneedtobehere //LRESULTCALLBACKWndProc(HWND,UINT,WPARAM,LPARAM);//DeclarationforWndProc voidInitControls();//Setsupplayercontrols intInitGL();//AllsetupforOpenGLgoeshere voidReSizeGLScene(GLsizeiwidth,GLsizeiheight);//ResizeandinitializetheGLwindow #endif