Files
HL2Overcharged/game/server/overcharged/grenade_strooper_bounce.h
2025-05-21 21:20:08 +03:00

41 lines
944 B
C++

//========= Overcharged 2019. ============//
//
// Purpose: Shock trooper bounce grenade
//
//=============================================================================//
#ifndef strooper_bounceGRENADE_H
#define strooper_bounceGRENADE_H
#ifdef _WIN32
#pragma once
#endif
#include "basegrenade_shared.h"
class Cgrenade_strooper_bounce : public CBaseGrenade
{
DECLARE_CLASS( Cgrenade_strooper_bounce, CBaseGrenade );
public:
DECLARE_DATADESC();
virtual void Precache();
void Explode( trace_t *pTrace, int bitsDamageType );
unsigned int PhysicsSolidMaskForEntity( void ) const;
};
class CHandGrenade : public Cgrenade_strooper_bounce
{
public:
DECLARE_CLASS( CHandGrenade, Cgrenade_strooper_bounce );
DECLARE_DATADESC();
void Spawn( void );
void Precache( void );
void BounceSound( void );
void BounceTouch( CBaseEntity *pOther );
void ShootTimed( CBaseCombatCharacter *pOwner, Vector vecVelocity, float flTime );
};
#endif