aboutsummaryrefslogtreecommitdiff
path: root/mp/src/game/shared/sdk/weapon_grenade.h
blob: 9d8434bbcdfc46920793837865153533bfccb5ab (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
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose: 
//
//=============================================================================//

#ifndef WEAPON_GRENADE_H
#define WEAPON_GRENADE_H
#ifdef _WIN32
#pragma once
#endif

#include "weapon_basesdkgrenade.h"


#ifdef CLIENT_DLL
	
	#define CSDKGrenade C_SDKGrenade

#endif

//-----------------------------------------------------------------------------
// Fragmentation grenades
//-----------------------------------------------------------------------------
class CSDKGrenade : public CBaseSDKGrenade
{
public:
	DECLARE_CLASS( CSDKGrenade, CBaseSDKGrenade );
	DECLARE_NETWORKCLASS();
	DECLARE_PREDICTABLE();

	CSDKGrenade() {}

	virtual SDKWeaponID GetWeaponID( void ) const		{ return WEAPON_GRENADE; }

#ifdef CLIENT_DLL

#else
	DECLARE_DATADESC();

	virtual void EmitGrenade( Vector vecSrc, QAngle vecAngles, Vector vecVel, AngularImpulse angImpulse, CBasePlayer *pPlayer );
	
#endif

	CSDKGrenade( const CSDKGrenade & ) {}
};


#endif // WEAPON_GRENADE_H