X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=vid_null.c;h=4ac7ab11a9c336c573c14f8818c5ca5ae3eb1f70;hb=1b6062f6c60a2525501e1133052d87307ee02e36;hp=28f92f8cb46bef2fec55c6914db1fc30ca4748c5;hpb=6c4d997a497cb5afde74b4bf16f6a9ade5aca37e;p=xonotic%2Fdarkplaces.git diff --git a/vid_null.c b/vid_null.c index 28f92f8c..4ac7ab11 100644 --- a/vid_null.c +++ b/vid_null.c @@ -17,9 +17,10 @@ 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; @@ -50,7 +51,11 @@ void InitSig(void) #endif } -void VID_Finish (qboolean allowmousegrab) +void VID_SetMouse (qboolean fullscreengrab, qboolean relative, qboolean hidecursor) +{ +} + +void VID_Finish (void) { } @@ -69,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) +qboolean VID_InitMode(viddef_mode_t *mode) { return false; } @@ -83,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; +}