]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cvar.h
Add qdefs.h and qstats.h to split up quakedef.h. Make a lot of headers standalone...
[xonotic/darkplaces.git] / cvar.h
diff --git a/cvar.h b/cvar.h
index 525d4f004695b955f7dce91b1c7c441eabdb6e4d..65a2e1c5301d586b65895a261bbdb0cdcb714016 100644 (file)
--- a/cvar.h
+++ b/cvar.h
@@ -19,9 +19,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 */
 // cvar.h
 
-struct cmd_state_s;
-typedef struct cmd_state_s cmd_state_t;
-
 /*
 
 cvar_t variables are used to hold scalar or string variables that can be changed or displayed at the console or prog code as well as accessed directly
@@ -59,6 +56,11 @@ interface from being ambiguous.
 #ifndef CVAR_H
 #define CVAR_H
 
+#include "qtypes.h"
+#include "qdefs.h"
+typedef struct cmd_state_s cmd_state_t;
+typedef struct qfile_s qfile_t;
+
 typedef struct cvar_s
 {
        int flags;