X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=vid_null.c;h=a7c18f977d95c363131a536a02028aad276ce33d;hb=ecddae3859018ea01887528f3248f03a138be6c3;hp=0b3f0c27b8de7f21cdb43f3b11047df1a4b26545;hpb=65fea57d305ccc8d64fa83759d5b32bb69617b95;p=xonotic%2Fdarkplaces.git diff --git a/vid_null.c b/vid_null.c index 0b3f0c27..a7c18f97 100644 --- a/vid_null.c +++ b/vid_null.c @@ -17,11 +17,14 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include #include "quakedef.h" +#include + int cl_available = false; +qboolean vid_supportrefreshrate = false; + void VID_Shutdown(void) { } @@ -29,8 +32,7 @@ void VID_Shutdown(void) void signal_handler(int sig) { Con_Printf("Received signal %d, exiting...\n", sig); - Sys_Quit(); - exit(0); + Sys_Quit(1); } void InitSig(void) @@ -49,23 +51,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 +70,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 +84,6 @@ void Sys_SendKeyEvents(void) { } -void IN_Commands(void) -{ -} - void IN_Move(void) { }