blob: ddaf6e2af0a162278ed892d0936a856684dfa591 (
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
|
//========= Copyright Valve Corporation, All rights reserved. ============//
#ifndef GRENADE_TRAIL_H
#define GRENADE_TRAIL_H
#include "baseparticleentity.h"
//==================================================
// SmokeTrail
//==================================================
class CGrenadeTrail : public CBaseParticleEntity
{
DECLARE_DATADESC();
public:
DECLARE_CLASS( CGrenadeTrail, CBaseParticleEntity );
DECLARE_SERVERCLASS();
CGrenadeTrail();
void SetEmit(bool bVal);
void FollowEntity( CBaseEntity *pEntity, const char *pAttachmentName = NULL);
static CGrenadeTrail* CreateGrenadeTrail();
public:
CNetworkVar( float, m_SpawnRate ); // How many particles per second.
CNetworkVar( float, m_ParticleLifetime ); // How long do the particles live?
CNetworkVar( bool, m_bEmit );
CNetworkVar( float, m_StopEmitTime ); // When do I stop emitting particles?
CNetworkVar( int, m_nAttachment );
};
#endif //GRENADE_TRAIL_H
|