diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-01-23 08:56:32 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-01-23 08:56:43 +0100 |
commit | 068e5dd08439932604e5ad5d1f22826107a3f308 (patch) | |
tree | 601f69ce0f3a273bfd6025a419bd4cdee606191c /src/world.hpp | |
parent | b7779f7736afedd041f49bcdf36647687bf3d456 (diff) |
a
Diffstat (limited to 'src/world.hpp')
-rw-r--r-- | src/world.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/world.hpp b/src/world.hpp index 6bb85a18..2f5813dd 100644 --- a/src/world.hpp +++ b/src/world.hpp @@ -68,7 +68,8 @@ public: const auto& chunks() const noexcept { return _chunks; } void serialize(StringView filename); - static world deserialize(StringView filename) noexcept(false); + static class world deserialize(StringView filename) noexcept(false); + static void deserialize_old(class world& w, ArrayView<const char> buf, uint16_t proto) noexcept(false); void set_collect_threshold(size_t value) { _collect_every = value; } size_t collect_threshold() const noexcept { return _collect_every; } auto frame_no() const { return _current_frame; } |