aboutsummaryrefslogtreecommitdiffstats
path: root/WinQuake/cvar.h
diff options
context:
space:
mode:
authorwyatt8740 <wyattfward@gmail.com>2021-01-19 14:40:32 -0500
committerwyatt8740 <wyattfward@gmail.com>2021-01-19 14:40:32 -0500
commit6f34ea985bc389605b9e03645ab258259ba49c81 (patch)
tree98874957c6baaae857ed8ce70e0c624c1f8ba50c /WinQuake/cvar.h
parent9b671e8d4380c6cdf4b70fbf954e29481b9fdf85 (diff)
downloadquake-pum-6f34ea985bc389605b9e03645ab258259ba49c81.tar.gz
SDL2 audio backend, retrofitted from quakespasm (Music still requires either a CD drive with analogue audio playback or CD drive emulator software like cdemu, but SFX no longer require OSS DMA for playback and Quake no longer inherently prevents other software from making sound while running)
Diffstat (limited to 'WinQuake/cvar.h')
-rw-r--r--WinQuake/cvar.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/WinQuake/cvar.h b/WinQuake/cvar.h
index 771b340..ef5a0ed 100644
--- a/WinQuake/cvar.h
+++ b/WinQuake/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;