X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;ds=sidebyside;f=vid_null.c;h=28f92f8cb46bef2fec55c6914db1fc30ca4748c5;hb=390c6ca4e5b5eaae64a8b630796003218e61d969;hp=19af599e4ec84bc71fdf902893140bc269b7821d;hpb=08cfbcc087c853e657a505fd4dc985539921650c;p=xonotic%2Fdarkplaces.git diff --git a/vid_null.c b/vid_null.c index 19af599e..28f92f8c 100644 --- a/vid_null.c +++ b/vid_null.c @@ -22,15 +22,16 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 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 +50,16 @@ void InitSig(void) #endif } -void VID_GetWindowSize (int *x, int *y, int *width, int *height) -{ - *x = *y = 0; - *width = 1; - *height = 1; -} - -void VID_Finish (void) +void VID_Finish (qboolean allowmousegrab) { } -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 +69,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) { return false; } @@ -89,10 +83,6 @@ void Sys_SendKeyEvents(void) { } -void IN_Commands(void) -{ -} - void IN_Move(void) { }