X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=vid_null.c;h=166315892c591ac60ccbe5424eb5e0cd4c6da7a5;hb=df69ff9acd9810e5ede63838e599bf591f6fae8d;hp=bade6d07d7782c057518dab9c6fb98f19c6c6715;hpb=49b02ed536f0537ee36b6f21a2f130aad56d428d;p=xonotic%2Fdarkplaces.git diff --git a/vid_null.c b/vid_null.c index bade6d07..16631589 100644 --- a/vid_null.c +++ b/vid_null.c @@ -29,13 +29,13 @@ void VID_Shutdown(void) { } -void signal_handler(int sig) +static void signal_handler(int sig) { Con_Printf("Received signal %d, exiting...\n", sig); Sys_Quit(1); } -void InitSig(void) +static void InitSig(void) { #ifndef WIN32 signal(SIGHUP, signal_handler); @@ -74,7 +74,7 @@ void VID_Init(void) InitSig(); // trap evil signals } -int VID_InitMode(int fullscreen, int *width, int *height, int bpp, int refreshrate, int stereobuffer, int samples) +qboolean VID_InitMode(viddef_mode_t *mode) { return false; } @@ -88,6 +88,15 @@ void Sys_SendKeyEvents(void) { } +void VID_BuildJoyState(vid_joystate_t *joystate) +{ +} + void IN_Move(void) { } + +size_t VID_ListModes(vid_mode_t *modes, size_t maxcount) +{ + return 0; +}