[quake3-commits] r1545 - trunk/code/qcommon

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Fri May 8 05:13:13 EDT 2009


Author: ludwig
Date: 2009-05-08 05:13:13 -0400 (Fri, 08 May 2009)
New Revision: 1545

Modified:
   trunk/code/qcommon/cvar.c
Log:
cvarlist: also display systeminfo and user created flags

Modified: trunk/code/qcommon/cvar.c
===================================================================
--- trunk/code/qcommon/cvar.c	2009-05-08 09:13:09 UTC (rev 1544)
+++ trunk/code/qcommon/cvar.c	2009-05-08 09:13:13 UTC (rev 1545)
@@ -842,6 +842,11 @@
 		} 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 @@
 		} else {
 			Com_Printf(" ");
 		}
+		if (var->flags & CVAR_USER_CREATED) {
+			Com_Printf("?");
+		} else {
+			Com_Printf(" ");
+		}
 
 		Com_Printf (" %s \"%s\"\n", var->name, var->string);
 	}



More information about the quake3-commits mailing list