diff options
| author | Jørgen P. Tjernø <[email protected]> | 2013-12-02 19:31:46 -0800 |
|---|---|---|
| committer | Jørgen P. Tjernø <[email protected]> | 2013-12-02 19:46:31 -0800 |
| commit | f56bb35301836e56582a575a75864392a0177875 (patch) | |
| tree | de61ddd39de3e7df52759711950b4c288592f0dc /mp/src/game/client/c_physbox.cpp | |
| parent | Mark some more files as text. (diff) | |
| download | source-sdk-2013-f56bb35301836e56582a575a75864392a0177875.tar.xz source-sdk-2013-f56bb35301836e56582a575a75864392a0177875.zip | |
Fix line endings. WHAMMY.
Diffstat (limited to 'mp/src/game/client/c_physbox.cpp')
| -rw-r--r-- | mp/src/game/client/c_physbox.cpp | 70 |
1 files changed, 35 insertions, 35 deletions
diff --git a/mp/src/game/client/c_physbox.cpp b/mp/src/game/client/c_physbox.cpp index a6e81092..17d352bd 100644 --- a/mp/src/game/client/c_physbox.cpp +++ b/mp/src/game/client/c_physbox.cpp @@ -1,35 +1,35 @@ -//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-// Purpose:
-//
-// $NoKeywords: $
-//=============================================================================//
-#include "cbase.h"
-#include "c_physbox.h"
-
-// memdbgon must be the last include file in a .cpp file!!!
-#include "tier0/memdbgon.h"
-
-IMPLEMENT_CLIENTCLASS_DT(C_PhysBox, DT_PhysBox, CPhysBox)
- RecvPropFloat(RECVINFO(m_mass), 0), // Test..
-END_RECV_TABLE()
-
-
-C_PhysBox::C_PhysBox()
-{
-}
-
-//-----------------------------------------------------------------------------
-// Should this object cast shadows?
-//-----------------------------------------------------------------------------
-ShadowType_t C_PhysBox::ShadowCastType()
-{
- if (IsEffectActive(EF_NODRAW | EF_NOSHADOW))
- return SHADOWS_NONE;
- return SHADOWS_RENDER_TO_TEXTURE;
-}
-
-C_PhysBox::~C_PhysBox()
-{
-}
-
+//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +// $NoKeywords: $ +//=============================================================================// +#include "cbase.h" +#include "c_physbox.h" + +// memdbgon must be the last include file in a .cpp file!!! +#include "tier0/memdbgon.h" + +IMPLEMENT_CLIENTCLASS_DT(C_PhysBox, DT_PhysBox, CPhysBox) + RecvPropFloat(RECVINFO(m_mass), 0), // Test.. +END_RECV_TABLE() + + +C_PhysBox::C_PhysBox() +{ +} + +//----------------------------------------------------------------------------- +// Should this object cast shadows? +//----------------------------------------------------------------------------- +ShadowType_t C_PhysBox::ShadowCastType() +{ + if (IsEffectActive(EF_NODRAW | EF_NOSHADOW)) + return SHADOWS_NONE; + return SHADOWS_RENDER_TO_TEXTURE; +} + +C_PhysBox::~C_PhysBox() +{ +} + |