mirror of
https://github.com/nillerusr/source-engine.git
synced 2025-01-13 16:47:55 +00:00
35 lines
721 B
C++
35 lines
721 B
C++
#ifndef C_ASW_CLIENTRAGDOLL_H
|
|
#define C_ASW_CLIENTRAGDOLL_H
|
|
#ifdef _WIN32
|
|
#pragma once
|
|
#endif
|
|
|
|
class C_ASW_ClientRagdoll : public C_ClientRagdoll
|
|
{
|
|
|
|
public:
|
|
C_ASW_ClientRagdoll( bool bRestoring = true );
|
|
DECLARE_CLASS( C_ASW_ClientRagdoll, C_ClientRagdoll );
|
|
DECLARE_DATADESC();
|
|
|
|
virtual void ClientThink( void );
|
|
|
|
void BreakRagdoll();
|
|
|
|
const Vector& GetDeathForce() { return m_vecForce; }
|
|
|
|
float m_fASWGibTime;
|
|
int m_iSourceEntityIndex;
|
|
|
|
int m_nDeathStyle;
|
|
|
|
bool m_bElectroShock;
|
|
const char *pszGibParticleEffect;
|
|
bool m_bHurled;
|
|
};
|
|
|
|
|
|
void ASWHurlRagdollAtCamera( C_ASW_ClientRagdoll * RESTRICT pEntity );
|
|
void ASWMeleeThrowRagdoll( C_ASW_ClientRagdoll * RESTRICT pEntity );
|
|
|
|
#endif // C_ASW_CLIENTRAGDOLL_H
|