Modified source engine (2017) developed by valve and leaked in 2020. Not for commercial purporses
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
827 B

5 years ago
//========= 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