2019-10-16 21:53:25 +00:00
|
|
|
#pragma once
|
|
|
|
|
2020-01-07 15:26:23 +00:00
|
|
|
class CEntity;
|
2019-10-16 21:53:25 +00:00
|
|
|
class CObject;
|
2020-01-07 15:26:23 +00:00
|
|
|
class CProjectile;
|
|
|
|
enum eWeaponType;
|
2019-10-16 21:53:25 +00:00
|
|
|
|
|
|
|
class CProjectileInfo
|
|
|
|
{
|
|
|
|
public:
|
2020-01-07 15:26:23 +00:00
|
|
|
eWeaponType m_eWeaponType;
|
|
|
|
CEntity* m_pSource;
|
|
|
|
int m_nExplosionTime;
|
|
|
|
char m_bInUse;
|
|
|
|
char field_13;
|
|
|
|
char field_14;
|
|
|
|
char field_15;
|
|
|
|
CVector m_vecPos;
|
|
|
|
|
|
|
|
public:
|
|
|
|
static CProjectileInfo* GetProjectileInfo(int32 id);
|
|
|
|
static CProjectile* (&ms_apProjectile)[32];
|
|
|
|
|
2019-10-16 21:53:25 +00:00
|
|
|
static bool RemoveIfThisIsAProjectile(CObject *pObject);
|
2019-12-02 20:02:32 +00:00
|
|
|
static void RemoveAllProjectiles(void);
|
2019-12-31 23:35:54 +00:00
|
|
|
static bool IsProjectileInRange(float x1, float x2, float y1, float y2, float z1, float z2, bool remove);
|
2020-01-07 15:26:23 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
extern CProjectileInfo* gaProjectileInfo;
|