mirror of https://github.com/FWGS/hlsdk-xash3d
31 lines
913 B
C++
Executable File
31 lines
913 B
C++
Executable File
|
|
#ifndef MONSTER_DYNAMITE_H
|
|
#define MONSTER_DYNAMITE_H
|
|
|
|
// Dynamite
|
|
class CMonsterDynamite : public CBaseMonster
|
|
{
|
|
public:
|
|
void Spawn( void );
|
|
|
|
static CMonsterDynamite *Shoot( entvars_t *pevOwner, Vector vecStart, Vector vecVelocity, float time );
|
|
|
|
void Explode( Vector vecSrc, Vector vecAim );
|
|
void Explode( TraceResult *pTrace, int bitsDamageType );
|
|
void EXPORT Smoke( void );
|
|
|
|
void EXPORT BounceTouch( CBaseEntity *pOther );
|
|
void EXPORT PreDetonate( void );
|
|
void EXPORT Detonate( void );
|
|
void EXPORT DetonateUse( CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value );
|
|
void EXPORT TumbleThink( void );
|
|
|
|
virtual void BounceSound( void );
|
|
virtual int BloodColor( void ) { return DONT_BLEED; }
|
|
virtual void Killed( entvars_t *pevAttacker, int iGib );
|
|
|
|
BOOL m_fRegisteredSound;// whether or not this grenade has issued its DANGER sound to the world sound list yet.
|
|
};
|
|
|
|
#endif
|