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 /sp/src/game/server/EntityParticleTrail.h | |
| 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 'sp/src/game/server/EntityParticleTrail.h')
| -rw-r--r-- | sp/src/game/server/EntityParticleTrail.h | 104 |
1 files changed, 52 insertions, 52 deletions
diff --git a/sp/src/game/server/EntityParticleTrail.h b/sp/src/game/server/EntityParticleTrail.h index 0b4fa4cc..d22e0d4b 100644 --- a/sp/src/game/server/EntityParticleTrail.h +++ b/sp/src/game/server/EntityParticleTrail.h @@ -1,52 +1,52 @@ -//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-// Purpose:
-//
-//=============================================================================//
-
-#ifndef ENTITYPARTICLETRAIL_H
-#define ENTITYPARTICLETRAIL_H
-
-#ifdef _WIN32
-#pragma once
-#endif
-
-#include "baseparticleentity.h"
-#include "entityparticletrail_shared.h"
-
-
-//-----------------------------------------------------------------------------
-// Spawns particles after the entity
-//-----------------------------------------------------------------------------
-class CEntityParticleTrail : public CBaseParticleEntity
-{
- DECLARE_DATADESC();
- DECLARE_CLASS( CEntityParticleTrail, CBaseParticleEntity );
- DECLARE_SERVERCLASS();
-
-public:
- static CEntityParticleTrail *Create( CBaseEntity *pTarget, const EntityParticleTrailInfo_t &info, CBaseEntity *pConstraint );
- static void Destroy( CBaseEntity *pTarget, const EntityParticleTrailInfo_t &info );
-
- void Spawn();
- virtual void UpdateOnRemove();
-
- // Force our constraint entity to be trasmitted
- virtual void SetTransmit( CCheckTransmitInfo *pInfo, bool bAlways );
-
- // Clean up when the entity goes away.
- virtual void NotifySystemEvent( CBaseEntity *pNotify, notify_system_event_t eventType, const notify_system_event_params_t ¶ms );
-
-private:
- void AttachToEntity( CBaseEntity *pTarget );
- void IncrementRefCount();
- void DecrementRefCount();
-
- CNetworkVar( int, m_iMaterialName );
- CNetworkVarEmbedded( EntityParticleTrailInfo_t, m_Info );
- CNetworkHandle( CBaseEntity, m_hConstraintEntity );
-
- int m_nRefCount;
-};
-
-#endif // ENTITYPARTICLETRAIL_H
+//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +//=============================================================================// + +#ifndef ENTITYPARTICLETRAIL_H +#define ENTITYPARTICLETRAIL_H + +#ifdef _WIN32 +#pragma once +#endif + +#include "baseparticleentity.h" +#include "entityparticletrail_shared.h" + + +//----------------------------------------------------------------------------- +// Spawns particles after the entity +//----------------------------------------------------------------------------- +class CEntityParticleTrail : public CBaseParticleEntity +{ + DECLARE_DATADESC(); + DECLARE_CLASS( CEntityParticleTrail, CBaseParticleEntity ); + DECLARE_SERVERCLASS(); + +public: + static CEntityParticleTrail *Create( CBaseEntity *pTarget, const EntityParticleTrailInfo_t &info, CBaseEntity *pConstraint ); + static void Destroy( CBaseEntity *pTarget, const EntityParticleTrailInfo_t &info ); + + void Spawn(); + virtual void UpdateOnRemove(); + + // Force our constraint entity to be trasmitted + virtual void SetTransmit( CCheckTransmitInfo *pInfo, bool bAlways ); + + // Clean up when the entity goes away. + virtual void NotifySystemEvent( CBaseEntity *pNotify, notify_system_event_t eventType, const notify_system_event_params_t ¶ms ); + +private: + void AttachToEntity( CBaseEntity *pTarget ); + void IncrementRefCount(); + void DecrementRefCount(); + + CNetworkVar( int, m_iMaterialName ); + CNetworkVarEmbedded( EntityParticleTrailInfo_t, m_Info ); + CNetworkHandle( CBaseEntity, m_hConstraintEntity ); + + int m_nRefCount; +}; + +#endif // ENTITYPARTICLETRAIL_H |