summaryrefslogtreecommitdiffstats
path: root/src/weapons/Weapon.h
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-05-17 20:48:12 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-05-17 20:48:12 +0200
commit3cc20d7962c317aeb1e1e36e77ec270298b51cdb (patch)
treec6fcaef6b3271d8407530c826b92367a4e81ff17 /src/weapons/Weapon.h
parentfull script basic support (diff)
parentMerge pull request #555 from erorcun/miami (diff)
downloadre3-3cc20d7962c317aeb1e1e36e77ec270298b51cdb.tar
re3-3cc20d7962c317aeb1e1e36e77ec270298b51cdb.tar.gz
re3-3cc20d7962c317aeb1e1e36e77ec270298b51cdb.tar.bz2
re3-3cc20d7962c317aeb1e1e36e77ec270298b51cdb.tar.lz
re3-3cc20d7962c317aeb1e1e36e77ec270298b51cdb.tar.xz
re3-3cc20d7962c317aeb1e1e36e77ec270298b51cdb.tar.zst
re3-3cc20d7962c317aeb1e1e36e77ec270298b51cdb.zip
Diffstat (limited to 'src/weapons/Weapon.h')
-rw-r--r--src/weapons/Weapon.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/weapons/Weapon.h b/src/weapons/Weapon.h
index 5c62a74b..f6228b32 100644
--- a/src/weapons/Weapon.h
+++ b/src/weapons/Weapon.h
@@ -7,7 +7,8 @@
class CEntity;
class CPhysical;
-class CAutomobile;
+class CVehicle;
+class CPed;
struct CColPoint;
class CWeaponInfo;
@@ -35,7 +36,7 @@ public:
void Shutdown();
bool Fire (CEntity *shooter, CVector *fireSource);
- bool FireFromCar (CAutomobile *shooter, bool left);
+ bool FireFromCar (CVehicle *shooter, bool left);
bool FireMelee (CEntity *shooter, CVector &fireSource);
bool FireInstantHit(CEntity *shooter, CVector *fireSource);
@@ -50,14 +51,14 @@ public:
bool FireAreaEffect (CEntity *shooter, CVector *fireSource);
bool FireSniper (CEntity *shooter);
bool FireM16_1stPerson (CEntity *shooter);
- bool FireInstantHitFromCar(CAutomobile *shooter, bool left);
+ bool FireInstantHitFromCar(CVehicle *shooter, bool left);
static void DoDoomAiming (CEntity *shooter, CVector *source, CVector *target);
static void DoTankDoomAiming (CEntity *shooter, CEntity *driver, CVector *source, CVector *target);
static void DoDriveByAutoAiming(CEntity *shooter, CVector *source, CVector *target);
void Reload(void);
- void Update(int32 audioEntity);
+ void Update(int32 audioEntity, CPed *pedToAdjustSound);
bool IsTypeMelee (void);
bool IsType2Handed(void);