summaryrefslogtreecommitdiff
path: root/game/server/episodic/weapon_oldmanharpoon.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'game/server/episodic/weapon_oldmanharpoon.cpp')
-rw-r--r--game/server/episodic/weapon_oldmanharpoon.cpp36
1 files changed, 36 insertions, 0 deletions
diff --git a/game/server/episodic/weapon_oldmanharpoon.cpp b/game/server/episodic/weapon_oldmanharpoon.cpp
new file mode 100644
index 0000000..497fe22
--- /dev/null
+++ b/game/server/episodic/weapon_oldmanharpoon.cpp
@@ -0,0 +1,36 @@
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose:
+//
+//=============================================================================
+
+#include "cbase.h"
+#include "weapon_citizenpackage.h"
+
+//-----------------------------------------------------------------------------
+// Purpose: Old Man Harpoon - Lost Coast.
+//-----------------------------------------------------------------------------
+class CWeaponOldManHarpoon : public CWeaponCitizenPackage
+{
+ DECLARE_CLASS( CWeaponOldManHarpoon, CWeaponCitizenPackage );
+public:
+ DECLARE_SERVERCLASS();
+ DECLARE_DATADESC();
+ DECLARE_ACTTABLE();
+};
+
+IMPLEMENT_SERVERCLASS_ST( CWeaponOldManHarpoon, DT_WeaponOldManHarpoon )
+END_SEND_TABLE()
+
+BEGIN_DATADESC( CWeaponOldManHarpoon )
+END_DATADESC()
+
+LINK_ENTITY_TO_CLASS( weapon_oldmanharpoon, CWeaponOldManHarpoon );
+PRECACHE_WEAPON_REGISTER( weapon_oldmanharpoon );
+
+acttable_t CWeaponOldManHarpoon::m_acttable[] =
+{
+ { ACT_IDLE, ACT_IDLE_SUITCASE, false },
+ { ACT_WALK, ACT_WALK_SUITCASE, false },
+};
+IMPLEMENT_ACTTABLE( CWeaponOldManHarpoon );