cl_dll/c_te_legacytempents.h
3456789
// Purpose:
//
// $Workfile: $
// $Date: $
// $NoKeywords: $
//=============================================================================//
#if !defined( C_TE_LEGACYTEMPENTS_H )
3456789
// Purpose:
//
// $Workfile: $
// $Date: 2006/01/07 16:37:32 $
// $NoKeywords: $
//=============================================================================//
#if !defined( C_TE_LEGACYTEMPENTS_H )
19202122232425
#include "mempool.h"
#include "UtlLinkedList.h"
#if defined( CSTRIKE_DLL ) || defined( SDK_DLL )
enum
{
CS_SHELL_9MM = 0,
19202122232425
#include "mempool.h"
#include "UtlLinkedList.h"
#if defined( CSTRIKE_DLL ) || defined( FF_DLL )
enum
{
CS_SHELL_9MM = 0,
27282930313233
CS_SHELL_12GAUGE,
CS_SHELL_556,
CS_SHELL_762NATO,
CS_SHELL_338MAG
};
#endif
2728293031323334353637383940
CS_SHELL_12GAUGE,
CS_SHELL_556,
CS_SHELL_762NATO,
CS_SHELL_338MAG,
FF_SHELL_40MM,
// --> Mirv: FF Projectiles
FF_PROJECTILE_NAIL,
FF_PROJECTILE_DART,
FF_PROJECTILE_NAIL_NG
// <-- Mirv
};
#endif
717273747576
virtual void PlaySound ( C_LocalTempEntity *pTemp, float damp ) = 0;
virtual void PhysicsProp( int modelindex, int skin, const Vector& pos, const QAngle &angles, const Vector& vel, int flags, int effects = 0 ) = 0;
};
7879808182838485
virtual void PlaySound ( C_LocalTempEntity *pTemp, float damp ) = 0;
virtual void PhysicsProp( int modelindex, int skin, const Vector& pos, const QAngle &angles, const Vector& vel, int flags, int effects = 0 ) = 0;
virtual void FFProjectile(const Vector &vecPosition, const QAngle &angVelocity, int iSpeed, int projectileType, int entIndex) = 0;
};
123124125126127128
void CSEjectBrass( const Vector &vecPosition, const QAngle &angAngles, int nType, int nShellType, CBasePlayer *pShooter );
void PhysicsProp( int modelindex, int skin, const Vector& pos, const QAngle &angles, const Vector& vel, int flags, int effects = 0 );
// Data
private:
enum
132133134135136137138139
void CSEjectBrass( const Vector &vecPosition, const QAngle &angAngles, int nType, int nShellType, CBasePlayer *pShooter );
void PhysicsProp( int modelindex, int skin, const Vector& pos, const QAngle &angles, const Vector& vel, int flags, int effects = 0 );
void FFProjectile(const Vector &vecPosition, const QAngle &angVelocity, int iSpeed, int projectileType, int entIndex);
// Data
private:
enum
147148149150151152153
struct model_t *m_pHL1ShotgunShell;
#endif
#if defined( CSTRIKE_DLL ) || defined ( SDK_DLL )
struct model_t *m_pCS_9MMShell;
struct model_t *m_pCS_57Shell;
struct model_t *m_pCS_12GaugeShell;
158159160161162163164
struct model_t *m_pHL1ShotgunShell;
#endif
#if defined( CSTRIKE_DLL )
struct model_t *m_pCS_9MMShell;
struct model_t *m_pCS_57Shell;
struct model_t *m_pCS_12GaugeShell;
156157158159160161
struct model_t *m_pCS_338MAGShell;
#endif
// Internal methods also available to children
protected:
C_LocalTempEntity *TempEntAlloc( const Vector& org, model_t *model );
167168169170171172173174175176177178179180181182183184
struct model_t *m_pCS_338MAGShell;
#endif
// --> Mirv: Our models
#if defined (FF_DLL)
struct model_t *m_pCS_9MMShell;
struct model_t *m_pCS_12GaugeShell;
struct model_t *m_pFF_40MMShell;
struct model_t *m_pFF_Nail;
struct model_t *m_pFF_Dart;
#endif
// <-- Mirv
// Internal methods also available to children
protected:
C_LocalTempEntity *TempEntAlloc( const Vector& org, model_t *model );