X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=blobdiff_plain;f=cvar.h;h=3c94aae266b91b13e25b481e0162931256aee192;hp=8fb6ca2c75e50e63f090be0ecbf9385b65f7104c;hb=3f4d89c11594f247887a62a78877a36f85fdd2ee;hpb=995b8e62733d66cf8ba63b62af1ba802612c80c3 diff --git a/cvar.h b/cvar.h index 8fb6ca2c..3c94aae2 100644 --- a/cvar.h +++ b/cvar.h @@ -124,6 +124,10 @@ typedef struct cvar_s char *defstring; + unsigned int globaldefindex_progid[3]; + int globaldefindex[3]; + int globaldefindex_stringno[3]; + //menucvar_t menuinfo; struct cvar_s *next; struct cvar_s *nextonhashchain; @@ -201,6 +205,7 @@ void Cvar_List_f (void); void Cvar_Set_f (void); void Cvar_SetA_f (void); +void Cvar_Del_f (void); // commands to create new cvars (or set existing ones) // seta creates an archived cvar (saved to config) @@ -211,6 +216,8 @@ cvar_t *Cvar_Get (const char *name, const char *value, int flags, const char *ne extern char *cvar_dummy_description; // ALWAYS the same pointer extern cvar_t *cvar_vars; // used to list all cvars +void Cvar_UpdateAllAutoCvars(void); // updates ALL autocvars of the active prog to the cvar values (savegame loading) + #ifdef FILLALLCVARSWITHRUBBISH void Cvar_FillAll_f(); #endif /* FILLALLCVARSWITHRUBBISH */