aboutsummaryrefslogtreecommitdiff
path: root/mp/src/game/server/hl2/weapon_crowbar.h
diff options
context:
space:
mode:
authorJørgen P. Tjernø <[email protected]>2013-12-02 19:31:46 -0800
committerJørgen P. Tjernø <[email protected]>2013-12-02 19:46:31 -0800
commitf56bb35301836e56582a575a75864392a0177875 (patch)
treede61ddd39de3e7df52759711950b4c288592f0dc /mp/src/game/server/hl2/weapon_crowbar.h
parentMark some more files as text. (diff)
downloadsource-sdk-2013-f56bb35301836e56582a575a75864392a0177875.tar.xz
source-sdk-2013-f56bb35301836e56582a575a75864392a0177875.zip
Fix line endings. WHAMMY.
Diffstat (limited to 'mp/src/game/server/hl2/weapon_crowbar.h')
-rw-r--r--mp/src/game/server/hl2/weapon_crowbar.h108
1 files changed, 54 insertions, 54 deletions
diff --git a/mp/src/game/server/hl2/weapon_crowbar.h b/mp/src/game/server/hl2/weapon_crowbar.h
index 72e432fa..1890ef6e 100644
--- a/mp/src/game/server/hl2/weapon_crowbar.h
+++ b/mp/src/game/server/hl2/weapon_crowbar.h
@@ -1,54 +1,54 @@
-//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-// Purpose:
-//
-//=============================================================================//
-
-#ifndef WEAPON_CROWBAR_H
-#define WEAPON_CROWBAR_H
-
-#include "basebludgeonweapon.h"
-
-#if defined( _WIN32 )
-#pragma once
-#endif
-
-#ifdef HL2MP
-#error weapon_crowbar.h must not be included in hl2mp. The windows compiler will use the wrong class elsewhere if it is.
-#endif
-
-#define CROWBAR_RANGE 75.0f
-#define CROWBAR_REFIRE 0.4f
-
-//-----------------------------------------------------------------------------
-// CWeaponCrowbar
-//-----------------------------------------------------------------------------
-
-class CWeaponCrowbar : public CBaseHLBludgeonWeapon
-{
-public:
- DECLARE_CLASS( CWeaponCrowbar, CBaseHLBludgeonWeapon );
-
- DECLARE_SERVERCLASS();
- DECLARE_ACTTABLE();
-
- CWeaponCrowbar();
-
- float GetRange( void ) { return CROWBAR_RANGE; }
- float GetFireRate( void ) { return CROWBAR_REFIRE; }
-
- void AddViewKick( void );
- float GetDamageForActivity( Activity hitActivity );
-
- virtual int WeaponMeleeAttack1Condition( float flDot, float flDist );
- void SecondaryAttack( void ) { return; }
-
- // Animation event
- virtual void Operator_HandleAnimEvent( animevent_t *pEvent, CBaseCombatCharacter *pOperator );
-
-private:
- // Animation event handlers
- void HandleAnimEventMeleeHit( animevent_t *pEvent, CBaseCombatCharacter *pOperator );
-};
-
-#endif // WEAPON_CROWBAR_H
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose:
+//
+//=============================================================================//
+
+#ifndef WEAPON_CROWBAR_H
+#define WEAPON_CROWBAR_H
+
+#include "basebludgeonweapon.h"
+
+#if defined( _WIN32 )
+#pragma once
+#endif
+
+#ifdef HL2MP
+#error weapon_crowbar.h must not be included in hl2mp. The windows compiler will use the wrong class elsewhere if it is.
+#endif
+
+#define CROWBAR_RANGE 75.0f
+#define CROWBAR_REFIRE 0.4f
+
+//-----------------------------------------------------------------------------
+// CWeaponCrowbar
+//-----------------------------------------------------------------------------
+
+class CWeaponCrowbar : public CBaseHLBludgeonWeapon
+{
+public:
+ DECLARE_CLASS( CWeaponCrowbar, CBaseHLBludgeonWeapon );
+
+ DECLARE_SERVERCLASS();
+ DECLARE_ACTTABLE();
+
+ CWeaponCrowbar();
+
+ float GetRange( void ) { return CROWBAR_RANGE; }
+ float GetFireRate( void ) { return CROWBAR_REFIRE; }
+
+ void AddViewKick( void );
+ float GetDamageForActivity( Activity hitActivity );
+
+ virtual int WeaponMeleeAttack1Condition( float flDot, float flDist );
+ void SecondaryAttack( void ) { return; }
+
+ // Animation event
+ virtual void Operator_HandleAnimEvent( animevent_t *pEvent, CBaseCombatCharacter *pOperator );
+
+private:
+ // Animation event handlers
+ void HandleAnimEventMeleeHit( animevent_t *pEvent, CBaseCombatCharacter *pOperator );
+};
+
+#endif // WEAPON_CROWBAR_H