summaryrefslogtreecommitdiffstats
path: root/src/weapons/ProjectileInfo.h
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-01-12 12:31:04 +0100
committerSergeanur <s.anureev@yandex.ua>2020-01-12 12:31:04 +0100
commitd409f64980d0b1888de5f51e04eecab1608a2372 (patch)
tree8ddc07d21e8b63d3b9e9a455559d97f36ad5e62d /src/weapons/ProjectileInfo.h
parentProjectileInfo (diff)
downloadre3-d409f64980d0b1888de5f51e04eecab1608a2372.tar
re3-d409f64980d0b1888de5f51e04eecab1608a2372.tar.gz
re3-d409f64980d0b1888de5f51e04eecab1608a2372.tar.bz2
re3-d409f64980d0b1888de5f51e04eecab1608a2372.tar.lz
re3-d409f64980d0b1888de5f51e04eecab1608a2372.tar.xz
re3-d409f64980d0b1888de5f51e04eecab1608a2372.tar.zst
re3-d409f64980d0b1888de5f51e04eecab1608a2372.zip
Diffstat (limited to '')
-rw-r--r--src/weapons/ProjectileInfo.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/weapons/ProjectileInfo.h b/src/weapons/ProjectileInfo.h
index f44b22c9..dafb48db 100644
--- a/src/weapons/ProjectileInfo.h
+++ b/src/weapons/ProjectileInfo.h
@@ -16,17 +16,17 @@ public:
public:
static CProjectileInfo* GetProjectileInfo(int32 id);
- static CProjectile* (&ms_apProjectile)[32];
+ static CProjectile* (&ms_apProjectile)[NUM_PROJECTILES];
static void Initialise();
static void Shutdown();
- static bool AddProjectile(CEntity *ped, eWeaponType weapon, CVector pos, float a4);
- static void RemoveProjectile(CProjectileInfo*, CProjectile*);
+ static bool AddProjectile(CEntity *ped, eWeaponType weapon, CVector pos, float speed);
+ static void RemoveProjectile(CProjectileInfo *info, CProjectile *projectile);
static void RemoveNotAdd(CEntity *entity, eWeaponType weaponType, CVector pos);
static bool RemoveIfThisIsAProjectile(CObject *pObject);
- static void RemoveAllProjectiles(void);
+ static void RemoveAllProjectiles();
static void Update();
static bool IsProjectileInRange(float x1, float x2, float y1, float y2, float z1, float z2, bool remove);
};
-extern CProjectileInfo (&gaProjectileInfo)[32]; \ No newline at end of file
+extern CProjectileInfo (&gaProjectileInfo)[NUM_PROJECTILES]; \ No newline at end of file