From 279cea14b631560bfacbeed8ba0484c4e331441e Mon Sep 17 00:00:00 2001 From: Andrei Drexler Date: Tue, 21 May 2002 14:19:26 +0000 Subject: [PATCH] Printf's for misc_portal_surface setup errors --- reaction/game/g_misc.c | 5 +++++ reaction/game/game.plg | 44 ++++++++++++++++++++++++++++-------------- 2 files changed, 35 insertions(+), 14 deletions(-) diff --git a/reaction/game/g_misc.c b/reaction/game/g_misc.c index 3e09f129..c4c73be2 100644 --- a/reaction/game/g_misc.c +++ b/reaction/game/g_misc.c @@ -5,6 +5,9 @@ //----------------------------------------------------------------------------- // // $Log$ +// Revision 1.42 2002/05/21 14:19:26 makro +// Printf's for misc_portal_surface setup errors +// // Revision 1.41 2002/05/21 04:21:48 blaze // changed buoyancy to lift as per Sze // @@ -357,9 +360,11 @@ void SP_misc_portal_surface(gentity_t *ent) { //count - max pos if (ent->spawnflags & 1) { if (!G_SpawnInt("count", "0", &ent->count)) { + G_Printf("Cycling misc_portal_surface with no count at %s\n", vtos(ent->s.origin)); ent->spawnflags--; } else { if (ent->count < 2) { + G_Printf("Cycling misc_portal_surface with no count at %s\n", vtos(ent->s.origin)); ent->spawnflags--; } else { ent->size = 0; diff --git a/reaction/game/game.plg b/reaction/game/game.plg index e211a387..0606cde4 100644 --- a/reaction/game/game.plg +++ b/reaction/game/game.plg @@ -6,7 +6,7 @@ --------------------Configuration: cgame - Win32 Release--------------------

Command Lines

-Creating temporary file "D:\DOCUME~1\Andrei\LOCALS~1\Temp\RSP4C6.tmp" with contents +Creating temporary file "D:\DOCUME~1\Andrei\LOCALS~1\Temp\RSP50B.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\game\bg_misc.c" @@ -32,8 +32,8 @@ Creating temporary file "D:\DOCUME~1\Andrei\LOCALS~1\Temp\RSP4C6.tmp" with conte "C:\Games\Quake3\rq3source\reaction\cgame\cg_view.c" "C:\Games\Quake3\rq3source\reaction\cgame\cg_weapons.c" ] -Creating command line "cl.exe @D:\DOCUME~1\Andrei\LOCALS~1\Temp\RSP4C6.tmp" -Creating temporary file "D:\DOCUME~1\Andrei\LOCALS~1\Temp\RSP4C7.tmp" with contents +Creating command line "cl.exe @D:\DOCUME~1\Andrei\LOCALS~1\Temp\RSP50B.tmp" +Creating temporary file "D:\DOCUME~1\Andrei\LOCALS~1\Temp\RSP50C.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 @@ -62,7 +62,7 @@ Creating temporary file "D:\DOCUME~1\Andrei\LOCALS~1\Temp\RSP4C7.tmp" with conte .\Release\q_shared.obj .\Release\ui_shared.obj ] -Creating command line "link.exe @D:\DOCUME~1\Andrei\LOCALS~1\Temp\RSP4C7.tmp" +Creating command line "link.exe @D:\DOCUME~1\Andrei\LOCALS~1\Temp\RSP50C.tmp"

Output Window

Compiling... bg_misc.c @@ -101,7 +101,7 @@ cgamex86.dll - 0 error(s), 3 warning(s) --------------------Configuration: game - Win32 Release--------------------

Command Lines

