]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cvar.h
Fixed partially the sound code for DP video captures. It still can't sync with the...
[xonotic/darkplaces.git] / cvar.h
diff --git a/cvar.h b/cvar.h
index 8a7dbc8eaa21dc1756c287aa8679953e0ebd39e6..0ed510ab72012528b8f45ebad19b45a97cd2cfe0 100644 (file)
--- a/cvar.h
+++ b/cvar.h
@@ -57,8 +57,11 @@ interface from being ambiguous.
 #define CVAR_H
 
 // cvar flags
+
 #define CVAR_SAVE 1
 #define CVAR_NOTIFY 2
+#define        CVAR_READONLY 4
+#define CVAR_MAXFLAGSVAL 7 // used to determine if flags is valid
 
 /*
 // type of a cvar for menu purposes
@@ -144,7 +147,7 @@ qboolean Cvar_Command (void);
 // command.  Returns true if the command was a variable reference that
 // was handled. (print or change)
 
-void Cvar_WriteVariables (QFile *f);
+void Cvar_WriteVariables (qfile_t *f);
 // Writes lines containing "set variable value" for all variables
 // with the archive flag set to true.