From f56bb35301836e56582a575a75864392a0177875 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B8rgen=20P=2E=20Tjern=C3=B8?= Date: Mon, 2 Dec 2013 19:31:46 -0800 Subject: Fix line endings. WHAMMY. --- mp/src/game/shared/gamevars_shared.cpp | 114 ++++++++++++++++----------------- 1 file changed, 57 insertions(+), 57 deletions(-) (limited to 'mp/src/game/shared/gamevars_shared.cpp') diff --git a/mp/src/game/shared/gamevars_shared.cpp b/mp/src/game/shared/gamevars_shared.cpp index b546a195..f3e0522d 100644 --- a/mp/src/game/shared/gamevars_shared.cpp +++ b/mp/src/game/shared/gamevars_shared.cpp @@ -1,58 +1,58 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// -// -// Purpose: -// -// $NoKeywords: $ -//=============================================================================// -#include "cbase.h" -#include "gamevars_shared.h" - -// memdbgon must be the last include file in a .cpp file!!! -#include "tier0/memdbgon.h" - -#ifdef GAME_DLL -void MPForceCameraCallback( IConVar *var, const char *pOldString, float flOldValue ) -{ - if ( mp_forcecamera.GetInt() < OBS_ALLOW_ALL || mp_forcecamera.GetInt() >= OBS_ALLOW_NUM_MODES ) - { - mp_forcecamera.SetValue( OBS_ALLOW_TEAM ); - } -} -#endif - -// some shared cvars used by game rules -ConVar mp_forcecamera( - "mp_forcecamera", -#ifdef CSTRIKE - "0", -#else - "1", -#endif - FCVAR_REPLICATED, - "Restricts spectator modes for dead players" -#ifdef GAME_DLL - , MPForceCameraCallback -#endif - ); - -ConVar mp_allowspectators( - "mp_allowspectators", - "1.0", - FCVAR_REPLICATED, - "toggles whether the server allows spectator mode or not" ); - -ConVar friendlyfire( - "mp_friendlyfire", - "0", - FCVAR_REPLICATED | FCVAR_NOTIFY, - "Allows team members to injure other members of their team" - ); - -ConVar mp_fadetoblack( - "mp_fadetoblack", - "0", - FCVAR_REPLICATED | FCVAR_NOTIFY, - "fade a player's screen to black when he dies" ); - - +//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +// $NoKeywords: $ +//=============================================================================// +#include "cbase.h" +#include "gamevars_shared.h" + +// memdbgon must be the last include file in a .cpp file!!! +#include "tier0/memdbgon.h" + +#ifdef GAME_DLL +void MPForceCameraCallback( IConVar *var, const char *pOldString, float flOldValue ) +{ + if ( mp_forcecamera.GetInt() < OBS_ALLOW_ALL || mp_forcecamera.GetInt() >= OBS_ALLOW_NUM_MODES ) + { + mp_forcecamera.SetValue( OBS_ALLOW_TEAM ); + } +} +#endif + +// some shared cvars used by game rules +ConVar mp_forcecamera( + "mp_forcecamera", +#ifdef CSTRIKE + "0", +#else + "1", +#endif + FCVAR_REPLICATED, + "Restricts spectator modes for dead players" +#ifdef GAME_DLL + , MPForceCameraCallback +#endif + ); + +ConVar mp_allowspectators( + "mp_allowspectators", + "1.0", + FCVAR_REPLICATED, + "toggles whether the server allows spectator mode or not" ); + +ConVar friendlyfire( + "mp_friendlyfire", + "0", + FCVAR_REPLICATED | FCVAR_NOTIFY, + "Allows team members to injure other members of their team" + ); + +ConVar mp_fadetoblack( + "mp_fadetoblack", + "0", + FCVAR_REPLICATED | FCVAR_NOTIFY, + "fade a player's screen to black when he dies" ); + + ConVar sv_hudhint_sound( "sv_hudhint_sound", "1", FCVAR_REPLICATED ); \ No newline at end of file -- cgit v1.2.3