]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cvar.h
DP code cleanup, stage one - all headers that can be protected by ifdef
[xonotic/darkplaces.git] / cvar.h
diff --git a/cvar.h b/cvar.h
index 936553e298bfe2d1b668e5626fcffe22f88a008a..4e3e97901817f46f8b8461e75831bdb05705dc14 100644 (file)
--- a/cvar.h
+++ b/cvar.h
@@ -53,6 +53,9 @@ Cvars are restricted from having the same names as commands to keep this
 interface from being ambiguous.
 */
 
+#ifndef CVAR_H
+#define CVAR_H
+
 // cvar flags
 #define CVAR_SAVE 1
 #define CVAR_NOTIFY 2
@@ -95,8 +98,6 @@ typedef struct cvar_s
        int                             flags;
        char                    *name;
        char                    *string;
-//     qboolean                archive;                // set to true to cause it to be saved to vars.rc
-//     qboolean                server;         // notifies players when changed
        int                             integer;
        float                   value;
        float                   vector[3];
@@ -159,3 +160,5 @@ void        Cvar_List_f (void);
 // Added by EvilTypeGuy eviltypeguy@qeradiant.com
 // Thanks to Matthias "Maddes" Buecher, http://www.inside3d.com/qip/
 
+#endif
+