menus::delete_world

This commit is contained in:
MihailRis
2024-03-22 11:42:00 +03:00
parent b2abd57a71
commit 7c16333850
4 changed files with 20 additions and 0 deletions
+4
View File
@@ -48,6 +48,10 @@ fs::path EnginePaths::getWorldFolder() {
return worldFolder;
}
fs::path EnginePaths::getWorldFolder(const std::string& name) {
return getWorldsFolder()/fs::path(name);
}
std::vector<fs::path> EnginePaths::scanForWorlds() {
std::vector<fs::path> folders;
+1
View File
@@ -27,6 +27,7 @@ public:
fs::path getScreenshotFile(std::string ext);
fs::path getWorldsFolder();
fs::path getWorldFolder();
fs::path getWorldFolder(const std::string& name);
bool isWorldNameUsed(std::string name);
void setUserfiles(fs::path folder);