X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=vid_null.c;h=6a6b8929360c5bf19de061e23290e9fc28c080e0;hb=aa4e757f138e5921f243484637e9ddc5b88678e1;hp=e70e745704632641dd016fd0559226db1bdebb82;hpb=bf7fdc26371e2823650c8af6d78ef1e28513f7eb;p=xonotic%2Fdarkplaces.git diff --git a/vid_null.c b/vid_null.c index e70e7457..6a6b8929 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; @@ -31,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) @@ -51,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) { } @@ -70,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 VID_InitMode(int fullscreen, int width, int height, int bpp, int refreshrate, int stereobuffer, int samples) { return false; }