summaryrefslogtreecommitdiff
path: root/game/shared/hl1/hl1mp_weapon_mp5.h
diff options
context:
space:
mode:
Diffstat (limited to 'game/shared/hl1/hl1mp_weapon_mp5.h')
-rw-r--r--game/shared/hl1/hl1mp_weapon_mp5.h53
1 files changed, 53 insertions, 0 deletions
diff --git a/game/shared/hl1/hl1mp_weapon_mp5.h b/game/shared/hl1/hl1mp_weapon_mp5.h
new file mode 100644
index 0000000..427c630
--- /dev/null
+++ b/game/shared/hl1/hl1mp_weapon_mp5.h
@@ -0,0 +1,53 @@
+//========= 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