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.
 
 
 
 
 
 

59 lines
1.1 KiB

//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
//=============================================================================//
#ifndef WEAPON_TFC_MEDIKIT_H
#define WEAPON_TFC_MEDIKIT_H
#ifdef _WIN32
#pragma once
#endif
#include "weapon_tfcbase.h"
#include "weapon_tfc_crowbar.h"
#if defined( CLIENT_DLL )
#define CTFCMedikit C_TFCMedikit
#endif
// ----------------------------------------------------------------------------- //
// CTFCMedikit class definition.
// ----------------------------------------------------------------------------- //
class CTFCMedikit : public CTFCCrowbar
{
public:
DECLARE_CLASS( CTFCMedikit, CTFCCrowbar );
DECLARE_NETWORKCLASS();
DECLARE_PREDICTABLE();
#ifndef CLIENT_DLL
DECLARE_DATADESC();
#endif
CTFCMedikit();
virtual void Precache();
virtual TFCWeaponID GetWeaponID( void ) const;
#ifdef CLIENT_DLL
#else
virtual void AxeHit( CBaseEntity *pHit, bool bFirstSwing, trace_t &tr, float *flDamage, bool *bDoEffects );
#endif
private:
CTFCMedikit( const CTFCMedikit & ) {}
};
#endif // WEAPON_TFC_MEDIKIT_H