migrate from std::filesystem::path to io::path (WIP)

This commit is contained in:
MihailRis 2025-01-30 22:23:13 +03:00
parent 1e22882284
commit e0314803c0
72 changed files with 1189 additions and 791 deletions

View file

@ -1,10 +1,10 @@
#pragma once
#include <filesystem>
#include <memory>
#include <string>
#include <vector>
#include "io/fwd.hpp"
#include "content/ContentPack.hpp"
#include "interfaces/Serializable.hpp"
#include "typedefs.hpp"
@ -16,8 +16,6 @@ class Level;
class ContentReport;
struct EngineSettings;
namespace fs = std::filesystem;
class world_load_error : public std::runtime_error {
public:
world_load_error(const std::string& message);
@ -100,7 +98,7 @@ public:
static std::unique_ptr<Level> create(
const std::string& name,
const std::string& generator,
const fs::path& directory,
const io::path& directory,
uint64_t seed,
EngineSettings& settings,
const Content& content,