mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 19:41:51 +00:00
add EnginePaths::parsePath & update generation.load_structure
This commit is contained in:
parent
4f882a3ca3
commit
aa1fb26ea5
4 changed files with 18 additions and 7 deletions
|
|
@ -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"};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue