#ifndef VID_H
#define VID_H
+extern int cl_available;
+
typedef struct
{
// these are set with VID_GetWindowSize and can change from frame to frame
void *GL_GetProcAddress(const char *name);
int GL_CheckExtension(const char *name, const gl_extensionfunctionlist_t *funcs, const char *disableparm, int silent);
-double VID_CompareMode(int width1, int height1, int bpp1, int width2, int height2, int bpp2);
-
void VID_InitCvars(void);
void GL_Init (void);
void VID_CheckExtensions(void);
-void VID_Init (int fullscreen, int width, int height);
+void VID_Init (void);
+int VID_Mode(int fullscreen, int width, int height, int bpp);
// Called at startup
void VID_Shutdown (void);