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/ar2_explosion.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/ar2_explosion.h')
| -rw-r--r-- | sp/src/game/server/hl2/ar2_explosion.h | 86 |
1 files changed, 43 insertions, 43 deletions
diff --git a/sp/src/game/server/hl2/ar2_explosion.h b/sp/src/game/server/hl2/ar2_explosion.h index b44c0db8..673528d7 100644 --- a/sp/src/game/server/hl2/ar2_explosion.h +++ b/sp/src/game/server/hl2/ar2_explosion.h @@ -1,43 +1,43 @@ -//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-// Purpose:
-//
-// $NoKeywords: $
-//
-//=============================================================================//
-
-#ifndef AR2_EXPLOSION_H
-#define AR2_EXPLOSION_H
-
-
-#include "baseparticleentity.h"
-
-
-class AR2Explosion : public CBaseParticleEntity
-{
- DECLARE_DATADESC();
-
-public:
- DECLARE_CLASS( AR2Explosion, CBaseParticleEntity );
- DECLARE_SERVERCLASS();
-
- static AR2Explosion* CreateAR2Explosion(const Vector &pos);
-
- inline void SetMaterialName(const char *szMaterialName);
-
-private:
-
- CNetworkString( m_szMaterialName, 255 );
-};
-
-
-void AR2Explosion::SetMaterialName(const char *szMaterialName)
-{
- if (szMaterialName)
- {
- Q_strncpy(m_szMaterialName.GetForModify(), szMaterialName, sizeof(m_szMaterialName));
- }
-}
-
-
-#endif
+//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +// $NoKeywords: $ +// +//=============================================================================// + +#ifndef AR2_EXPLOSION_H +#define AR2_EXPLOSION_H + + +#include "baseparticleentity.h" + + +class AR2Explosion : public CBaseParticleEntity +{ + DECLARE_DATADESC(); + +public: + DECLARE_CLASS( AR2Explosion, CBaseParticleEntity ); + DECLARE_SERVERCLASS(); + + static AR2Explosion* CreateAR2Explosion(const Vector &pos); + + inline void SetMaterialName(const char *szMaterialName); + +private: + + CNetworkString( m_szMaterialName, 255 ); +}; + + +void AR2Explosion::SetMaterialName(const char *szMaterialName) +{ + if (szMaterialName) + { + Q_strncpy(m_szMaterialName.GetForModify(), szMaterialName, sizeof(m_szMaterialName)); + } +} + + +#endif |