summaryrefslogtreecommitdiff
path: root/game/shared/cstrike/weapon_flashbang.h
blob: 6f44aaefb61660c7c38522080de0f74e03ed000d (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_FLASHBANG_H
#define WEAPON_FLASHBANG_H
#ifdef _WIN32
#pragma once
#endif


#include "weapon_basecsgrenade.h"


#ifdef CLIENT_DLL
	#define CFlashbang C_Flashbang
#endif


//-----------------------------------------------------------------------------
// Fragmentation grenades
//-----------------------------------------------------------------------------
class CFlashbang : public CBaseCSGrenade
{
public:
	DECLARE_CLASS( CFlashbang, CBaseCSGrenade );
	DECLARE_NETWORKCLASS();
	DECLARE_PREDICTABLE();

	CFlashbang() {}

	virtual CSWeaponID GetWeaponID( void ) const		{ return WEAPON_FLASHBANG; }


#ifdef CLIENT_DLL

#else
	DECLARE_DATADESC();

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

	CFlashbang( const CFlashbang & ) {}
};


#endif // WEAPON_FLASHBANG_H