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/fx_fleck.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/fx_fleck.h')
| -rw-r--r-- | sp/src/game/client/fx_fleck.h | 124 |
1 files changed, 62 insertions, 62 deletions
diff --git a/sp/src/game/client/fx_fleck.h b/sp/src/game/client/fx_fleck.h index 56c8f333..bd9396b5 100644 --- a/sp/src/game/client/fx_fleck.h +++ b/sp/src/game/client/fx_fleck.h @@ -1,63 +1,63 @@ -//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-// Purpose:
-//
-// $Workfile: $
-// $Date: $
-//
-//-----------------------------------------------------------------------------
-// $Log: $
-//
-// $NoKeywords: $
-//=============================================================================//
-
-#if !defined( FXFLECKS_H )
-#define FXFLECKS_H
-#ifdef _WIN32
-#pragma once
-#endif
-
-#include "particles_simple.h"
-#include "particlemgr.h"
-#include "particle_collision.h"
-
-// FleckParticle
-
-class FleckParticle : public Particle
-{
-public:
- Vector m_vecVelocity;
- float m_flRoll;
- float m_flRollDelta;
- float m_flDieTime; // How long it lives for.
- float m_flLifetime; // How long it has been alive for so far.
- byte m_uchColor[3];
- byte m_uchSize;
-};
-
-//
-// CFleckParticles
-//
-
-class CFleckParticles : public CSimpleEmitter
-{
-public:
-
- CFleckParticles( const char *pDebugName );
- ~CFleckParticles();
- static CSmartPtr<CFleckParticles> Create( const char *pDebugName, const Vector &vCenter, const Vector &extents );
-
- virtual void RenderParticles( CParticleRenderIterator *pIterator );
- virtual void SimulateParticles( CParticleSimulateIterator *pIterator );
-
- //Setup for point emission
- virtual void Setup( const Vector &origin, const Vector *direction, float angularSpread, float minSpeed, float maxSpeed, float gravity, float dampen, int flags = 0 );
-
- CParticleCollision m_ParticleCollision;
-
- CFleckParticles *m_pNextParticleSystem;
-private:
- CFleckParticles( const CFleckParticles & ); // not defined, not accessible
-};
-
+//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +// $Workfile: $ +// $Date: $ +// +//----------------------------------------------------------------------------- +// $Log: $ +// +// $NoKeywords: $ +//=============================================================================// + +#if !defined( FXFLECKS_H ) +#define FXFLECKS_H +#ifdef _WIN32 +#pragma once +#endif + +#include "particles_simple.h" +#include "particlemgr.h" +#include "particle_collision.h" + +// FleckParticle + +class FleckParticle : public Particle +{ +public: + Vector m_vecVelocity; + float m_flRoll; + float m_flRollDelta; + float m_flDieTime; // How long it lives for. + float m_flLifetime; // How long it has been alive for so far. + byte m_uchColor[3]; + byte m_uchSize; +}; + +// +// CFleckParticles +// + +class CFleckParticles : public CSimpleEmitter +{ +public: + + CFleckParticles( const char *pDebugName ); + ~CFleckParticles(); + static CSmartPtr<CFleckParticles> Create( const char *pDebugName, const Vector &vCenter, const Vector &extents ); + + virtual void RenderParticles( CParticleRenderIterator *pIterator ); + virtual void SimulateParticles( CParticleSimulateIterator *pIterator ); + + //Setup for point emission + virtual void Setup( const Vector &origin, const Vector *direction, float angularSpread, float minSpeed, float maxSpeed, float gravity, float dampen, int flags = 0 ); + + CParticleCollision m_ParticleCollision; + + CFleckParticles *m_pNextParticleSystem; +private: + CFleckParticles( const CFleckParticles & ); // not defined, not accessible +}; + #endif //FXFLECKS_H
\ No newline at end of file |