mirror of
https://github.com/Gigaslav/HL2Overcharged.git
synced 2026-01-04 02:10:18 +03:00
36 lines
804 B
C++
36 lines
804 B
C++
#ifndef WEAPON_PISTOL_H
|
|
#define WEAPON_PISTOL_H
|
|
|
|
#include "basehlcombatweapon.h"
|
|
|
|
//-----------------------------------------------------------------------------
|
|
// CWeaponPistol
|
|
//-----------------------------------------------------------------------------
|
|
|
|
class CWeaponPistol : public CBaseHLCombatWeapon
|
|
{
|
|
DECLARE_DATADESC();
|
|
|
|
public:
|
|
DECLARE_CLASS(CWeaponPistol, CBaseHLCombatWeapon);
|
|
|
|
CWeaponPistol(void);
|
|
|
|
DECLARE_SERVERCLASS();
|
|
|
|
void Precache(void);
|
|
void Operator_HandleAnimEvent(animevent_t *pEvent, CBaseCombatCharacter *pOperator);
|
|
int CapabilitiesGet(void) { return bits_CAP_WEAPON_RANGE_ATTACK1; }
|
|
//virtual void Drop(const Vector &vecVelocity);
|
|
|
|
DECLARE_ACTTABLE();
|
|
|
|
private:
|
|
|
|
int Shoot1;
|
|
float MuzzleFlashTime;//Ñ÷¸ò÷èê äëÿ âñïûøêè
|
|
int m_nNumShotsFired;
|
|
|
|
};
|
|
|
|
#endif |