summaryrefslogtreecommitdiffstats
path: root/src/weapons/Weapon.h
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-05-02 22:48:17 +0200
committerGitHub <noreply@github.com>2020-05-02 22:48:17 +0200
commit4448156e29c1c2dc6db476bbde53926efdba7331 (patch)
tree4be7e31e00dacbdfb2a6fadfd414aab0eaf64c39 /src/weapons/Weapon.h
parentCeil health and armor values in hud (fix 99 health) (diff)
parentMerge remote-tracking branch 'upstream/master' (diff)
downloadre3-4448156e29c1c2dc6db476bbde53926efdba7331.tar
re3-4448156e29c1c2dc6db476bbde53926efdba7331.tar.gz
re3-4448156e29c1c2dc6db476bbde53926efdba7331.tar.bz2
re3-4448156e29c1c2dc6db476bbde53926efdba7331.tar.lz
re3-4448156e29c1c2dc6db476bbde53926efdba7331.tar.xz
re3-4448156e29c1c2dc6db476bbde53926efdba7331.tar.zst
re3-4448156e29c1c2dc6db476bbde53926efdba7331.zip
Diffstat (limited to 'src/weapons/Weapon.h')
-rw-r--r--src/weapons/Weapon.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/weapons/Weapon.h b/src/weapons/Weapon.h
index 2c3a9657..1b2c0320 100644
--- a/src/weapons/Weapon.h
+++ b/src/weapons/Weapon.h
@@ -67,6 +67,11 @@ public:
bool HasWeaponAmmoToBeUsed(void);
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);
+
+#ifdef COMPATIBLE_SAVES
+ void Save(uint8*& buf);
+ void Load(uint8*& buf);
+#endif
};
VALIDATE_SIZE(CWeapon, 0x18);