X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=vid_null.c;h=e70e745704632641dd016fd0559226db1bdebb82;hb=58aa79c8c3ddb4d6955bef9418e56f3b8e4971b0;hp=7daea1e5b02fb3e32b5c901391ec61d990ece0f0;hpb=71c88e4a876a4cfcccf312e3cd4ddbb1ced6d11f;p=xonotic%2Fdarkplaces.git diff --git a/vid_null.c b/vid_null.c index 7daea1e5..e70e7457 100644 --- a/vid_null.c +++ b/vid_null.c @@ -22,13 +22,15 @@ 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); + Con_Printf("Received signal %d, exiting...\n", sig); Sys_Quit(); exit(0); } @@ -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,20 +70,11 @@ void VID_Init(void) InitSig(); // trap evil signals } -int VID_InitMode(int fullscreen, int width, int height, int bpp) -{ - return false; -} - -int GL_OpenLibrary(const char *name) +int VID_InitMode(int fullscreen, int width, int height, int bpp, int refreshrate, int stereobuffer) { return false; } -void GL_CloseLibrary(void) -{ -} - void *GL_GetProcAddress(const char *name) { return NULL; @@ -98,10 +84,6 @@ void Sys_SendKeyEvents(void) { } -void IN_Commands(void) -{ -} - void IN_Move(void) { }