blob: 8d654cf03f8ef18128cba43947da213cccb72a29 (
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
|
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//=============================================================================//
#ifndef WEAPON_SMOKEGRENADE_H
#define WEAPON_SMOKEGRENADE_H
#ifdef _WIN32
#pragma once
#endif
#include "weapon_basecsgrenade.h"
#ifdef CLIENT_DLL
#define CSmokeGrenade C_SmokeGrenade
#endif
//-----------------------------------------------------------------------------
// Smoke grenades
//-----------------------------------------------------------------------------
class CSmokeGrenade : public CBaseCSGrenade
{
public:
DECLARE_CLASS( CSmokeGrenade, CBaseCSGrenade );
DECLARE_NETWORKCLASS();
DECLARE_PREDICTABLE();
CSmokeGrenade() {}
virtual CSWeaponID GetWeaponID( void ) const { return WEAPON_SMOKEGRENADE; }
#ifdef CLIENT_DLL
#else
DECLARE_DATADESC();
void EmitGrenade( Vector vecSrc, QAngle vecAngles, Vector vecVel, AngularImpulse angImpulse, CBasePlayer *pPlayer );
#endif
CSmokeGrenade( const CSmokeGrenade & ) {}
};
#endif // WEAPON_SMOKEGRENADE_H
|