From 335816961ce38fb110bf31847bbb6399fe1db46c Mon Sep 17 00:00:00 2001 From: Bryce Hutchings Date: Fri, 21 Jun 2002 21:05:57 +0000 Subject: [PATCH] laserfog stuff & removed unused cvar --- reaction/cgame/cg_local.h | 5 ++++- reaction/cgame/cg_main.c | 7 +++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/reaction/cgame/cg_local.h b/reaction/cgame/cg_local.h index 8227fa19..b635b12c 100644 --- a/reaction/cgame/cg_local.h +++ b/reaction/cgame/cg_local.h @@ -5,6 +5,9 @@ //----------------------------------------------------------------------------- // // $Log$ +// Revision 1.99 2002/06/21 21:05:57 niceass +// laserfog stuff & removed unused cvar +// // Revision 1.98 2002/06/21 04:10:59 niceass // fog laser // @@ -1539,7 +1542,6 @@ extern vmCvar_t cg_autoswitch; extern vmCvar_t cg_ignore; extern vmCvar_t cg_simpleItems; extern vmCvar_t cg_fov; -extern vmCvar_t cg_zoomFov; extern vmCvar_t cg_thirdPersonRange; extern vmCvar_t cg_thirdPersonAngle; extern vmCvar_t cg_thirdPerson; @@ -1644,6 +1646,7 @@ extern vmCvar_t cg_trueLightning; // NiceAss: No longer part of the MissionPack extern vmCvar_t cg_enableBreath; +extern vmCvar_t cg_enableLaserFog; // JBravo: ditto extern vmCvar_t cg_enableDust; diff --git a/reaction/cgame/cg_main.c b/reaction/cgame/cg_main.c index 7e458a21..8b3c9a78 100644 --- a/reaction/cgame/cg_main.c +++ b/reaction/cgame/cg_main.c @@ -5,6 +5,9 @@ //----------------------------------------------------------------------------- // // $Log$ +// Revision 1.87 2002/06/21 21:05:35 niceass +// laserfog stuff & removed unused cvar +// // Revision 1.86 2002/06/19 05:20:01 niceass // scoreboard stuff // @@ -284,7 +287,6 @@ vmCvar_t cg_autoswitch; vmCvar_t cg_ignore; vmCvar_t cg_simpleItems; vmCvar_t cg_fov; -vmCvar_t cg_zoomFov; vmCvar_t cg_thirdPerson; vmCvar_t cg_thirdPersonRange; vmCvar_t cg_thirdPersonAngle; @@ -416,6 +418,7 @@ vmCvar_t cg_RQ3_matchmode; // NiceAss: Taken out of the missionpack vmCvar_t cg_enableBreath; +vmCvar_t cg_enableLaserFog; // JBravo: ditto vmCvar_t cg_enableDust; @@ -431,7 +434,6 @@ static cvarTable_t cvarTable[] = { // bk001129 {&cg_ignore, "cg_ignore", "0", 0}, // used for debugging {&cg_autoswitch, "cg_autoswitch", "1", CVAR_ARCHIVE}, {&cg_drawGun, "cg_drawGun", "1", CVAR_ARCHIVE}, - {&cg_zoomFov, "cg_zoomfov", "22.5", CVAR_ARCHIVE}, {&cg_fov, "cg_fov", "90", CVAR_ARCHIVE}, {&cg_viewsize, "cg_viewsize", "100", CVAR_ARCHIVE}, {&cg_stereoSeparation, "cg_stereoSeparation", "0.4", CVAR_ARCHIVE}, @@ -507,6 +509,7 @@ static cvarTable_t cvarTable[] = { // bk001129 {&cg_synchronousClients, "g_synchronousClients", "0", 0}, // communicated by systeminfo // NiceAss: Taken out of the missionpack {&cg_enableBreath, "g_enableBreath", "0", CVAR_SERVERINFO}, + {&cg_enableLaserFog, "g_enableLaserFog", "1", CVAR_SERVERINFO}, // JBravo: ditto {&cg_enableDust, "g_enableDust", "0", CVAR_SERVERINFO},