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/client/particles_attractor.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/client/particles_attractor.h')
| -rw-r--r-- | sp/src/game/client/particles_attractor.h | 72 |
1 files changed, 36 insertions, 36 deletions
diff --git a/sp/src/game/client/particles_attractor.h b/sp/src/game/client/particles_attractor.h index 2fa220d2..077376f2 100644 --- a/sp/src/game/client/particles_attractor.h +++ b/sp/src/game/client/particles_attractor.h @@ -1,36 +1,36 @@ -//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-// Purpose:
-//
-//=============================================================================//
-
-#ifndef PARTICLES_ATTRACTOR_H
-#define PARTICLES_ATTRACTOR_H
-#ifdef _WIN32
-#pragma once
-#endif
-
-#include "particles_simple.h"
-
-class CParticleAttractor : public CSimpleEmitter
-{
-public:
-
- CParticleAttractor( const char *pDebugName ) : CSimpleEmitter( pDebugName ) {}
-
- //Create
- static CParticleAttractor *Create( const Vector ¢er, const char *pDebugName = "attractor" );
-
- void UpdateVelocity( SimpleParticle *pParticle, float timeDelta );
- float UpdateScale( const SimpleParticle *pParticle );
- float UpdateAlpha( const SimpleParticle *pParticle );
- void SetAttractorOrigin( const Vector &origin );
-
-private:
-
- CParticleAttractor( const CParticleAttractor & ); // not defined, not accessible
-
- Vector m_vecAttractorOrigin;
-};
-
-#endif // PARTICLES_ATTRACTOR_H
+//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +//=============================================================================// + +#ifndef PARTICLES_ATTRACTOR_H +#define PARTICLES_ATTRACTOR_H +#ifdef _WIN32 +#pragma once +#endif + +#include "particles_simple.h" + +class CParticleAttractor : public CSimpleEmitter +{ +public: + + CParticleAttractor( const char *pDebugName ) : CSimpleEmitter( pDebugName ) {} + + //Create + static CParticleAttractor *Create( const Vector ¢er, const char *pDebugName = "attractor" ); + + void UpdateVelocity( SimpleParticle *pParticle, float timeDelta ); + float UpdateScale( const SimpleParticle *pParticle ); + float UpdateAlpha( const SimpleParticle *pParticle ); + void SetAttractorOrigin( const Vector &origin ); + +private: + + CParticleAttractor( const CParticleAttractor & ); // not defined, not accessible + + Vector m_vecAttractorOrigin; +}; + +#endif // PARTICLES_ATTRACTOR_H |