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_te_basebeam.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_te_basebeam.cpp')
| -rw-r--r-- | mp/src/game/client/c_te_basebeam.cpp | 164 |
1 files changed, 82 insertions, 82 deletions
diff --git a/mp/src/game/client/c_te_basebeam.cpp b/mp/src/game/client/c_te_basebeam.cpp index aa26579e..f49b94f9 100644 --- a/mp/src/game/client/c_te_basebeam.cpp +++ b/mp/src/game/client/c_te_basebeam.cpp @@ -1,82 +1,82 @@ -//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-// Purpose:
-//
-// $Workfile: $
-// $Date: $
-//
-//-----------------------------------------------------------------------------
-// $Log: $
-//
-// $NoKeywords: $
-//=============================================================================//
-#include "cbase.h"
-#include "c_te_basebeam.h"
-
-// memdbgon must be the last include file in a .cpp file!!!
-#include "tier0/memdbgon.h"
-
-//-----------------------------------------------------------------------------
-// Purpose: Contains common variables for all beam TEs
-//-----------------------------------------------------------------------------
-C_TEBaseBeam::C_TEBaseBeam( void )
-{
- m_nModelIndex = 0;
- m_nHaloIndex = 0;
- m_nStartFrame = 0;
- m_nFrameRate = 0;
- m_fLife = 0.0;
- m_fWidth = 0;
- m_fEndWidth = 0;
- m_nFadeLength = 0;
- m_fAmplitude = 0;
- r = g = b = a = 0;
- m_nSpeed = 0;
- m_nFlags = 0;
-}
-
-//-----------------------------------------------------------------------------
-// Purpose:
-//-----------------------------------------------------------------------------
-C_TEBaseBeam::~C_TEBaseBeam( void )
-{
-}
-
-//-----------------------------------------------------------------------------
-// Purpose:
-// Input : bool -
-//-----------------------------------------------------------------------------
-void C_TEBaseBeam::PreDataUpdate( DataUpdateType_t updateType )
-{
-}
-
-//-----------------------------------------------------------------------------
-// Purpose:
-// Input : bool -
-//-----------------------------------------------------------------------------
-void C_TEBaseBeam::PostDataUpdate( DataUpdateType_t updateType )
-{
- Assert( 0 );
-}
-
-
-IMPLEMENT_CLIENTCLASS(C_TEBaseBeam, DT_BaseBeam, CTEBaseBeam);
-
-BEGIN_RECV_TABLE_NOBASE( C_TEBaseBeam, DT_BaseBeam )
- RecvPropInt( RECVINFO(m_nModelIndex)),
- RecvPropInt( RECVINFO(m_nHaloIndex)),
- RecvPropInt( RECVINFO(m_nStartFrame)),
- RecvPropInt( RECVINFO(m_nFrameRate)),
- RecvPropFloat( RECVINFO(m_fLife)),
- RecvPropFloat( RECVINFO(m_fWidth)),
- RecvPropFloat( RECVINFO(m_fEndWidth)),
- RecvPropInt( RECVINFO(m_nFadeLength)),
- RecvPropFloat( RECVINFO(m_fAmplitude)),
- RecvPropInt( RECVINFO(m_nSpeed)),
- RecvPropInt( RECVINFO(r)),
- RecvPropInt( RECVINFO(g)),
- RecvPropInt( RECVINFO(b)),
- RecvPropInt( RECVINFO(a)),
- RecvPropInt( RECVINFO(m_nFlags)),
-END_RECV_TABLE()
-
+//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +// $Workfile: $ +// $Date: $ +// +//----------------------------------------------------------------------------- +// $Log: $ +// +// $NoKeywords: $ +//=============================================================================// +#include "cbase.h" +#include "c_te_basebeam.h" + +// memdbgon must be the last include file in a .cpp file!!! +#include "tier0/memdbgon.h" + +//----------------------------------------------------------------------------- +// Purpose: Contains common variables for all beam TEs +//----------------------------------------------------------------------------- +C_TEBaseBeam::C_TEBaseBeam( void ) +{ + m_nModelIndex = 0; + m_nHaloIndex = 0; + m_nStartFrame = 0; + m_nFrameRate = 0; + m_fLife = 0.0; + m_fWidth = 0; + m_fEndWidth = 0; + m_nFadeLength = 0; + m_fAmplitude = 0; + r = g = b = a = 0; + m_nSpeed = 0; + m_nFlags = 0; +} + +//----------------------------------------------------------------------------- +// Purpose: +//----------------------------------------------------------------------------- +C_TEBaseBeam::~C_TEBaseBeam( void ) +{ +} + +//----------------------------------------------------------------------------- +// Purpose: +// Input : bool - +//----------------------------------------------------------------------------- +void C_TEBaseBeam::PreDataUpdate( DataUpdateType_t updateType ) +{ +} + +//----------------------------------------------------------------------------- +// Purpose: +// Input : bool - +//----------------------------------------------------------------------------- +void C_TEBaseBeam::PostDataUpdate( DataUpdateType_t updateType ) +{ + Assert( 0 ); +} + + +IMPLEMENT_CLIENTCLASS(C_TEBaseBeam, DT_BaseBeam, CTEBaseBeam); + +BEGIN_RECV_TABLE_NOBASE( C_TEBaseBeam, DT_BaseBeam ) + RecvPropInt( RECVINFO(m_nModelIndex)), + RecvPropInt( RECVINFO(m_nHaloIndex)), + RecvPropInt( RECVINFO(m_nStartFrame)), + RecvPropInt( RECVINFO(m_nFrameRate)), + RecvPropFloat( RECVINFO(m_fLife)), + RecvPropFloat( RECVINFO(m_fWidth)), + RecvPropFloat( RECVINFO(m_fEndWidth)), + RecvPropInt( RECVINFO(m_nFadeLength)), + RecvPropFloat( RECVINFO(m_fAmplitude)), + RecvPropInt( RECVINFO(m_nSpeed)), + RecvPropInt( RECVINFO(r)), + RecvPropInt( RECVINFO(g)), + RecvPropInt( RECVINFO(b)), + RecvPropInt( RECVINFO(a)), + RecvPropInt( RECVINFO(m_nFlags)), +END_RECV_TABLE() + |