cvarlist: also display systeminfo and user created flags

This commit is contained in:
Ludwig Nussel 2009-05-08 09:13:13 +00:00
parent abda6d984a
commit 68fa0b55a9

View file

@ -842,6 +842,11 @@ void Cvar_List_f( void ) {
} else { } else {
Com_Printf(" "); Com_Printf(" ");
} }
if (var->flags & CVAR_SYSTEMINFO) {
Com_Printf("s");
} else {
Com_Printf(" ");
}
if (var->flags & CVAR_USERINFO) { if (var->flags & CVAR_USERINFO) {
Com_Printf("U"); Com_Printf("U");
} else { } else {
@ -872,6 +877,11 @@ void Cvar_List_f( void ) {
} else { } else {
Com_Printf(" "); Com_Printf(" ");
} }
if (var->flags & CVAR_USER_CREATED) {
Com_Printf("?");
} else {
Com_Printf(" ");
}
Com_Printf (" %s \"%s\"\n", var->name, var->string); Com_Printf (" %s \"%s\"\n", var->name, var->string);
} }