diff --git a/reaction/ta_ui/ta_ui.plg b/reaction/ta_ui/ta_ui.plg
index 8af02b1f..a176bebe 100644
--- a/reaction/ta_ui/ta_ui.plg
+++ b/reaction/ta_ui/ta_ui.plg
@@ -6,7 +6,7 @@
--------------------Configuration: ui - Win32 Release TA--------------------
Command Lines
-Creating temporary file "D:\DOCUME~1\Andrei\LOCALS~1\Temp\RSP9A.tmp" with contents
+Creating temporary file "D:\DOCUME~1\Andrei\LOCALS~1\Temp\RSP7DA.tmp" with contents
[
/nologo /G6 /ML /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "UI_EXPORTS" /Fp"Release_TA/ta_ui.pch" /YX /Fo"Release_TA/" /Fd"Release_TA/" /FD /c
"C:\Games\Quake3\rq3source\reaction\game\bg_misc.c"
@@ -20,8 +20,8 @@ Creating temporary file "D:\DOCUME~1\Andrei\LOCALS~1\Temp\RSP9A.tmp" with conten
"C:\Games\Quake3\rq3source\reaction\ta_ui\ui_syscalls.c"
"C:\Games\Quake3\rq3source\reaction\ta_ui\ui_util.c"
]
-Creating command line "cl.exe @D:\DOCUME~1\Andrei\LOCALS~1\Temp\RSP9A.tmp"
-Creating temporary file "D:\DOCUME~1\Andrei\LOCALS~1\Temp\RSP9B.tmp" with contents
+Creating command line "cl.exe @D:\DOCUME~1\Andrei\LOCALS~1\Temp\RSP7DA.tmp"
+Creating temporary file "D:\DOCUME~1\Andrei\LOCALS~1\Temp\RSP7DB.tmp" with contents
[
/nologo /base:"0x40000000" /dll /incremental:no /pdb:"Release_TA/uix86.pdb" /map:"Release_TA/uix86.map" /machine:I386 /def:".\ui.def" /out:"uix86.dll" /implib:"Release_TA/uix86.lib"
.\Release_TA\bg_misc.obj
@@ -35,7 +35,7 @@ Creating temporary file "D:\DOCUME~1\Andrei\LOCALS~1\Temp\RSP9B.tmp" with conten
.\Release_TA\ui_syscalls.obj
.\Release_TA\ui_util.obj
]
-Creating command line "link.exe @D:\DOCUME~1\Andrei\LOCALS~1\Temp\RSP9B.tmp"
+Creating command line "link.exe @D:\DOCUME~1\Andrei\LOCALS~1\Temp\RSP7DB.tmp"
Output Window
Compiling...
bg_misc.c
diff --git a/reaction/ta_ui/ui_atoms.c b/reaction/ta_ui/ui_atoms.c
index c04d0203..b479fd88 100644
--- a/reaction/ta_ui/ui_atoms.c
+++ b/reaction/ta_ui/ui_atoms.c
@@ -5,6 +5,9 @@
//-----------------------------------------------------------------------------
//
// $Log$
+// Revision 1.6 2002/03/14 21:52:08 makro
+// no message
+//
// Revision 1.5 2002/03/10 22:10:10 makro
// no message
//
@@ -437,6 +440,44 @@ qboolean UI_ConsoleCommand( int realTime ) {
}
return qtrue;
}
+/*
+ if ( Q_stricmp (cmd, "ifCvars") == 0) {
+ if (trap_Argc() >= 4) {
+ char cvar[MAX_CVAR_VALUE_STRING], cvarValue[MAX_CVAR_VALUE_STRING];
+ char *val = "";
+ char command[256];
+ char script[1024];
+ qboolean doScript = qfalse;
+ int i;
+
+ Q_strncpyz(cvar, UI_Argv(1), sizeof(cvar));
+ Q_strncpyz(cvarValue, UI_Argv(2), sizeof(cvarValue));
+ memset(script, 0, sizeof(script));
+
+ for (i=3; i 1) {
+ Q_strcat(script, sizeof(script), " ");
+ }
+ }
+ val = UI_Cvar_VariableString(cvar);
+
+ if (Q_stricmp(val, cvarValue) == 0) {
+ doScript = qtrue;
+ Com_Printf(va("^3%s = %s^7\n", val, cvarValue));
+ }
+
+ if (doScript) {
+ trap_Cmd_ExecuteText(EXEC_APPEND, va("%s\n", script));
+ }
+
+ } else {
+ Com_Printf(va("Usage: %s