blob: f587dbca6accf599a384225308f9e0fec6cf4f3e (
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
|
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose: Projectile shot by mortar synth
//
// $Workfile: $
// $Date: $
//
//-----------------------------------------------------------------------------
// $Log: $
//
// $NoKeywords: $
//=============================================================================//
#ifndef GRENADEENERGY_H
#define GRENADEENERGY_H
#include "basegrenade_shared.h"
class CGrenadeEnergy : public CBaseGrenade
{
public:
DECLARE_CLASS( CGrenadeEnergy, CBaseGrenade );
static void Shoot( CBaseEntity* pOwner, const Vector &vStart, Vector vVelocity );
public:
void Spawn( void );
void Precache( void );
void Animate( void );
void GrenadeEnergyTouch( CBaseEntity *pOther );
void Event_Killed( const CTakeDamageInfo &info );
int m_flMaxFrame;
int m_nEnergySprite;
float m_flLaunchTime; // When was this thing launched
void EXPORT Detonate(void);
DECLARE_DATADESC();
};
#endif //GRENADEENERGY_H
|