-Creating temporary file "D:\DOCUME~1\Andrei\LOCALS~1\Temp\RSP4CB.tmp" with contents +Creating temporary file "D:\DOCUME~1\Andrei\LOCALS~1\Temp\RSP510.tmp" with contents [ /nologo /G6 /ML /W4 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /FR"c:\reactionoutput/" /Fp"c:\reactionoutput/game.pch" /YX /Fo"c:\reactionoutput/" /Fd"c:\reactionoutput/" /FD /c "C:\Games\Quake3\rq3source\reaction\game\ai_chat.c" @@ -111,6 +111,9 @@ Creating temporary file "D:\DOCUME~1\Andrei\LOCALS~1\Temp\RSP4CB.tmp" with conte "C:\Games\Quake3\rq3source\reaction\game\ai_main.c" "C:\Games\Quake3\rq3source\reaction\game\ai_team.c" "C:\Games\Quake3\rq3source\reaction\game\ai_vcmd.c" +"C:\Games\Quake3\rq3source\reaction\game\bg_misc.c" +"C:\Games\Quake3\rq3source\reaction\game\bg_pmove.c" +"C:\Games\Quake3\rq3source\reaction\game\bg_slidemove.c" "C:\Games\Quake3\rq3source\reaction\game\g_active.c" "C:\Games\Quake3\rq3source\reaction\game\g_arenas.c" "C:\Games\Quake3\rq3source\reaction\game\g_bot.c" @@ -139,8 +142,8 @@ Creating temporary file "D:\DOCUME~1\Andrei\LOCALS~1\Temp\RSP4CB.tmp" with conte "C:\Games\Quake3\rq3source\reaction\game\zcam.c" "C:\Games\Quake3\rq3source\reaction\game\zcam_target.c" ] -Creating command line "cl.exe @D:\DOCUME~1\Andrei\LOCALS~1\Temp\RSP4CB.tmp" -Creating temporary file "D:\DOCUME~1\Andrei\LOCALS~1\Temp\RSP4CC.tmp" with contents +Creating command line "cl.exe @D:\DOCUME~1\Andrei\LOCALS~1\Temp\RSP510.tmp" +Creating temporary file "D:\DOCUME~1\Andrei\LOCALS~1\Temp\RSP511.tmp" with contents [ kernel32.lib user32.lib winmm.lib /nologo /base:"0x20000000" /subsystem:windows /dll /incremental:no /pdb:"c:\reactionoutput/qagamex86.pdb" /map:"c:\reactionoutput/qagamex86.map" /machine:I386 /def:".\game.def" /out:"..\Release/qagamex86.dll" /implib:"c:\reactionoutput/qagamex86.lib" \reactionoutput\ai_chat.obj @@ -183,7 +186,7 @@ kernel32.lib user32.lib winmm.lib /nologo /base:"0x20000000" /subsystem:windows \reactionoutput\zcam.obj \reactionoutput\zcam_target.obj ] -Creating command line "link.exe @D:\DOCUME~1\Andrei\LOCALS~1\Temp\RSP4CC.tmp" +Creating command line "link.exe @D:\DOCUME~1\Andrei\LOCALS~1\Temp\RSP511.tmp"

Output Window

Compiling... ai_chat.c @@ -193,6 +196,9 @@ ai_dmq3.c ai_main.c ai_team.c ai_vcmd.c +bg_misc.c +bg_pmove.c +bg_slidemove.c g_active.c g_arenas.c g_bot.c @@ -218,7 +224,7 @@ g_trigger.c g_utils.c g_weapon.c rxn_game.c -C:\Games\Quake3\rq3source\reaction\game\g_weapon.c(2705) : warning C4701: local variable 'tr' may be used without having been initialized +C:\Games\Quake3\rq3source\reaction\game\g_weapon.c(2651) : warning C4701: local variable 'tr' may be used without having been initialized zcam.c zcam_target.c Linking... @@ -232,15 +238,20 @@ qagamex86.dll - 0 error(s), 1 warning(s) --------------------Configuration: ui - Win32 Release TA--------------------

Command Lines

-Creating temporary file "D:\DOCUME~1\Andrei\LOCALS~1\Temp\RSP4D0.tmp" with contents +Creating temporary file "D:\DOCUME~1\Andrei\LOCALS~1\Temp\RSP515.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" +"C:\Games\Quake3\rq3source\reaction\ta_ui\ui_atoms.c" +"C:\Games\Quake3\rq3source\reaction\ta_ui\ui_gameinfo.c" "C:\Games\Quake3\rq3source\reaction\ta_ui\ui_main.c" +"C:\Games\Quake3\rq3source\reaction\ta_ui\ui_players.c" +"C:\Games\Quake3\rq3source\reaction\ta_ui\ui_syscalls.c" ] -Creating command line "cl.exe @D:\DOCUME~1\Andrei\LOCALS~1\Temp\RSP4D0.tmp" -Creating temporary file "D:\DOCUME~1\Andrei\LOCALS~1\Temp\RSP4D1.tmp" with contents +Creating command line "cl.exe @D:\DOCUME~1\Andrei\LOCALS~1\Temp\RSP515.tmp" +Creating temporary file "D:\DOCUME~1\Andrei\LOCALS~1\Temp\RSP516.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" +/nologo /base:"0x40000000" /dll /incremental:no /pdb:"Release_TA/uix86.pdb" /map:"Release_TA/uix86.map" /machine:I386 /def:".\ui.def" /out:"../Release/uix86.dll" /implib:"Release_TA/uix86.lib" .\Release_TA\bg_misc.obj .\Release_TA\q_math.obj .\Release_TA\q_shared.obj @@ -252,10 +263,15 @@ Creating temporary file "D:\DOCUME~1\Andrei\LOCALS~1\Temp\RSP4D1.tmp" with conte .\Release_TA\ui_syscalls.obj .\Release_TA\ui_util.obj ] -Creating command line "link.exe @D:\DOCUME~1\Andrei\LOCALS~1\Temp\RSP4D1.tmp" +Creating command line "link.exe @D:\DOCUME~1\Andrei\LOCALS~1\Temp\RSP516.tmp"

Output Window

Compiling... +bg_misc.c +ui_atoms.c +ui_gameinfo.c ui_main.c +ui_players.c +ui_syscalls.c Linking... Creating library Release_TA/uix86.lib and object Release_TA/uix86.exp