Team Fortress 2 Source Code as on 22/4/2020
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.

36 lines
1.1 KiB

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. //=============================================================================
  6. #include "cbase.h"
  7. #include "weapon_citizenpackage.h"
  8. //-----------------------------------------------------------------------------
  9. // Purpose: Old Man Harpoon - Lost Coast.
  10. //-----------------------------------------------------------------------------
  11. class CWeaponOldManHarpoon : public CWeaponCitizenPackage
  12. {
  13. DECLARE_CLASS( CWeaponOldManHarpoon, CWeaponCitizenPackage );
  14. public:
  15. DECLARE_SERVERCLASS();
  16. DECLARE_DATADESC();
  17. DECLARE_ACTTABLE();
  18. };
  19. IMPLEMENT_SERVERCLASS_ST( CWeaponOldManHarpoon, DT_WeaponOldManHarpoon )
  20. END_SEND_TABLE()
  21. BEGIN_DATADESC( CWeaponOldManHarpoon )
  22. END_DATADESC()
  23. LINK_ENTITY_TO_CLASS( weapon_oldmanharpoon, CWeaponOldManHarpoon );
  24. PRECACHE_WEAPON_REGISTER( weapon_oldmanharpoon );
  25. acttable_t CWeaponOldManHarpoon::m_acttable[] =
  26. {
  27. { ACT_IDLE, ACT_IDLE_SUITCASE, false },
  28. { ACT_WALK, ACT_WALK_SUITCASE, false },
  29. };
  30. IMPLEMENT_ACTTABLE( CWeaponOldManHarpoon );