summaryrefslogtreecommitdiffhomepage
path: root/src/world.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-01-23 08:56:32 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-01-23 08:56:43 +0100
commit068e5dd08439932604e5ad5d1f22826107a3f308 (patch)
tree601f69ce0f3a273bfd6025a419bd4cdee606191c /src/world.hpp
parentb7779f7736afedd041f49bcdf36647687bf3d456 (diff)
a
Diffstat (limited to 'src/world.hpp')
-rw-r--r--src/world.hpp3
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; }