From 2f46d06e31a7c3c8ac0d35832471d19da1575cb4 Mon Sep 17 00:00:00 2001 From: Scott Brooks Date: Mon, 1 Jul 2002 02:55:13 +0000 Subject: [PATCH] change the format of the autorecorded demo name --- reaction/cgame/cg_servercmds.c | 10 +-- reaction/cgame/cgame.plg | 116 +++++++++++++++++++++++---------- 2 files changed, 87 insertions(+), 39 deletions(-) diff --git a/reaction/cgame/cg_servercmds.c b/reaction/cgame/cg_servercmds.c index 176d23f3..9c87a4ce 100644 --- a/reaction/cgame/cg_servercmds.c +++ b/reaction/cgame/cg_servercmds.c @@ -5,6 +5,9 @@ //----------------------------------------------------------------------------- // // $Log$ +// Revision 1.54 2002/07/01 02:55:13 blaze +// change the format of the autorecorded demo name +// // Revision 1.53 2002/06/30 17:33:01 jbravo // New radio sounds and the 0wned sound was added. // @@ -1192,11 +1195,8 @@ void CG_RQ3_Cmd() case 1: case 3: trap_RealTime(&qtime); - Com_sprintf(playerName, sizeof(playerName), "%s", cgs.clientinfo->name); - RemoveColorEscapeSequences(playerName); - Com_sprintf(scrnshotName, sizeof(scrnshotName), "record %d-%d-%d_%d-%d-%d_%s_%s\n", - qtime.tm_year + 1900, qtime.tm_mon + 1, qtime.tm_mday, qtime.tm_hour, qtime.tm_min, - qtime.tm_sec, cgs.mapname, playerName); + Com_sprintf(scrnshotName, sizeof(scrnshotName), "record %d-%d-%d_%d-%d-%d\n", + qtime.tm_year + 1900, qtime.tm_mon + 1, qtime.tm_mday, qtime.tm_hour, qtime.tm_min, qtime.tm_sec); for (i = 0; i < MAX_QPATH; i++) { switch (scrnshotName[i]) { case '>': diff --git a/reaction/cgame/cgame.plg b/reaction/cgame/cgame.plg index d0c72fee..2ee0c65a 100644 --- a/reaction/cgame/cgame.plg +++ b/reaction/cgame/cgame.plg @@ -3,50 +3,98 @@
 

Build Log

---------------------Configuration: cgame - Win32 Release-------------------- +--------------------Configuration: cgame - Win32 Debug--------------------

Command Lines

