blob: d0456a6092d3a20aa316625deee55d1ee63b2210 (
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
|
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose: Things thrown from the hand
//
// $Workfile: $
// $Date: $
//
//-----------------------------------------------------------------------------
// $Log: $
//
// $NoKeywords: $
//=============================================================================//
#ifndef GRENADEBRICKBAT_H
#define GRENADEBRICKBAT_H
#include "basegrenade_shared.h"
enum BrickbatAmmo_t;
class CGrenade_Brickbat : public CBaseGrenade
{
public:
DECLARE_CLASS( CGrenade_Brickbat, CBaseGrenade );
virtual void Spawn( void );
virtual void SpawnBrickbatWeapon( void );
virtual void Detonate( void ) { return;};
virtual bool CreateVPhysics();
void BrickbatTouch( CBaseEntity *pOther );
void BrickbatThink( void );
BrickbatAmmo_t m_nType;
bool m_bExplodes;
bool m_bBounceToFlat; // Bouncing to flatten
public:
DECLARE_DATADESC();
};
#endif //GRENADEBRICKBAT_H
|