summaryrefslogtreecommitdiff
path: root/game/shared/tfc/weapon_tfc_medikit.h
blob: 496609b145daa22899a73b830931df577b4009dd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
//========= 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