Team Fortress 2 Source Code as on 22/4/2020
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.
|
|
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose: Projectile shot from the MP5
//
// $Workfile: $
// $Date: $
//
//-----------------------------------------------------------------------------
// $Log: $
//
// $NoKeywords: $
//=============================================================================//
#ifndef GRENADEMP5_H
#define GRENADEMP5_H
#include "hl1_basegrenade.h"
#define MAX_MP5_NO_COLLIDE_TIME 0.2
class SmokeTrail; class CWeaponMP5;
class CGrenadeMP5 : public CHL1BaseGrenade { DECLARE_CLASS( CGrenadeMP5, CHL1BaseGrenade ); public:
float m_fSpawnTime;
void Spawn( void ); void Precache( void ); void GrenadeMP5Touch( CBaseEntity *pOther ); void Event_Killed( CBaseEntity *pInflictor, CBaseEntity *pAttacker, float flDamage, int bitsDamageType );
public: void EXPORT Detonate(void);
DECLARE_DATADESC(); };
#endif //GRENADEMP5_H
|