mirror of
https://github.com/nillerusr/source-engine.git
synced 2024-12-27 16:43:01 +00:00
58 lines
1.0 KiB
C
58 lines
1.0 KiB
C
|
//========= 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
|