From 498491547f61f6ba5311fd8330d2a2a453c2d972 Mon Sep 17 00:00:00 2001 From: ludwig Date: Fri, 8 May 2009 09:13:13 +0000 Subject: cvarlist: also display systeminfo and user created flags git-svn-id: svn://svn.icculus.org/quake3/trunk@1545 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/qcommon/cvar.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/code/qcommon/cvar.c b/code/qcommon/cvar.c index 1aafb18..abab453 100644 --- a/code/qcommon/cvar.c +++ b/code/qcommon/cvar.c @@ -842,6 +842,11 @@ void Cvar_List_f( void ) { } else { Com_Printf(" "); } + if (var->flags & CVAR_SYSTEMINFO) { + Com_Printf("s"); + } else { + Com_Printf(" "); + } if (var->flags & CVAR_USERINFO) { Com_Printf("U"); } else { @@ -872,6 +877,11 @@ void Cvar_List_f( void ) { } else { Com_Printf(" "); } + if (var->flags & CVAR_USER_CREATED) { + Com_Printf("?"); + } else { + Com_Printf(" "); + } Com_Printf (" %s \"%s\"\n", var->name, var->string); } -- cgit v1.2.3