Content menu, content-pack dependencies

This commit is contained in:
MihailRis
2024-01-27 00:36:18 +03:00
parent abc3e47feb
commit c57b2d0de3
25 changed files with 230 additions and 21 deletions
+2 -1
View File
@@ -12,7 +12,7 @@ namespace fs = std::filesystem;
class EnginePaths {
fs::path userfiles {"."};
fs::path resources {"res"};
fs::path worldFolder {""};
fs::path worldFolder;
std::vector<ContentPack>* contentPacks = nullptr;
public:
fs::path getUserfiles() const;
@@ -20,6 +20,7 @@ public:
fs::path getScreenshotFile(std::string ext);
fs::path getWorldsFolder();
fs::path getWorldFolder();
bool isWorldNameUsed(std::string name);
void setUserfiles(fs::path folder);