You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
53 lines
1005 B
53 lines
1005 B
//========= 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
|
|
|