diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-02 17:02:17 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-02 17:02:17 +0200 |
commit | f372ce156d76350ef4705ecbf488b43484878ca2 (patch) | |
tree | edf87ceceb886b0f8fa9e57a6b357d0f2d670aed /src/vehicles/Boat.h | |
parent | Merge remote-tracking branch 'upstream/master' (diff) | |
download | re3-f372ce156d76350ef4705ecbf488b43484878ca2.tar re3-f372ce156d76350ef4705ecbf488b43484878ca2.tar.gz re3-f372ce156d76350ef4705ecbf488b43484878ca2.tar.bz2 re3-f372ce156d76350ef4705ecbf488b43484878ca2.tar.lz re3-f372ce156d76350ef4705ecbf488b43484878ca2.tar.xz re3-f372ce156d76350ef4705ecbf488b43484878ca2.tar.zst re3-f372ce156d76350ef4705ecbf488b43484878ca2.zip |
Diffstat (limited to 'src/vehicles/Boat.h')
-rw-r--r-- | src/vehicles/Boat.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/vehicles/Boat.h b/src/vehicles/Boat.h index ba56e355..70407ab9 100644 --- a/src/vehicles/Boat.h +++ b/src/vehicles/Boat.h @@ -64,7 +64,14 @@ public: static float IsVertexAffectedByWake(CVector vecVertex, CBoat *pBoat); static void FillBoatList(void); +#ifdef COMPATIBLE_SAVES + virtual void Save(uint8*& buf); + virtual void Load(uint8*& buf); +#endif + static const uint32 nSaveStructSize; + }; + static_assert(sizeof(CBoat) == 0x484, "CBoat: error"); extern float MAX_WAKE_LENGTH; |