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/shared/hl2mp/weapon_crowbar.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/shared/hl2mp/weapon_crowbar.h')
| -rw-r--r-- | mp/src/game/shared/hl2mp/weapon_crowbar.h | 140 |
1 files changed, 70 insertions, 70 deletions
diff --git a/mp/src/game/shared/hl2mp/weapon_crowbar.h b/mp/src/game/shared/hl2mp/weapon_crowbar.h index ad62f37a..2cd10fb9 100644 --- a/mp/src/game/shared/hl2mp/weapon_crowbar.h +++ b/mp/src/game/shared/hl2mp/weapon_crowbar.h @@ -1,70 +1,70 @@ -//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-// Purpose:
-//
-// $Workfile: $
-// $Date: $
-//
-//-----------------------------------------------------------------------------
-// $Log: $
-//
-// $NoKeywords: $
-//=============================================================================//
-
-#ifndef HL2MP_WEAPON_CROWBAR_H
-#define HL2MP_WEAPON_CROWBAR_H
-#pragma once
-
-
-#include "weapon_hl2mpbasehlmpcombatweapon.h"
-#include "weapon_hl2mpbasebasebludgeon.h"
-
-
-#ifdef CLIENT_DLL
-#define CWeaponCrowbar C_WeaponCrowbar
-#endif
-
-//-----------------------------------------------------------------------------
-// CWeaponCrowbar
-//-----------------------------------------------------------------------------
-
-class CWeaponCrowbar : public CBaseHL2MPBludgeonWeapon
-{
-public:
- DECLARE_CLASS( CWeaponCrowbar, CBaseHL2MPBludgeonWeapon );
-
- DECLARE_NETWORKCLASS();
- DECLARE_PREDICTABLE();
-
-#ifndef CLIENT_DLL
- DECLARE_ACTTABLE();
-#endif
-
- CWeaponCrowbar();
-
- float GetRange( void );
- float GetFireRate( void );
-
- void AddViewKick( void );
- float GetDamageForActivity( Activity hitActivity );
- void SecondaryAttack( void ) { return; }
-
- void Drop( const Vector &vecVelocity );
-
-
- // Animation event
-#ifndef CLIENT_DLL
- virtual void Operator_HandleAnimEvent( animevent_t *pEvent, CBaseCombatCharacter *pOperator );
- void HandleAnimEventMeleeHit( animevent_t *pEvent, CBaseCombatCharacter *pOperator );
- int WeaponMeleeAttack1Condition( float flDot, float flDist );
-#endif
-
- CWeaponCrowbar( const CWeaponCrowbar & );
-
-private:
-
-};
-
-
-#endif // HL2MP_WEAPON_CROWBAR_H
-
+//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +// $Workfile: $ +// $Date: $ +// +//----------------------------------------------------------------------------- +// $Log: $ +// +// $NoKeywords: $ +//=============================================================================// + +#ifndef HL2MP_WEAPON_CROWBAR_H +#define HL2MP_WEAPON_CROWBAR_H +#pragma once + + +#include "weapon_hl2mpbasehlmpcombatweapon.h" +#include "weapon_hl2mpbasebasebludgeon.h" + + +#ifdef CLIENT_DLL +#define CWeaponCrowbar C_WeaponCrowbar +#endif + +//----------------------------------------------------------------------------- +// CWeaponCrowbar +//----------------------------------------------------------------------------- + +class CWeaponCrowbar : public CBaseHL2MPBludgeonWeapon +{ +public: + DECLARE_CLASS( CWeaponCrowbar, CBaseHL2MPBludgeonWeapon ); + + DECLARE_NETWORKCLASS(); + DECLARE_PREDICTABLE(); + +#ifndef CLIENT_DLL + DECLARE_ACTTABLE(); +#endif + + CWeaponCrowbar(); + + float GetRange( void ); + float GetFireRate( void ); + + void AddViewKick( void ); + float GetDamageForActivity( Activity hitActivity ); + void SecondaryAttack( void ) { return; } + + void Drop( const Vector &vecVelocity ); + + + // Animation event +#ifndef CLIENT_DLL + virtual void Operator_HandleAnimEvent( animevent_t *pEvent, CBaseCombatCharacter *pOperator ); + void HandleAnimEventMeleeHit( animevent_t *pEvent, CBaseCombatCharacter *pOperator ); + int WeaponMeleeAttack1Condition( float flDot, float flDist ); +#endif + + CWeaponCrowbar( const CWeaponCrowbar & ); + +private: + +}; + + +#endif // HL2MP_WEAPON_CROWBAR_H + |