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.
57 lines
1.0 KiB
57 lines
1.0 KiB
//========= Copyright Valve Corporation, All rights reserved. ============// |
|
// |
|
// Purpose: |
|
// |
|
//=============================================================================// |
|
|
|
#ifndef WEAPON_TFC_NAILGUN_H |
|
#define WEAPON_TFC_NAILGUN_H |
|
#ifdef _WIN32 |
|
#pragma once |
|
#endif |
|
|
|
|
|
#include "weapon_tfc_shotgun.h" |
|
|
|
|
|
#if defined( CLIENT_DLL ) |
|
|
|
#define CTFCNailgun C_TFCNailgun |
|
|
|
#endif |
|
|
|
|
|
// ----------------------------------------------------------------------------- // |
|
// CTFCNailgun class definition. |
|
// ----------------------------------------------------------------------------- // |
|
|
|
class CTFCNailgun : public CWeaponTFCBase |
|
{ |
|
public: |
|
DECLARE_CLASS( CTFCNailgun, CWeaponTFCBase ); |
|
DECLARE_NETWORKCLASS(); |
|
DECLARE_PREDICTABLE(); |
|
|
|
#ifndef CLIENT_DLL |
|
DECLARE_DATADESC(); |
|
#endif |
|
|
|
|
|
CTFCNailgun(); |
|
|
|
virtual TFCWeaponID GetWeaponID( void ) const; |
|
virtual void PrimaryAttack(); |
|
virtual void SecondaryAttack(); |
|
|
|
|
|
// Overrideables. |
|
public: |
|
|
|
private: |
|
|
|
CTFCNailgun( const CTFCNailgun & ) {} |
|
|
|
}; |
|
|
|
|
|
#endif // WEAPON_TFC_NAILGUN_H
|
|
|