summaryrefslogtreecommitdiffstats
path: root/src/weapons/Weapon.h
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2020-06-20 15:23:32 +0200
committereray orçunus <erayorcunus@gmail.com>2020-06-20 15:23:32 +0200
commit0625954bb74e687ed73b496bc06e9db58407e045 (patch)
tree3ec342a96685889bf2512ececcfc76f1bdac14a0 /src/weapons/Weapon.h
parentbikes in garages + bugfix (diff)
downloadre3-0625954bb74e687ed73b496bc06e9db58407e045.tar
re3-0625954bb74e687ed73b496bc06e9db58407e045.tar.gz
re3-0625954bb74e687ed73b496bc06e9db58407e045.tar.bz2
re3-0625954bb74e687ed73b496bc06e9db58407e045.tar.lz
re3-0625954bb74e687ed73b496bc06e9db58407e045.tar.xz
re3-0625954bb74e687ed73b496bc06e9db58407e045.tar.zst
re3-0625954bb74e687ed73b496bc06e9db58407e045.zip
Diffstat (limited to '')
-rw-r--r--src/weapons/Weapon.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/weapons/Weapon.h b/src/weapons/Weapon.h
index 5c56d9e4..cb59582f 100644
--- a/src/weapons/Weapon.h
+++ b/src/weapons/Weapon.h
@@ -72,8 +72,11 @@ public:
static bool IsShotgun(int weapon) { return weapon == WEAPONTYPE_SHOTGUN || weapon == WEAPONTYPE_SPAS12_SHOTGUN || weapon == WEAPONTYPE_STUBBY_SHOTGUN; }
+ // TODO(Miami): Is that still used?
static bool ProcessLineOfSight(CVector const &point1, CVector const &point2, CColPoint &point, CEntity *&entity, eWeaponType type, CEntity *shooter, bool checkBuildings, bool checkVehicles, bool checkPeds, bool checkObjects, bool checkDummies, bool ignoreSeeThrough, bool ignoreSomeObjects);
+ static void CheckForShootingVehicleOccupant(CEntity**, CColPoint*, eWeaponType, CVector const&, CVector const&);
+
#ifdef COMPATIBLE_SAVES
void Save(uint8*& buf);
void Load(uint8*& buf);