X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=blobdiff_plain;f=cvar.h;h=4e3e97901817f46f8b8461e75831bdb05705dc14;hp=936553e298bfe2d1b668e5626fcffe22f88a008a;hb=0256e57e16a302ad45090618b8d6eb5930788809;hpb=fc312c111c0afaa2e4879bfd24c9183003c82edc diff --git a/cvar.h b/cvar.h index 936553e2..4e3e9790 100644 --- 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 +