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/hl2/grenade_spit.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/hl2/grenade_spit.h')
| -rw-r--r-- | sp/src/game/server/hl2/grenade_spit.h | 116 |
1 files changed, 58 insertions, 58 deletions
diff --git a/sp/src/game/server/hl2/grenade_spit.h b/sp/src/game/server/hl2/grenade_spit.h index cef9d4de..562b8526 100644 --- a/sp/src/game/server/hl2/grenade_spit.h +++ b/sp/src/game/server/hl2/grenade_spit.h @@ -1,58 +1,58 @@ -//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-// Purpose: Projectile shot by bullsquid
-//
-// $Workfile: $
-// $Date: $
-//
-//-----------------------------------------------------------------------------
-// $Log: $
-//
-// $NoKeywords: $
-//=============================================================================//
-
-#ifndef GRENADESPIT_H
-#define GRENADESPIT_H
-
-#include "basegrenade_shared.h"
-
-class CParticleSystem;
-
-enum SpitSize_e
-{
- SPIT_SMALL,
- SPIT_MEDIUM,
- SPIT_LARGE,
-};
-
-#define SPIT_GRAVITY 600
-
-class CGrenadeSpit : public CBaseGrenade
-{
- DECLARE_CLASS( CGrenadeSpit, CBaseGrenade );
-
-public:
- CGrenadeSpit( void );
-
- virtual void Spawn( void );
- virtual void Precache( void );
- virtual void Event_Killed( const CTakeDamageInfo &info );
-
- virtual unsigned int PhysicsSolidMaskForEntity( void ) const { return ( BaseClass::PhysicsSolidMaskForEntity() | CONTENTS_WATER ); }
-
- void GrenadeSpitTouch( CBaseEntity *pOther );
- void SetSpitSize( int nSize );
- void Detonate( void );
- void Think( void );
-
-private:
- DECLARE_DATADESC();
-
- void InitHissSound( void );
-
- CHandle< CParticleSystem > m_hSpitEffect;
- CSoundPatch *m_pHissSound;
- bool m_bPlaySound;
-};
-
-#endif //GRENADESPIT_H
+//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: Projectile shot by bullsquid +// +// $Workfile: $ +// $Date: $ +// +//----------------------------------------------------------------------------- +// $Log: $ +// +// $NoKeywords: $ +//=============================================================================// + +#ifndef GRENADESPIT_H +#define GRENADESPIT_H + +#include "basegrenade_shared.h" + +class CParticleSystem; + +enum SpitSize_e +{ + SPIT_SMALL, + SPIT_MEDIUM, + SPIT_LARGE, +}; + +#define SPIT_GRAVITY 600 + +class CGrenadeSpit : public CBaseGrenade +{ + DECLARE_CLASS( CGrenadeSpit, CBaseGrenade ); + +public: + CGrenadeSpit( void ); + + virtual void Spawn( void ); + virtual void Precache( void ); + virtual void Event_Killed( const CTakeDamageInfo &info ); + + virtual unsigned int PhysicsSolidMaskForEntity( void ) const { return ( BaseClass::PhysicsSolidMaskForEntity() | CONTENTS_WATER ); } + + void GrenadeSpitTouch( CBaseEntity *pOther ); + void SetSpitSize( int nSize ); + void Detonate( void ); + void Think( void ); + +private: + DECLARE_DATADESC(); + + void InitHissSound( void ); + + CHandle< CParticleSystem > m_hSpitEffect; + CSoundPatch *m_pHissSound; + bool m_bPlaySound; +}; + +#endif //GRENADESPIT_H |