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.

25 lines
731 B

#ifndef _INCLUDED_ASW_GRENADE_FREEZE_H
#define _INCLUDED_ASW_GRENADE_FREEZE_H
#ifdef _WIN32
#pragma once
#endif
#include "asw_grenade_cluster.h"
class CASW_Grenade_Freeze : public CASW_Grenade_Cluster
{
public:
DECLARE_CLASS( CASW_Grenade_Freeze, CASW_Grenade_Cluster );
DECLARE_DATADESC();
virtual void Precache();
virtual void DoExplosion();
virtual void CreateEffects();
static CASW_Grenade_Freeze *Freeze_Grenade_Create( float flDamage, float flFreezeAmount, float fRadius, int iClusters, const Vector &position, const QAngle &angles, const Vector &velocity, const AngularImpulse &angVelocity, CBaseEntity *pOwner, CBaseEntity *pCreatorWeapon );
float m_flFreezeAmount;
};
#endif // _INCLUDED_ASW_GRENADE_FREEZE_H