-Creating temporary file "D:\DOCUME~1\Andrei\LOCALS~1\Temp\RSP1CC.tmp" with contents +Creating temporary file "C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\RSP7.tmp" with contents [ -/nologo /G6 /ML /W4 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /Fp"Release/cgame.pch" /YX /Fo"Release/" /Fd"Release/" /FD /c -"C:\Games\Quake3\rq3source\reaction\cgame\cg_info.c" +/nologo /G5 /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FR"Debug/" /Fp"Debug/cgame.pch" /YX /Fo"Debug/" /Fd"Debug/" /FD /c +"C:\Development\reaction\game\bg_misc.c" +"C:\Development\reaction\game\bg_pmove.c" +"C:\Development\reaction\game\bg_slidemove.c" +"C:\Development\reaction\cgame\cg_consolecmds.c" +"C:\Development\reaction\cgame\cg_draw.c" +"C:\Development\reaction\cgame\cg_drawtools.c" +"C:\Development\reaction\cgame\cg_effects.c" +"C:\Development\reaction\cgame\cg_ents.c" +"C:\Development\reaction\cgame\cg_event.c" +"C:\Development\reaction\cgame\cg_info.c" +"C:\Development\reaction\cgame\cg_localents.c" +"C:\Development\reaction\cgame\cg_main.c" +"C:\Development\reaction\cgame\cg_marks.c" +"C:\Development\reaction\cgame\cg_players.c" +"C:\Development\reaction\cgame\cg_playerstate.c" +"C:\Development\reaction\cgame\cg_predict.c" +"C:\Development\reaction\cgame\cg_scoreboard.c" +"C:\Development\reaction\cgame\cg_servercmds.c" +"C:\Development\reaction\cgame\cg_snapshot.c" +"C:\Development\reaction\cgame\cg_syscalls.c" +"C:\Development\reaction\cgame\cg_view.c" +"C:\Development\reaction\cgame\cg_weapons.c" +"C:\Development\reaction\game\q_math.c" +"C:\Development\reaction\game\q_shared.c" +"C:\Development\reaction\ui\ui_shared.c" ] -Creating command line "cl.exe @D:\DOCUME~1\Andrei\LOCALS~1\Temp\RSP1CC.tmp" -Creating temporary file "D:\DOCUME~1\Andrei\LOCALS~1\Temp\RSP1CD.tmp" with contents +Creating command line "cl.exe @C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\RSP7.tmp" +Creating temporary file "C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\RSP8.tmp" with contents [ -/nologo /base:"0x30000000" /subsystem:windows /dll /incremental:no /pdb:"Release/cgamex86.pdb" /map:"Release/cgamex86.map" /machine:I386 /def:".\cgame.def" /out:"../Release/cgamex86.dll" /implib:"Release/cgamex86.lib" -.\Release\bg_misc.obj -.\Release\bg_pmove.obj -.\Release\bg_slidemove.obj -.\Release\cg_consolecmds.obj -.\Release\cg_draw.obj -.\Release\cg_drawtools.obj -.\Release\cg_effects.obj -.\Release\cg_ents.obj -.\Release\cg_event.obj -.\Release\cg_info.obj -.\Release\cg_localents.obj -.\Release\cg_main.obj -.\Release\cg_marks.obj -.\Release\cg_players.obj -.\Release\cg_playerstate.obj -.\Release\cg_predict.obj -.\Release\cg_scoreboard.obj -.\Release\cg_servercmds.obj -.\Release\cg_snapshot.obj -.\Release\cg_syscalls.obj -.\Release\cg_view.obj -.\Release\cg_weapons.obj -.\Release\q_math.obj -.\Release\q_shared.obj -.\Release\ui_shared.obj +/nologo /base:"0x30000000" /subsystem:windows /dll /incremental:yes /pdb:"Debug/cgamex86.pdb" /map:"Debug/cgamex86.map" /debug /machine:I386 /def:".\cgame.def" /out:"../Debug/cgamex86.dll" /implib:"Debug/cgamex86.lib" +.\Debug\bg_misc.obj +.\Debug\bg_pmove.obj +.\Debug\bg_slidemove.obj +.\Debug\cg_consolecmds.obj +.\Debug\cg_draw.obj +.\Debug\cg_drawtools.obj +.\Debug\cg_effects.obj +.\Debug\cg_ents.obj +.\Debug\cg_event.obj +.\Debug\cg_info.obj +.\Debug\cg_localents.obj +.\Debug\cg_main.obj +.\Debug\cg_marks.obj +.\Debug\cg_players.obj +.\Debug\cg_playerstate.obj +.\Debug\cg_predict.obj +.\Debug\cg_scoreboard.obj +.\Debug\cg_servercmds.obj +.\Debug\cg_snapshot.obj +.\Debug\cg_syscalls.obj +.\Debug\cg_view.obj +.\Debug\cg_weapons.obj +.\Debug\q_math.obj +.\Debug\q_shared.obj +.\Debug\ui_shared.obj ] -Creating command line "link.exe @D:\DOCUME~1\Andrei\LOCALS~1\Temp\RSP1CD.tmp" +Creating command line "link.exe @C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\RSP8.tmp"

Output Window

Compiling... +bg_misc.c +bg_pmove.c +bg_slidemove.c +cg_consolecmds.c +cg_draw.c +cg_drawtools.c +cg_effects.c +cg_ents.c +cg_event.c cg_info.c +cg_localents.c +cg_main.c +cg_marks.c +cg_players.c +cg_playerstate.c +cg_predict.c +cg_scoreboard.c +cg_servercmds.c +cg_snapshot.c +cg_syscalls.c +cg_view.c +cg_weapons.c +q_math.c +q_shared.c +ui_shared.c Linking... - Creating library Release/cgamex86.lib and object Release/cgamex86.exp + Creating library Debug/cgamex86.lib and object Debug/cgamex86.exp