]> git.localhorst.tv Git - blank.git/blobdiff - src/io/WorldSave.cpp
split chunk redering from world model
[blank.git] / src / io / WorldSave.cpp
index d90bce1654c4c5b0e1745043e328e8746d3e92c2..bd041f2e89cf20aba12487b1db2352ea010ebfac 100644 (file)
@@ -3,6 +3,7 @@
 #include "filesystem.hpp"
 
 #include <cctype>
+#include <cstring>
 #include <fstream>
 #include <iostream>
 #include <limits>
@@ -30,8 +31,6 @@ bool WorldSave::Exists() const noexcept {
 
 
 void WorldSave::Read(World::Config &conf) const {
-       cout << "reading world save" << endl;
-
        ifstream in(conf_path);
        if (!in) {
                throw runtime_error("failed to open world config");
@@ -71,8 +70,6 @@ void WorldSave::Read(World::Config &conf) const {
 }
 
 void WorldSave::Write(const World::Config &conf) const {
-       cout << "writing world save" << endl;
-
        if (!make_dirs(root_path)) {
                throw runtime_error("failed to create world save directory");
        }