blob: 519043bd9244c62e5c387efcaab7ecafc461833e (
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
|
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
//=============================================================================
#ifndef C_DOD_SMOKEGRENADE_H
#define C_DOD_SMOKEGRENADE_H
#ifdef _WIN32
#pragma once
#endif
#include "c_dod_basegrenade.h"
class C_DODSmokeGrenade : public C_DODBaseGrenade
{
public:
DECLARE_CLASS( C_DODSmokeGrenade, C_DODBaseGrenade );
DECLARE_NETWORKCLASS();
C_DODSmokeGrenade();
virtual const char *GetOverviewSpriteName( void );
virtual const char *GetParticleTrailName( void ) { return NULL; }
virtual void OnDataChanged( DataUpdateType_t updateType );
virtual void ClientThink( void );
float CalcSmokeCloudRadius( void );
float CalcSmokeCloudAlpha( void );
private:
float m_flSmokeSpawnTime; // time the smoke starts emitting
};
#endif // C_DOD_SMOKEGRENADE_H
|