aboutsummaryrefslogtreecommitdiff
path: root/mp/src/game/client/c_te_beamfollow.cpp
diff options
context:
space:
mode:
authorJørgen P. Tjernø <[email protected]>2013-12-02 19:31:46 -0800
committerJørgen P. Tjernø <[email protected]>2013-12-02 19:46:31 -0800
commitf56bb35301836e56582a575a75864392a0177875 (patch)
treede61ddd39de3e7df52759711950b4c288592f0dc /mp/src/game/client/c_te_beamfollow.cpp
parentMark some more files as text. (diff)
downloadsource-sdk-2013-f56bb35301836e56582a575a75864392a0177875.tar.xz
source-sdk-2013-f56bb35301836e56582a575a75864392a0177875.zip
Fix line endings. WHAMMY.
Diffstat (limited to 'mp/src/game/client/c_te_beamfollow.cpp')
-rw-r--r--mp/src/game/client/c_te_beamfollow.cpp158
1 files changed, 79 insertions, 79 deletions
diff --git a/mp/src/game/client/c_te_beamfollow.cpp b/mp/src/game/client/c_te_beamfollow.cpp
index 1ecf7e64..a8e6f4f2 100644
--- a/mp/src/game/client/c_te_beamfollow.cpp
+++ b/mp/src/game/client/c_te_beamfollow.cpp
@@ -1,79 +1,79 @@
-//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-// Purpose:
-//
-// $Workfile: $
-// $Date: $
-//
-//-----------------------------------------------------------------------------
-// $Log: $
-//
-// $NoKeywords: $
-//=============================================================================//
-#include "cbase.h"
-#include "c_te_basebeam.h"
-#include "iviewrender_beams.h"
-
-// memdbgon must be the last include file in a .cpp file!!!
-#include "tier0/memdbgon.h"
-
-//-----------------------------------------------------------------------------
-// Purpose:
-//-----------------------------------------------------------------------------
-class C_TEBeamFollow : public C_TEBaseBeam
-{
-public:
- DECLARE_CLASS( C_TEBeamFollow, C_TEBaseBeam );
- DECLARE_CLIENTCLASS();
-
- C_TEBeamFollow( void );
- virtual ~C_TEBeamFollow( void );
-
- virtual void PostDataUpdate( DataUpdateType_t updateType );
-
-public:
-
- int m_iEntIndex;
-};
-
-//-----------------------------------------------------------------------------
-// Purpose:
-//-----------------------------------------------------------------------------
-C_TEBeamFollow::C_TEBeamFollow( void )
-{
- m_iEntIndex = 0;
-}
-
-//-----------------------------------------------------------------------------
-// Purpose:
-//-----------------------------------------------------------------------------
-C_TEBeamFollow::~C_TEBeamFollow( void )
-{
-}
-
-
-//-----------------------------------------------------------------------------
-// Purpose:
-// Input : bool -
-//-----------------------------------------------------------------------------
-void C_TEBeamFollow::PostDataUpdate( DataUpdateType_t updateType )
-{
- beams->CreateBeamFollow( m_iEntIndex, m_nModelIndex, m_nHaloIndex, 0, m_fLife,
- m_fWidth, m_fEndWidth, m_nFadeLength, r, g, b, a );
-}
-
-// Expose the TE to the engine.
-IMPLEMENT_CLIENTCLASS_EVENT( C_TEBeamFollow, DT_TEBeamFollow, CTEBeamFollow );
-
-BEGIN_RECV_TABLE(C_TEBeamFollow, DT_TEBeamFollow)
- RecvPropInt( RECVINFO(m_iEntIndex)),
-END_RECV_TABLE()
-
-
-void TE_BeamFollow( IRecipientFilter& filter, float delay,
- int iEntIndex, int modelIndex, int haloIndex, float life, float width, float endWidth,
- float fadeLength,float r, float g, float b, float a )
-{
- beams->CreateBeamFollow( iEntIndex, modelIndex, haloIndex, 0, life,
- width, endWidth, fadeLength, r, g, b, a );
-}
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose:
+//
+// $Workfile: $
+// $Date: $
+//
+//-----------------------------------------------------------------------------
+// $Log: $
+//
+// $NoKeywords: $
+//=============================================================================//
+#include "cbase.h"
+#include "c_te_basebeam.h"
+#include "iviewrender_beams.h"
+
+// memdbgon must be the last include file in a .cpp file!!!
+#include "tier0/memdbgon.h"
+
+//-----------------------------------------------------------------------------
+// Purpose:
+//-----------------------------------------------------------------------------
+class C_TEBeamFollow : public C_TEBaseBeam
+{
+public:
+ DECLARE_CLASS( C_TEBeamFollow, C_TEBaseBeam );
+ DECLARE_CLIENTCLASS();
+
+ C_TEBeamFollow( void );
+ virtual ~C_TEBeamFollow( void );
+
+ virtual void PostDataUpdate( DataUpdateType_t updateType );
+
+public:
+
+ int m_iEntIndex;
+};
+
+//-----------------------------------------------------------------------------
+// Purpose:
+//-----------------------------------------------------------------------------
+C_TEBeamFollow::C_TEBeamFollow( void )
+{
+ m_iEntIndex = 0;
+}
+
+//-----------------------------------------------------------------------------
+// Purpose:
+//-----------------------------------------------------------------------------
+C_TEBeamFollow::~C_TEBeamFollow( void )
+{
+}
+
+
+//-----------------------------------------------------------------------------
+// Purpose:
+// Input : bool -
+//-----------------------------------------------------------------------------
+void C_TEBeamFollow::PostDataUpdate( DataUpdateType_t updateType )
+{
+ beams->CreateBeamFollow( m_iEntIndex, m_nModelIndex, m_nHaloIndex, 0, m_fLife,
+ m_fWidth, m_fEndWidth, m_nFadeLength, r, g, b, a );
+}
+
+// Expose the TE to the engine.
+IMPLEMENT_CLIENTCLASS_EVENT( C_TEBeamFollow, DT_TEBeamFollow, CTEBeamFollow );
+
+BEGIN_RECV_TABLE(C_TEBeamFollow, DT_TEBeamFollow)
+ RecvPropInt( RECVINFO(m_iEntIndex)),
+END_RECV_TABLE()
+
+
+void TE_BeamFollow( IRecipientFilter& filter, float delay,
+ int iEntIndex, int modelIndex, int haloIndex, float life, float width, float endWidth,
+ float fadeLength,float r, float g, float b, float a )
+{
+ beams->CreateBeamFollow( iEntIndex, modelIndex, haloIndex, 0, life,
+ width, endWidth, fadeLength, r, g, b, a );
+}