]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - vid_null.c
more fullscreen cleanup
[xonotic/darkplaces.git] / vid_null.c
index 19af599e4ec84bc71fdf902893140bc269b7821d..bade6d07d7782c057518dab9c6fb98f19c6c6715 100644 (file)
@@ -17,20 +17,22 @@ along with this program; if not, write to the Free Software
 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 */
 
-#include <signal.h>
 #include "quakedef.h"
 
+#include <signal.h>
+
 int cl_available = false;
 
+qboolean vid_supportrefreshrate = false;
+
 void VID_Shutdown(void)
 {
 }
 
 void signal_handler(int sig)
 {
-       printf("Received signal %d, exiting...\n", sig);
-       Sys_Quit();
-       exit(0);
+       Con_Printf("Received signal %d, exiting...\n", sig);
+       Sys_Quit(1);
 }
 
 void InitSig(void)
@@ -49,23 +51,20 @@ void InitSig(void)
 #endif
 }
 
-void VID_GetWindowSize (int *x, int *y, int *width, int *height)
+void VID_SetMouse (qboolean fullscreengrab, qboolean relative, qboolean hidecursor)
 {
-       *x = *y = 0;
-       *width = 1;
-       *height = 1;
 }
 
 void VID_Finish (void)
 {
 }
 
-int VID_SetGamma(unsigned short *ramps)
+int VID_SetGamma(unsigned short *ramps, int rampsize)
 {
        return FALSE;
 }
 
-int VID_GetGamma(unsigned short *ramps)
+int VID_GetGamma(unsigned short *ramps, int rampsize)
 {
        return FALSE;
 }
@@ -75,7 +74,7 @@ void VID_Init(void)
        InitSig(); // trap evil signals
 }
 
-int VID_InitMode(int fullscreen, int width, int height, int bpp)
+int VID_InitMode(int fullscreen, int *width, int *height, int bpp, int refreshrate, int stereobuffer, int samples)
 {
        return false;
 }
@@ -89,10 +88,6 @@ void Sys_SendKeyEvents(void)
 {
 }
 
-void IN_Commands(void)
-{
-}
-
 void IN_Move(void)
 {
 }