source-engine/game/server/episodic/weapon_oldmanharpoon.cpp

37 lines
1.1 KiB
C++
Raw Normal View History

2020-04-22 16:56:21 +00:00
//========= 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 );