mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 12:01:50 +00:00
added paths 'world:' entry point
This commit is contained in:
parent
c6a2fc90a8
commit
5d6c2b9b8e
3 changed files with 12 additions and 0 deletions
|
|
@ -12,6 +12,7 @@ namespace fs = std::filesystem;
|
|||
class EnginePaths {
|
||||
fs::path userfiles {"."};
|
||||
fs::path resources {"res"};
|
||||
fs::path worldFolder {""};
|
||||
std::vector<ContentPack>* contentPacks = nullptr;
|
||||
public:
|
||||
fs::path getUserfiles() const;
|
||||
|
|
@ -24,6 +25,7 @@ public:
|
|||
void setUserfiles(fs::path folder);
|
||||
void setResources(fs::path folder);
|
||||
void setContentPacks(std::vector<ContentPack>* contentPacks);
|
||||
void setWorldFolder(fs::path folder);
|
||||
|
||||
std::vector<fs::path> scanForWorlds();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue