summaryrefslogtreecommitdiffhomepage
path: root/src/world.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/world.hpp')
-rw-r--r--src/world.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/world.hpp b/src/world.hpp
index 99ce131f..8e6b9815 100644
--- a/src/world.hpp
+++ b/src/world.hpp
@@ -3,6 +3,7 @@
#include "chunk.hpp"
#include "global-coords.hpp"
#include "object-type.hpp"
+#include "loader/policy.hpp"
#include <memory>
#include <unordered_map>
#include <Corrade/Utility/Move.h>
@@ -65,8 +66,8 @@ public:
const auto& chunks() const noexcept { return _chunks; }
void serialize(StringView filename);
- static class world deserialize(StringView filename) noexcept(false);
- static void deserialize_old(class world& w, ArrayView<const char> buf, uint16_t proto) noexcept(false);
+ static class world deserialize(StringView filename, loader_policy asset_policy) noexcept(false);
+ static void deserialize_old(class world& w, ArrayView<const char> buf, uint16_t proto, enum loader_policy asset_policy) noexcept(false);
auto frame_no() const { return _current_frame; }
auto increment_frame_no() { return _current_frame++; }