summaryrefslogtreecommitdiff
path: root/game/shared/tf/tf_weapon_nailgun.h
diff options
context:
space:
mode:
Diffstat (limited to 'game/shared/tf/tf_weapon_nailgun.h')
-rw-r--r--game/shared/tf/tf_weapon_nailgun.h45
1 files changed, 45 insertions, 0 deletions
diff --git a/game/shared/tf/tf_weapon_nailgun.h b/game/shared/tf/tf_weapon_nailgun.h
new file mode 100644
index 0000000..365552e
--- /dev/null
+++ b/game/shared/tf/tf_weapon_nailgun.h
@@ -0,0 +1,45 @@
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+//
+//=============================================================================
+#ifndef TF_WEAPON_NAILGUN_H
+#define TF_WEAPON_NAILGUN_H
+#ifdef _WIN32
+#pragma once
+#endif
+
+#include "tf_weaponbase_gun.h"
+
+// Client specific.
+#ifdef CLIENT_DLL
+#define CTFNailgun C_TFNailgun
+#endif
+
+//=============================================================================
+//
+// TF Weapon Sub-machine gun.
+//
+class CTFNailgun : public CTFWeaponBaseGun
+{
+public:
+
+ DECLARE_CLASS( CTFNailgun, CTFWeaponBaseGun );
+ DECLARE_NETWORKCLASS();
+ DECLARE_PREDICTABLE();
+
+ // Server specific.
+#ifdef GAME_DLL
+ DECLARE_DATADESC();
+#endif
+
+ CTFNailgun() {}
+ ~CTFNailgun() {}
+
+ virtual int GetWeaponID( void ) const { return TF_WEAPON_NAILGUN; }
+
+private:
+
+ CTFNailgun( const CTFNailgun & ) {}
+};
+
+#endif // TF_WEAPON_NAILGUN_H \ No newline at end of file