4 // LordHavoc: these are only set in wgl
5 qboolean isG200 = false; // LordHavoc: the Matrox G200 can't do per pixel alpha, and it uses a D3D driver for GL... ugh...
6 qboolean isRagePro = false; // LordHavoc: the ATI Rage Pro has limitations with per pixel alpha (the color scaler does not apply to per pixel alpha images...), although not as bad as a G200.
8 // LordHavoc: compiled vertex array support
9 qboolean gl_supportslockarrays = false;
10 // LordHavoc: ARB multitexture support
11 qboolean gl_mtexable = false;
14 cvar_t vid_mode = {0, "vid_mode", "0"};
15 cvar_t vid_mouse = {CVAR_SAVE, "vid_mouse", "1"};
16 cvar_t vid_fullscreen = {0, "vid_fullscreen", "1"};
18 void (GLAPIENTRY *qglMTexCoord2f) (GLenum, GLfloat, GLfloat);
19 void (GLAPIENTRY *qglSelectTexture) (GLenum);
20 void (GLAPIENTRY *qglLockArraysEXT) (GLint first, GLint count);
21 void (GLAPIENTRY *qglUnlockArraysEXT) (void);
23 void Force_CenterView_f (void)
25 cl.viewangles[PITCH] = 0;
28 void VID_InitCvars(void)
30 Cvar_RegisterVariable(&vid_mode);
31 Cvar_RegisterVariable(&vid_mouse);
32 Cvar_RegisterVariable(&vid_fullscreen);
33 Cmd_AddCommand("force_centerview", Force_CenterView_f);