diff --git a/reaction/game/g_local.h b/reaction/game/g_local.h index 44e2acf3..342ec2f5 100644 --- a/reaction/game/g_local.h +++ b/reaction/game/g_local.h @@ -5,6 +5,9 @@ //----------------------------------------------------------------------------- // // $Log$ +// Revision 1.100 2002/06/21 21:02:49 niceass +// worldspawn laserfog check +// // Revision 1.99 2002/06/20 22:32:43 jbravo // Added last damaged player and fixed a test2 model problem (atrimum my ass :) // Changed g_RQ3_printOwnObits to g_RQ3_showOwnKills and it also controls $K @@ -1208,6 +1211,7 @@ extern vmCvar_t pmove_msec; extern vmCvar_t g_rankings; extern vmCvar_t g_enableDust; extern vmCvar_t g_enableBreath; +extern vmCvar_t g_enableFogLaser; extern vmCvar_t g_singlePlayer; extern vmCvar_t g_proxMineTimeout; diff --git a/reaction/game/g_main.c b/reaction/game/g_main.c index 58932f94..6764e6ee 100644 --- a/reaction/game/g_main.c +++ b/reaction/game/g_main.c @@ -5,6 +5,9 @@ //----------------------------------------------------------------------------- // // $Log$ +// Revision 1.94 2002/06/21 21:02:30 niceass +// worldspawn laserfog check +// // Revision 1.93 2002/06/20 22:32:43 jbravo // Added last damaged player and fixed a test2 model problem (atrimum my ass :) // Changed g_RQ3_printOwnObits to g_RQ3_showOwnKills and it also controls $K @@ -373,6 +376,7 @@ vmCvar_t g_RQ3_radioFloodTime; // NiceAss: Taken out of the missionpack vmCvar_t g_enableBreath; +vmCvar_t g_enableFogLaser; // JBravo: ditto vmCvar_t g_enableDust; @@ -447,6 +451,7 @@ static cvarTable_t gameCvarTable[] = { // NiceAss: Taken out of the missionpack {&g_enableBreath, "g_enableBreath", "0", CVAR_SERVERINFO, 0, qfalse}, + {&g_enableBreath, "g_enableFogLaser", "1", CVAR_SERVERINFO, 0, qfalse}, // JBravo: ditto {&g_enableDust, "g_enableDust", "0", CVAR_SERVERINFO, 0, qfalse}, {&g_smoothClients, "g_smoothClients", "1", 0, 0, qfalse}, diff --git a/reaction/game/g_spawn.c b/reaction/game/g_spawn.c index 3ec68dcb..f8bdd807 100644 --- a/reaction/game/g_spawn.c +++ b/reaction/game/g_spawn.c @@ -5,6 +5,9 @@ //----------------------------------------------------------------------------- // // $Log$ +// Revision 1.33 2002/06/21 21:02:07 niceass +// worldspawn laserfog check +// // Revision 1.32 2002/06/16 20:06:14 jbravo // Reindented all the source files with "indent -kr -ut -i8 -l120 -lc120 -sob -bad -bap" // @@ -795,6 +798,10 @@ void SP_worldspawn(void) G_SpawnString("enableBreath", "0", &s); trap_Cvar_Set("g_enableBreath", s); + G_SpawnString("enableLaserFog", "1", &s); + trap_Cvar_Set("g_enableLaserFog", s); + + g_entities[ENTITYNUM_WORLD].s.number = ENTITYNUM_WORLD; g_entities[ENTITYNUM_WORLD].classname = "worldspawn";