aboutsummaryrefslogtreecommitdiff
path: root/mp/src/game/server/te_basebeam.cpp
diff options
context:
space:
mode:
authorNarendra Umate <[email protected]>2013-12-02 23:36:05 -0800
committerNarendra Umate <[email protected]>2013-12-02 23:36:05 -0800
commit8737f191f3b59f001a77bf6c08091109211c1c9f (patch)
treedbbf05c004d9b026f2c1f23f06600fe0add82c36 /mp/src/game/server/te_basebeam.cpp
parentUpdate .gitignore. (diff)
parentMake .xcconfigs text files too. (diff)
downloadsource-sdk-2013-8737f191f3b59f001a77bf6c08091109211c1c9f.tar.xz
source-sdk-2013-8737f191f3b59f001a77bf6c08091109211c1c9f.zip
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'mp/src/game/server/te_basebeam.cpp')
-rw-r--r--mp/src/game/server/te_basebeam.cpp132
1 files changed, 66 insertions, 66 deletions
diff --git a/mp/src/game/server/te_basebeam.cpp b/mp/src/game/server/te_basebeam.cpp
index 2a626090..11b4c0db 100644
--- a/mp/src/game/server/te_basebeam.cpp
+++ b/mp/src/game/server/te_basebeam.cpp
@@ -1,66 +1,66 @@
-//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-// Purpose:
-//
-// $Workfile: $
-// $Date: $
-//
-//-----------------------------------------------------------------------------
-// $Log: $
-//
-// $NoKeywords: $
-//=============================================================================//
-#include "cbase.h"
-#include "te_basebeam.h"
-
-// memdbgon must be the last include file in a .cpp file!!!
-#include "tier0/memdbgon.h"
-
-//-----------------------------------------------------------------------------
-// Purpose:
-// Input : *name -
-//-----------------------------------------------------------------------------
-CTEBaseBeam::CTEBaseBeam( const char *name ) :
- CBaseTempEntity( name )
-{
- 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:
-//-----------------------------------------------------------------------------
-CTEBaseBeam::~CTEBaseBeam( void )
-{
-}
-
-
-
-IMPLEMENT_SERVERCLASS_ST_NOBASE( CTEBaseBeam, DT_BaseBeam )
- SendPropModelIndex( SENDINFO(m_nModelIndex) ),
- SendPropModelIndex( SENDINFO(m_nHaloIndex) ),
- SendPropInt( SENDINFO(m_nStartFrame), 8, SPROP_UNSIGNED ),
- SendPropInt( SENDINFO(m_nFrameRate), 8, SPROP_UNSIGNED ),
- SendPropFloat( SENDINFO(m_fLife), 8, 0, 0.0, 25.6 ),
- SendPropFloat( SENDINFO(m_fWidth), 10, 0, 0.0, 128.0 ),
- SendPropFloat( SENDINFO(m_fEndWidth), 10, 0, 0.0, 128.0 ),
- SendPropInt( SENDINFO(m_nFadeLength), 8, SPROP_UNSIGNED ),
- SendPropFloat( SENDINFO(m_fAmplitude), 8, 0, 0.0, 64.0 ),
- SendPropInt( SENDINFO(m_nSpeed), 8, SPROP_UNSIGNED ),
- SendPropInt( SENDINFO(r), 8, SPROP_UNSIGNED ),
- SendPropInt( SENDINFO(g), 8, SPROP_UNSIGNED ),
- SendPropInt( SENDINFO(b), 8, SPROP_UNSIGNED ),
- SendPropInt( SENDINFO(a), 8, SPROP_UNSIGNED ),
- SendPropInt( SENDINFO(m_nFlags), 32, SPROP_UNSIGNED ),
-END_SEND_TABLE()
-
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose:
+//
+// $Workfile: $
+// $Date: $
+//
+//-----------------------------------------------------------------------------
+// $Log: $
+//
+// $NoKeywords: $
+//=============================================================================//
+#include "cbase.h"
+#include "te_basebeam.h"
+
+// memdbgon must be the last include file in a .cpp file!!!
+#include "tier0/memdbgon.h"
+
+//-----------------------------------------------------------------------------
+// Purpose:
+// Input : *name -
+//-----------------------------------------------------------------------------
+CTEBaseBeam::CTEBaseBeam( const char *name ) :
+ CBaseTempEntity( name )
+{
+ 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:
+//-----------------------------------------------------------------------------
+CTEBaseBeam::~CTEBaseBeam( void )
+{
+}
+
+
+
+IMPLEMENT_SERVERCLASS_ST_NOBASE( CTEBaseBeam, DT_BaseBeam )
+ SendPropModelIndex( SENDINFO(m_nModelIndex) ),
+ SendPropModelIndex( SENDINFO(m_nHaloIndex) ),
+ SendPropInt( SENDINFO(m_nStartFrame), 8, SPROP_UNSIGNED ),
+ SendPropInt( SENDINFO(m_nFrameRate), 8, SPROP_UNSIGNED ),
+ SendPropFloat( SENDINFO(m_fLife), 8, 0, 0.0, 25.6 ),
+ SendPropFloat( SENDINFO(m_fWidth), 10, 0, 0.0, 128.0 ),
+ SendPropFloat( SENDINFO(m_fEndWidth), 10, 0, 0.0, 128.0 ),
+ SendPropInt( SENDINFO(m_nFadeLength), 8, SPROP_UNSIGNED ),
+ SendPropFloat( SENDINFO(m_fAmplitude), 8, 0, 0.0, 64.0 ),
+ SendPropInt( SENDINFO(m_nSpeed), 8, SPROP_UNSIGNED ),
+ SendPropInt( SENDINFO(r), 8, SPROP_UNSIGNED ),
+ SendPropInt( SENDINFO(g), 8, SPROP_UNSIGNED ),
+ SendPropInt( SENDINFO(b), 8, SPROP_UNSIGNED ),
+ SendPropInt( SENDINFO(a), 8, SPROP_UNSIGNED ),
+ SendPropInt( SENDINFO(m_nFlags), 32, SPROP_UNSIGNED ),
+END_SEND_TABLE()
+