mirror of
https://github.com/nillerusr/source-engine.git
synced 2024-12-23 06:36:54 +00:00
37 lines
1.1 KiB
C++
37 lines
1.1 KiB
C++
//========= 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 );
|