qboolean userefreshrate;
int stereobuffer;
int samples;
-
- // these are used for state tracking
- qboolean mouseaim;
} viddef_t;
// global video state
// sets the mode; only used by the Quake engine for resetting to mode 0 (the
// base mode) on memory allocation failures
-int VID_InitMode(int fullscreen, int width, int height, int bpp, int refreshrate, int stereobuffer, int samples);
+int VID_InitMode(int fullscreen, int *width, int *height, int bpp, int refreshrate, int stereobuffer, int samples);
// allocates and opens an appropriate OpenGL context (and its window)
// (called from various shutdown/deactivation functions)
void VID_RestoreSystemGamma(void);
-void VID_GrabMouse (qboolean grab);
+void VID_SetMouse (qboolean fullscreengrab, qboolean relative, qboolean hidecursor);
void VID_Finish (void);
void VID_Restart_f(void);