mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-01-04 00:23:25 +08:00
39 lines
865 B
C
39 lines
865 B
C
|
//========= Copyright Valve Corporation, All rights reserved. ============//
|
||
|
//
|
||
|
// Purpose: Molotov grenades
|
||
|
//
|
||
|
// $Workfile: $
|
||
|
// $Date: $
|
||
|
//
|
||
|
//-----------------------------------------------------------------------------
|
||
|
// $Log: $
|
||
|
//
|
||
|
// $NoKeywords: $
|
||
|
//=============================================================================//
|
||
|
|
||
|
#ifndef GRENADEMOLOTOV_H
|
||
|
#define GRENADEMOLOTOV_H
|
||
|
|
||
|
#include "basegrenade_shared.h"
|
||
|
#include "smoke_trail.h"
|
||
|
|
||
|
class CGrenade_Molotov : public CBaseGrenade
|
||
|
{
|
||
|
public:
|
||
|
DECLARE_CLASS( CGrenade_Molotov, CBaseGrenade );
|
||
|
|
||
|
virtual void Spawn( void );
|
||
|
virtual void Precache( void );
|
||
|
virtual void Detonate( void );
|
||
|
void MolotovTouch( CBaseEntity *pOther );
|
||
|
void MolotovThink( void );
|
||
|
|
||
|
protected:
|
||
|
|
||
|
SmokeTrail *m_pFireTrail;
|
||
|
|
||
|
DECLARE_DATADESC();
|
||
|
};
|
||
|
|
||
|
#endif //GRENADEMOLOTOV_H
|