aboutsummaryrefslogtreecommitdiffstats
path: root/QW/client/cvar.h
diff options
context:
space:
mode:
authorwyatt8740 <wyatt8740@users.noreply.github.com>2023-10-01 23:53:17 -0400
committerwyatt8740 <wyatt8740@users.noreply.github.com>2023-10-02 00:00:01 -0400
commit72d9253ab2e5e0630c824c7130a40b7158323bc9 (patch)
treefc12bd36b3eb63ef6aeae213018d4f89981a08f4 /QW/client/cvar.h
parent68254ebe0411236d178ead073d5c176faae732a1 (diff)
downloadquake-pum-72d9253ab2e5e0630c824c7130a40b7158323bc9.tar.gz
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).
Diffstat (limited to 'QW/client/cvar.h')
-rw-r--r--QW/client/cvar.h6
1 files changed, 6 insertions, 0 deletions
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;