aboutsummaryrefslogtreecommitdiffstats
path: root/code/qcommon
diff options
context:
space:
mode:
authorludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea>2009-05-08 09:13:13 +0000
committerludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea>2009-05-08 09:13:13 +0000
commit498491547f61f6ba5311fd8330d2a2a453c2d972 (patch)
tree0fc354f33ca4862964de81316c04fd1e95fe5b91 /code/qcommon
parent33946ac3a44651786adb5fe966badc40b81e2c21 (diff)
downloadioquake3-aero-498491547f61f6ba5311fd8330d2a2a453c2d972.tar.gz
ioquake3-aero-498491547f61f6ba5311fd8330d2a2a453c2d972.zip
cvarlist: also display systeminfo and user created flags
git-svn-id: svn://svn.icculus.org/quake3/trunk@1545 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/qcommon')
-rw-r--r--code/qcommon/cvar.c10
1 files changed, 10 insertions, 0 deletions
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);
}