mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-09-01 15:09:19 +00:00
upload "kind" alien swarm
This commit is contained in:
@@ -0,0 +1,48 @@
|
||||
#ifndef _DEFINED_ASW_EXTINGUISHER_PROJECTILE_H
|
||||
#define _DEFINED_ASW_EXTINGUISHER_PROJECTILE_H
|
||||
#pragma once
|
||||
|
||||
#ifdef CLIENT_DLL
|
||||
#define CBaseEntity C_BaseEntity
|
||||
#endif
|
||||
|
||||
class CSprite;
|
||||
class CSpriteTrail;
|
||||
|
||||
class CASW_Extinguisher_Projectile : public CBaseCombatCharacter
|
||||
{
|
||||
DECLARE_CLASS( CASW_Extinguisher_Projectile, CBaseCombatCharacter );
|
||||
|
||||
#if !defined( CLIENT_DLL )
|
||||
DECLARE_SERVERCLASS();
|
||||
DECLARE_DATADESC();
|
||||
#endif
|
||||
|
||||
virtual ~CASW_Extinguisher_Projectile( void );
|
||||
|
||||
public:
|
||||
void Spawn( void );
|
||||
bool CreateVPhysics( void );
|
||||
//void SetVelocity( const Vector &velocity, const AngularImpulse &angVelocity );
|
||||
//void VPhysicsUpdate( IPhysicsObject *pPhysics );
|
||||
unsigned int PhysicsSolidMaskForEntity() const;
|
||||
void ProjectileTouch( CBaseEntity *pOther );
|
||||
virtual void PhysicsSimulate( void );
|
||||
virtual int ShouldTransmit( const CCheckTransmitInfo *pInfo );
|
||||
void TouchedEnvFire();
|
||||
void SetFreezeAmount( float flFreeze ) { m_flFreezeAmount = flFreeze; }
|
||||
|
||||
static CASW_Extinguisher_Projectile *Extinguisher_Projectile_Create( const Vector &position, const QAngle &angles, const Vector &velocity, const AngularImpulse &angVelocity, CBaseEntity *pOwner );
|
||||
|
||||
CBaseEntity* GetFirer();
|
||||
EHANDLE m_hFirer;
|
||||
|
||||
protected:
|
||||
|
||||
float m_flDamage;
|
||||
bool m_inSolid;
|
||||
float m_flFreezeAmount;
|
||||
};
|
||||
|
||||
|
||||
#endif // _DEFINED_ASW_EXTINGUISHER_PROJECTILE_H
|
||||
Reference in New Issue
Block a user