add EnginePaths::parsePath & update generation.load_structure

This commit is contained in:
MihailRis
2024-09-21 01:24:38 +03:00
parent 4f882a3ca3
commit aa1fb26ea5
4 changed files with 18 additions and 7 deletions
+2
View File
@@ -4,6 +4,7 @@
#include <stdexcept>
#include <string>
#include <vector>
#include <tuple>
#include "content/ContentPack.hpp"
@@ -40,6 +41,7 @@ public:
std::filesystem::path resolve(const std::string& path, bool throwErr = true);
static std::tuple<std::string, std::string> parsePath(std::string_view view);
private:
std::filesystem::path userFilesFolder {"."};
std::filesystem::path resourcesFolder {"res"};