cg_RQ3_avidemo

This commit is contained in:
Andrei Drexler 2002-05-21 14:59:12 +00:00
parent 279cea14b6
commit a819b99eeb
4 changed files with 88 additions and 3 deletions

View file

@ -5,6 +5,9 @@
//-----------------------------------------------------------------------------
//
// $Log$
// Revision 1.80 2002/05/21 14:59:11 makro
// cg_RQ3_avidemo
//
// Revision 1.79 2002/05/19 21:27:51 blaze
// added force and buoyancy to breakables
//
@ -711,6 +714,8 @@ typedef struct {
int cvarCheckTime; // Elder: used for cvar cheat interval cycling
int screenshotTime; // Makro - avidemo with jpegs
int physicsTime; // either cg.snap->time or cg.nextSnap->time
int timelimitWarnings; // 5 min, 1 min, overtime
@ -1635,6 +1640,8 @@ extern vmCvar_t cg_RQ3_bloodStyle;
extern vmCvar_t cg_RQ3_strobe;
//Niceass: Q2-like prediction (or lack of)
// extern vmCvar_t cg_RQ3_oldpredict;
//Makro - avidemo with jpegs
extern vmCvar_t cg_RQ3_avidemo;
extern vmCvar_t cg_drawFriend;
extern vmCvar_t cg_teamChatsOnly;
extern vmCvar_t cg_noVoiceChats;

View file

@ -5,6 +5,9 @@
//-----------------------------------------------------------------------------
//
// $Log$
// Revision 1.68 2002/05/21 14:59:11 makro
// cg_RQ3_avidemo
//
// Revision 1.67 2002/05/19 21:04:37 jbravo
// Tkok popup system
//
@ -297,6 +300,8 @@ vmCvar_t cg_RQ3_anouncer;
vmCvar_t cg_RQ3_bloodStyle;
//NiceAss: Temporary boolean strobe cvar
vmCvar_t cg_RQ3_strobe;
//Makro: avidemo with jpegs
vmCvar_t cg_RQ3_avidemo;
vmCvar_t cg_drawFriend;
vmCvar_t cg_teamChatsOnly;
vmCvar_t cg_noVoiceChats;
@ -511,6 +516,8 @@ static cvarTable_t cvarTable[] = { // bk001129
{ &cg_oldRocket, "cg_oldRocket", "1", CVAR_ARCHIVE},
{ &cg_oldPlasma, "cg_oldPlasma", "1", CVAR_ARCHIVE},
{ &cg_trueLightning, "cg_trueLightning", "0.0", CVAR_ARCHIVE},
//Makro - avidemo with jpegs
{ &cg_RQ3_avidemo, "cg_RQ3_avidemo", "0", 0 },
// JBravo: added
{ &cg_RQ3_lca, "cg_RQ3_lca", "0", CVAR_ROM},
{ &cg_RQ3_team_round_going, "cg_RQ3_team_round_going", "0", CVAR_ROM},

View file

@ -5,6 +5,9 @@
//-----------------------------------------------------------------------------
//
// $Log$
// Revision 1.20 2002/05/21 14:59:11 makro
// cg_RQ3_avidemo
//
// Revision 1.19 2002/03/07 14:51:57 makro
// no message
//
@ -1265,12 +1268,21 @@ void CG_DrawActiveFrame( int serverTime, stereoFrame_t stereoView, qboolean demo
//Makro - a Com_Error would be nicer
//trap_Cvar_Set("RQ3_CvarKickReason", cheats[i].cvar );
//trap_SendConsoleCommand(va("disconnect\n"));
Com_Error( ERR_DISCONNECT, "WARNING: You have been disconnected from the server because %s was out of range (%1.3f - %1.3f)",cheats[i].cvar,cheats[i].low, cheats[i].high);
Com_Error( ERR_DISCONNECT, "WARNING: You have been disconnected from the server because %s was out of range (%f - %f)",cheats[i].cvar,cheats[i].low, cheats[i].high);
}
}
}
}
//Makro - like cl_avidemo, just that it uses JPEG's
if (cg_RQ3_avidemo.integer > 0) {
//if it's time to take a screenshot
if (cg.time > cg.screenshotTime + (int) (1000 / cg_RQ3_avidemo.integer)) {
trap_SendConsoleCommand("screenshotJPEG silent\n");
cg.screenshotTime = cg.time;
}
}
}

View file

@ -3,14 +3,73 @@
<pre>
<h1>Build Log</h1>
<h3>
--------------------Configuration: cgame - Win32 Debug--------------------
--------------------Configuration: cgame - Win32 Release--------------------
</h3>
<h3>Command Lines</h3>
Creating temporary file "D:\DOCUME~1\Andrei\LOCALS~1\Temp\RSP53D.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_view.c"
]
Creating command line "cl.exe @D:\DOCUME~1\Andrei\LOCALS~1\Temp\RSP53D.tmp"
Creating temporary file "D:\DOCUME~1\Andrei\LOCALS~1\Temp\RSP53E.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
]
Creating command line "link.exe @D:\DOCUME~1\Andrei\LOCALS~1\Temp\RSP53E.tmp"
<h3>Output Window</h3>
Compiling...
cg_view.c
Linking...
Creating library Release/cgamex86.lib and object Release/cgamex86.exp
<h3>Results</h3>
cgamex86.dll - 0 error(s), 0 warning(s)
<h3>
--------------------Configuration: game - Win32 Release--------------------
</h3>
<h3>Command Lines</h3>
<h3>Results</h3>
cgamex86.dll - 0 error(s), 0 warning(s)
qagamex86.dll - 0 error(s), 0 warning(s)
<h3>
--------------------Configuration: ui - Win32 Release TA--------------------
</h3>
<h3>Command Lines</h3>
<h3>Results</h3>
uix86.dll - 0 error(s), 0 warning(s)
</pre>
</body>
</html>