source-engine/game/shared/hl1/hl1mp_weapon_mp5.h

54 lines
1005 B
C
Raw Normal View History

2022-04-16 09:05:19 +00:00
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose: Projectile shot from the MP5
//
// $Workfile: $
// $Date: $
//
//-----------------------------------------------------------------------------
// $Log: $
//
// $NoKeywords: $
//=============================================================================//
#ifndef WEAPONMP5_H
#define WEAPONMP5_H
#ifdef CLIENT_DLL
#else
#include "hl1_basegrenade.h"
#endif
#include "hl1mp_basecombatweapon_shared.h"
#ifdef CLIENT_DLL
class CGrenadeMP5;
#else
#endif
#ifdef CLIENT_DLL
#define CWeaponMP5 C_WeaponMP5
#endif
class CWeaponMP5 : public CBaseHL1MPCombatWeapon
{
DECLARE_CLASS( CWeaponMP5, CBaseHL1MPCombatWeapon );
public:
DECLARE_NETWORKCLASS();
DECLARE_PREDICTABLE();
CWeaponMP5();
void Precache( void );
void PrimaryAttack( void );
void SecondaryAttack( void );
void DryFire( void );
void WeaponIdle( void );
// DECLARE_SERVERCLASS();
DECLARE_DATADESC();
};
#endif //WEAPONMP5_H