Modified source engine (2017) developed by valve and leaked in 2020. Not for commercial purporses
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.
 
 
 
 
 
 

39 lines
1.1 KiB

//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose: TF's derived BaseCombatWeapon
//
// $NoKeywords: $
//=============================================================================//
#ifndef TF_BASECOMBATWEAPON_H
#define TF_BASECOMBATWEAPON_H
#ifdef _WIN32
#pragma once
#endif
#include "baseplayer_shared.h"
#include "basetfplayer_shared.h"
#include "basetfcombatweapon_shared.h"
class CBaseObject;
class CBaseTechnology;
class CBaseTFPlayer;
//-----------------------------------------------------------------------------
// Purpose: Base TF Machinegun
//-----------------------------------------------------------------------------
class CTFMachineGun : public CBaseTFCombatWeapon
{
DECLARE_CLASS( CTFMachineGun, CBaseTFCombatWeapon );
public:
DECLARE_SERVERCLASS();
virtual void PrimaryAttack( void );
virtual void FireBullets( CBaseTFCombatWeapon *pWeapon, int cShots, const Vector &vecSrc, const Vector &vecDirShooting, const Vector &vecSpread, float flDistance, int iBulletType, int iTracerFreq);
virtual const Vector& GetBulletSpread( void );
virtual float GetFireRate( void );
};
#endif // TF_BASECOMBATWEAPON_H