mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2025-01-31 05:40:49 +00:00
Removing cg_RQ3_avidemo
This commit is contained in:
parent
8e6f235229
commit
77d69fb096
3 changed files with 9 additions and 18 deletions
|
@ -5,6 +5,9 @@
|
|||
//-----------------------------------------------------------------------------
|
||||
//
|
||||
// $Log$
|
||||
// Revision 1.164 2007/02/08 23:49:59 jbravo
|
||||
// Removing cg_RQ3_avidemo
|
||||
//
|
||||
// Revision 1.163 2007/02/03 15:02:21 jbravo
|
||||
// Renamed RQ3 to Reaction, Dropped loading of various baseq3 media, disabled the follow command, fixed grenades killing teammates and some cleanups
|
||||
//
|
||||
|
@ -957,8 +960,6 @@ 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
|
||||
|
@ -1940,8 +1941,6 @@ extern vmCvar_t cg_RQ3_bloodStyle;
|
|||
extern vmCvar_t cg_RQ3_strobe;
|
||||
extern vmCvar_t cg_RQ3_predictWeapons;
|
||||
|
||||
//Makro - avidemo with jpegs
|
||||
extern vmCvar_t cg_RQ3_avidemo;
|
||||
//Makro - left-handed weapons
|
||||
//extern vmCvar_t cg_RQ3_leftHanded;
|
||||
//Makro - sun flares
|
||||
|
|
|
@ -5,6 +5,9 @@
|
|||
//-----------------------------------------------------------------------------
|
||||
//
|
||||
// $Log$
|
||||
// Revision 1.150 2007/02/08 23:49:59 jbravo
|
||||
// Removing cg_RQ3_avidemo
|
||||
//
|
||||
// Revision 1.149 2007/02/03 15:02:21 jbravo
|
||||
// Renamed RQ3 to Reaction, Dropped loading of various baseq3 media, disabled the follow command, fixed grenades killing teammates and some cleanups
|
||||
//
|
||||
|
@ -622,8 +625,6 @@ vmCvar_t cg_RQ3_strobe;
|
|||
vmCvar_t cg_RQ3_predictWeapons;
|
||||
|
||||
|
||||
//Makro - avidemo with jpegs
|
||||
vmCvar_t cg_RQ3_avidemo;
|
||||
//Makro - left-handed models
|
||||
//vmCvar_t cg_RQ3_leftHanded;
|
||||
|
||||
|
@ -913,8 +914,6 @@ 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},
|
||||
//Makro - left-handed weapons
|
||||
//{&cg_RQ3_leftHanded, "cg_RQ3_leftHanded", "0", CVAR_ARCHIVE},
|
||||
//Makro - dev tool
|
||||
|
|
|
@ -5,6 +5,9 @@
|
|||
//-----------------------------------------------------------------------------
|
||||
//
|
||||
// $Log$
|
||||
// Revision 1.52 2007/02/08 23:49:59 jbravo
|
||||
// Removing cg_RQ3_avidemo
|
||||
//
|
||||
// Revision 1.51 2007/02/03 15:02:21 jbravo
|
||||
// Renamed RQ3 to Reaction, Dropped loading of various baseq3 media, disabled the follow command, fixed grenades killing teammates and some cleanups
|
||||
//
|
||||
|
@ -1239,7 +1242,6 @@ void CG_DrawActiveFrame(int serverTime, stereoFrame_t stereoView, qboolean demoP
|
|||
{
|
||||
int inwater;
|
||||
int skyPortalMode = ADDENTS_NOSKYPORTAL;
|
||||
float aviDemoFPS = 0;
|
||||
|
||||
//Blaze: for cheat detection
|
||||
int i;
|
||||
|
@ -1421,13 +1423,4 @@ void CG_DrawActiveFrame(int serverTime, stereoFrame_t stereoView, qboolean demoP
|
|||
|
||||
}
|
||||
}
|
||||
//Makro - like cl_avidemo, just that it uses JPEG's
|
||||
aviDemoFPS = cg_RQ3_avidemo.value;
|
||||
if (aviDemoFPS > 0) {
|
||||
//if it's time to take a screenshot
|
||||
if (cg.time > cg.screenshotTime + (int) (1000.0f / aviDemoFPS)) {
|
||||
trap_SendConsoleCommand("screenshotJPEG silent\n");
|
||||
cg.screenshotTime = cg.time;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue