upload "kind" alien swarm

This commit is contained in:
nillerusr
2023-10-03 17:23:56 +03:00
parent b7bd94c52e
commit 7d3c0d8b5a
4229 changed files with 462900 additions and 495155 deletions
+36
View File
@@ -0,0 +1,36 @@
#ifndef _INCLUDED_ASW_PROP_PHYSICS_H
#define _INCLUDED_ASW_PROP_PHYSICS_H
#include "props.h"
#include "asw_shareddefs.h"
class CASW_Prop_Physics : public CPhysicsProp
{
public:
DECLARE_CLASS( CASW_Prop_Physics, CPhysicsProp );
DECLARE_SERVERCLASS();
DECLARE_DATADESC();
virtual void Spawn( void );
virtual void Event_Killed( const CTakeDamageInfo &info );
static bool KickingVismonCallback( CBaseEntity *pPhysProp, CBasePlayer *pViewingPlayer );
static bool DetonateVismonCallback( CBaseEntity *pPhysProp, CBasePlayer *pViewingPlayer );
virtual Class_T Classify( void ) { return (Class_T) CLASS_ASW_PHYSICS_PROP; }
protected:
virtual void OnBreak( const Vector &vecVelocity, const AngularImpulse &angVel, CBaseEntity *pBreaker );
virtual void Ignite( float flFlameLifetime, bool bNPCOnly, float flSize, bool bCalledByLevelDesigner );
virtual int OnTakeDamage( const CTakeDamageInfo &inputInfo );
CNetworkVar( bool, m_bIsAimTarget );
CNetworkVar( bool, m_bOnFire );
bool m_bBulletForceImmune;
bool m_bMeleeHit;
};
#define SF_PHYSPROP_AIMTARGET 0x008000 // makes this prop a clientside autoaim target for marines
#endif // _INCLUDED_ASW_PROP_PHYSICS_H