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/server/hl2/antlion_dust.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/server/hl2/antlion_dust.cpp')
| -rw-r--r-- | mp/src/game/server/hl2/antlion_dust.cpp | 88 |
1 files changed, 44 insertions, 44 deletions
diff --git a/mp/src/game/server/hl2/antlion_dust.cpp b/mp/src/game/server/hl2/antlion_dust.cpp index 923dc425..a68579dc 100644 --- a/mp/src/game/server/hl2/antlion_dust.cpp +++ b/mp/src/game/server/hl2/antlion_dust.cpp @@ -1,44 +1,44 @@ -//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-// Purpose:
-//
-// $NoKeywords: $
-//
-//=============================================================================//
-#include "cbase.h"
-#include "antlion_dust.h"
-
-// memdbgon must be the last include file in a .cpp file!!!
-#include "tier0/memdbgon.h"
-
-IMPLEMENT_SERVERCLASS_ST( CTEAntlionDust, DT_TEAntlionDust )
- SendPropVector( SENDINFO( m_vecOrigin ) ),
- SendPropVector( SENDINFO( m_vecAngles ) ),
- SendPropBool( SENDINFO( m_bBlockedSpawner ) ),
-END_SEND_TABLE()
-
-CTEAntlionDust::CTEAntlionDust( const char *name ) : BaseClass( name )
-{
-}
-
-CTEAntlionDust::~CTEAntlionDust( void )
-{
-}
-
-static CTEAntlionDust g_TEAntlionDust( "AntlionDust" );
-
-//-----------------------------------------------------------------------------
-// Purpose: Creates antlion dust effect
-// Input : &origin - position
-// &angles - angles
-//-----------------------------------------------------------------------------
-void UTIL_CreateAntlionDust( const Vector &origin, const QAngle &angles, bool bBlockedSpawner )
-{
- g_TEAntlionDust.m_vecOrigin = origin;
- g_TEAntlionDust.m_vecAngles = angles;
- g_TEAntlionDust.m_bBlockedSpawner = bBlockedSpawner;
-
- //Send it
- CPVSFilter filter( origin );
- g_TEAntlionDust.Create( filter, 0.0f );
-}
+//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +// $NoKeywords: $ +// +//=============================================================================// +#include "cbase.h" +#include "antlion_dust.h" + +// memdbgon must be the last include file in a .cpp file!!! +#include "tier0/memdbgon.h" + +IMPLEMENT_SERVERCLASS_ST( CTEAntlionDust, DT_TEAntlionDust ) + SendPropVector( SENDINFO( m_vecOrigin ) ), + SendPropVector( SENDINFO( m_vecAngles ) ), + SendPropBool( SENDINFO( m_bBlockedSpawner ) ), +END_SEND_TABLE() + +CTEAntlionDust::CTEAntlionDust( const char *name ) : BaseClass( name ) +{ +} + +CTEAntlionDust::~CTEAntlionDust( void ) +{ +} + +static CTEAntlionDust g_TEAntlionDust( "AntlionDust" ); + +//----------------------------------------------------------------------------- +// Purpose: Creates antlion dust effect +// Input : &origin - position +// &angles - angles +//----------------------------------------------------------------------------- +void UTIL_CreateAntlionDust( const Vector &origin, const QAngle &angles, bool bBlockedSpawner ) +{ + g_TEAntlionDust.m_vecOrigin = origin; + g_TEAntlionDust.m_vecAngles = angles; + g_TEAntlionDust.m_bBlockedSpawner = bBlockedSpawner; + + //Send it + CPVSFilter filter( origin ); + g_TEAntlionDust.Create( filter, 0.0f ); +} |