mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-16 16:20:41 +00:00
Fixing Projectile code
This commit is contained in:
parent
f9316d9cc3
commit
f7e962beaa
8 changed files with 47 additions and 34 deletions
|
@ -1,11 +1,29 @@
|
|||
#pragma once
|
||||
|
||||
class CEntity;
|
||||
class CObject;
|
||||
class CProjectile;
|
||||
enum eWeaponType;
|
||||
|
||||
class CProjectileInfo
|
||||
{
|
||||
public:
|
||||
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];
|
||||
|
||||
static bool RemoveIfThisIsAProjectile(CObject *pObject);
|
||||
static void RemoveAllProjectiles(void);
|
||||
static bool IsProjectileInRange(float x1, float x2, float y1, float y2, float z1, float z2, bool remove);
|
||||
};
|
||||
};
|
||||
|
||||
extern CProjectileInfo* gaProjectileInfo;
|
Loading…
Add table
Add a link
Reference in a new issue