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/fx_trail.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 'mp/src/game/client/fx_trail.h')
| -rw-r--r-- | mp/src/game/client/fx_trail.h | 112 |
1 files changed, 56 insertions, 56 deletions
diff --git a/mp/src/game/client/fx_trail.h b/mp/src/game/client/fx_trail.h index 6fc2836f..e618fd05 100644 --- a/mp/src/game/client/fx_trail.h +++ b/mp/src/game/client/fx_trail.h @@ -1,56 +1,56 @@ -//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-// Purpose:
-//
-//=============================================================================//
-
-#ifndef FX_TRAIL_H
-#define FX_TRAIL_H
-#ifdef _WIN32
-#pragma once
-#endif
-
-#include "particle_util.h"
-#include "baseparticleentity.h"
-#include "particle_prototype.h"
-
-class C_ParticleTrail : public C_BaseParticleEntity, public IPrototypeAppEffect
-{
-public:
-
- DECLARE_CLASS( C_ParticleTrail, C_BaseParticleEntity );
-
- C_ParticleTrail( void );
- virtual ~C_ParticleTrail( void );
-
- void GetAimEntOrigin( IClientEntity *pAttachedTo, Vector *pAbsOrigin, QAngle *pAbsAngles );
-
- void SetEmit( bool bEmit );
- bool ShouldEmit( void ) { return m_bEmit; }
-
- void SetSpawnRate( float rate );
-
-
-// C_BaseEntity.
-public:
- virtual void OnDataChanged(DataUpdateType_t updateType);
-
- virtual void Start( CParticleMgr *pParticleMgr, IPrototypeArgAccess *pArgs );
-
- int m_nAttachment;
- float m_flLifetime; // How long this effect will last
-
-private:
-
- float m_SpawnRate; // How many particles per second.
- bool m_bEmit; // Keep emitting particles?
-
- TimedEvent m_ParticleSpawn;
- CParticleMgr *m_pParticleMgr;
-
-private:
-
- C_ParticleTrail( const C_ParticleTrail & );
-};
-
-#endif // FX_TRAIL_H
+//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +//=============================================================================// + +#ifndef FX_TRAIL_H +#define FX_TRAIL_H +#ifdef _WIN32 +#pragma once +#endif + +#include "particle_util.h" +#include "baseparticleentity.h" +#include "particle_prototype.h" + +class C_ParticleTrail : public C_BaseParticleEntity, public IPrototypeAppEffect +{ +public: + + DECLARE_CLASS( C_ParticleTrail, C_BaseParticleEntity ); + + C_ParticleTrail( void ); + virtual ~C_ParticleTrail( void ); + + void GetAimEntOrigin( IClientEntity *pAttachedTo, Vector *pAbsOrigin, QAngle *pAbsAngles ); + + void SetEmit( bool bEmit ); + bool ShouldEmit( void ) { return m_bEmit; } + + void SetSpawnRate( float rate ); + + +// C_BaseEntity. +public: + virtual void OnDataChanged(DataUpdateType_t updateType); + + virtual void Start( CParticleMgr *pParticleMgr, IPrototypeArgAccess *pArgs ); + + int m_nAttachment; + float m_flLifetime; // How long this effect will last + +private: + + float m_SpawnRate; // How many particles per second. + bool m_bEmit; // Keep emitting particles? + + TimedEvent m_ParticleSpawn; + CParticleMgr *m_pParticleMgr; + +private: + + C_ParticleTrail( const C_ParticleTrail & ); +}; + +#endif // FX_TRAIL_H |