From 72d9253ab2e5e0630c824c7130a40b7158323bc9 Mon Sep 17 00:00:00 2001 From: wyatt8740 Date: Sun, 1 Oct 2023 23:53:17 -0400 Subject: Got X11 QuakeWorld to build (no GLQuakeWorld yet!). Added support for 24-bit color depth (ripped out of WinQuake, which appears to have a newer version of vid_x.c). Also, added SDL audio code (almost directly translated from WinQuake/netquake code). --- QW/client/cvar.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'QW/client/cvar.h') diff --git a/QW/client/cvar.h b/QW/client/cvar.h index bc72791..58b4e41 100644 --- a/QW/client/cvar.h +++ b/QW/client/cvar.h @@ -53,6 +53,12 @@ Cvars are restricted from having the same names as commands to keep this interface from being ambiguous. */ +/* for sdl */ +#if defined(USE_SDL2) +#define CVAR_NONE 0 +#endif +/* sdl end */ + typedef struct cvar_s { char *name; -- cgit v1.2.3