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/hl2/weapon_alyxgun.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/hl2/weapon_alyxgun.h')
| -rw-r--r-- | mp/src/game/server/hl2/weapon_alyxgun.h | 120 |
1 files changed, 60 insertions, 60 deletions
diff --git a/mp/src/game/server/hl2/weapon_alyxgun.h b/mp/src/game/server/hl2/weapon_alyxgun.h index 90dc01c7..cc3e862c 100644 --- a/mp/src/game/server/hl2/weapon_alyxgun.h +++ b/mp/src/game/server/hl2/weapon_alyxgun.h @@ -1,60 +1,60 @@ -//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-// Purpose:
-//
-//=============================================================================//
-
-#ifndef WEAPON_ALYXGUN_H
-#define WEAPON_ALYXGUN_H
-
-#include "basehlcombatweapon.h"
-
-#if defined( _WIN32 )
-#pragma once
-#endif
-
-class CWeaponAlyxGun : public CHLSelectFireMachineGun
-{
- DECLARE_DATADESC();
-public:
- DECLARE_CLASS( CWeaponAlyxGun, CHLSelectFireMachineGun );
-
- CWeaponAlyxGun();
- ~CWeaponAlyxGun();
-
- DECLARE_SERVERCLASS();
-
- void Precache( void );
-
- virtual int GetMinBurst( void ) { return 4; }
- virtual int GetMaxBurst( void ) { return 7; }
- virtual float GetMinRestTime( void );
- virtual float GetMaxRestTime( void );
-
- virtual void Equip( CBaseCombatCharacter *pOwner );
-
- float GetFireRate( void ) { return 0.1f; }
- int CapabilitiesGet( void ) { return bits_CAP_WEAPON_RANGE_ATTACK1; }
- int WeaponRangeAttack1Condition( float flDot, float flDist );
- int WeaponRangeAttack2Condition( float flDot, float flDist );
-
- virtual const Vector& GetBulletSpread( void );
-
- void FireNPCPrimaryAttack( CBaseCombatCharacter *pOperator, bool bUseWeaponAngles );
-
- void Operator_ForceNPCFire( CBaseCombatCharacter *pOperator, bool bSecondary );
- void Operator_HandleAnimEvent( animevent_t *pEvent, CBaseCombatCharacter *pOperator );
-
- virtual void SetPickupTouch( void )
- {
- // Alyx gun cannot be picked up
- SetTouch(NULL);
- }
-
- float m_flTooCloseTimer;
-
- DECLARE_ACTTABLE();
-
-};
-
-#endif // WEAPON_ALYXGUN_H
+//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +//=============================================================================// + +#ifndef WEAPON_ALYXGUN_H +#define WEAPON_ALYXGUN_H + +#include "basehlcombatweapon.h" + +#if defined( _WIN32 ) +#pragma once +#endif + +class CWeaponAlyxGun : public CHLSelectFireMachineGun +{ + DECLARE_DATADESC(); +public: + DECLARE_CLASS( CWeaponAlyxGun, CHLSelectFireMachineGun ); + + CWeaponAlyxGun(); + ~CWeaponAlyxGun(); + + DECLARE_SERVERCLASS(); + + void Precache( void ); + + virtual int GetMinBurst( void ) { return 4; } + virtual int GetMaxBurst( void ) { return 7; } + virtual float GetMinRestTime( void ); + virtual float GetMaxRestTime( void ); + + virtual void Equip( CBaseCombatCharacter *pOwner ); + + float GetFireRate( void ) { return 0.1f; } + int CapabilitiesGet( void ) { return bits_CAP_WEAPON_RANGE_ATTACK1; } + int WeaponRangeAttack1Condition( float flDot, float flDist ); + int WeaponRangeAttack2Condition( float flDot, float flDist ); + + virtual const Vector& GetBulletSpread( void ); + + void FireNPCPrimaryAttack( CBaseCombatCharacter *pOperator, bool bUseWeaponAngles ); + + void Operator_ForceNPCFire( CBaseCombatCharacter *pOperator, bool bSecondary ); + void Operator_HandleAnimEvent( animevent_t *pEvent, CBaseCombatCharacter *pOperator ); + + virtual void SetPickupTouch( void ) + { + // Alyx gun cannot be picked up + SetTouch(NULL); + } + + float m_flTooCloseTimer; + + DECLARE_ACTTABLE(); + +}; + +#endif // WEAPON_ALYXGUN_H |