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/particle_smokegrenade.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/server/particle_smokegrenade.h')
| -rw-r--r-- | mp/src/game/server/particle_smokegrenade.h | 116 |
1 files changed, 58 insertions, 58 deletions
diff --git a/mp/src/game/server/particle_smokegrenade.h b/mp/src/game/server/particle_smokegrenade.h index 90718c62..925b11d9 100644 --- a/mp/src/game/server/particle_smokegrenade.h +++ b/mp/src/game/server/particle_smokegrenade.h @@ -1,58 +1,58 @@ -//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-// Purpose:
-//
-// $NoKeywords: $
-//
-//=============================================================================//
-
-#ifndef PARTICLE_SMOKEGRENADE_H
-#define PARTICLE_SMOKEGRENADE_H
-
-
-#include "baseparticleentity.h"
-
-
-#define PARTICLESMOKEGRENADE_ENTITYNAME "env_particlesmokegrenade"
-
-
-class ParticleSmokeGrenade : public CBaseParticleEntity
-{
- DECLARE_DATADESC();
-public:
- DECLARE_CLASS( ParticleSmokeGrenade, CBaseParticleEntity );
- DECLARE_SERVERCLASS();
-
- ParticleSmokeGrenade();
-
- virtual int UpdateTransmitState( void );
-
-public:
-
- // Tell the client entity to start filling the volume.
- void FillVolume();
-
- // Set the times it fades out at.
- void SetFadeTime(float startTime, float endTime);
-
- // Set time to fade out relative to current time
- void SetRelativeFadeTime(float startTime, float endTime);
-
-
-public:
-
- // Stage 0 (default): make a smoke trail that follows the entity it's following.
- // Stage 1 : fill a volume with smoke.
- CNetworkVar( unsigned char, m_CurrentStage );
-
- CNetworkVar( float, m_flSpawnTime );
-
- // When to fade in and out.
- CNetworkVar( float, m_FadeStartTime );
- CNetworkVar( float, m_FadeEndTime );
-};
-
-
-#endif
-
-
+//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +// $NoKeywords: $ +// +//=============================================================================// + +#ifndef PARTICLE_SMOKEGRENADE_H +#define PARTICLE_SMOKEGRENADE_H + + +#include "baseparticleentity.h" + + +#define PARTICLESMOKEGRENADE_ENTITYNAME "env_particlesmokegrenade" + + +class ParticleSmokeGrenade : public CBaseParticleEntity +{ + DECLARE_DATADESC(); +public: + DECLARE_CLASS( ParticleSmokeGrenade, CBaseParticleEntity ); + DECLARE_SERVERCLASS(); + + ParticleSmokeGrenade(); + + virtual int UpdateTransmitState( void ); + +public: + + // Tell the client entity to start filling the volume. + void FillVolume(); + + // Set the times it fades out at. + void SetFadeTime(float startTime, float endTime); + + // Set time to fade out relative to current time + void SetRelativeFadeTime(float startTime, float endTime); + + +public: + + // Stage 0 (default): make a smoke trail that follows the entity it's following. + // Stage 1 : fill a volume with smoke. + CNetworkVar( unsigned char, m_CurrentStage ); + + CNetworkVar( float, m_flSpawnTime ); + + // When to fade in and out. + CNetworkVar( float, m_FadeStartTime ); + CNetworkVar( float, m_FadeEndTime ); +}; + + +#endif + + |