mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 20:11:50 +00:00
add 'config' entry point, pack.shared_file(...) & refactor engine_paths.cpp
This commit is contained in:
parent
85bea6f17d
commit
15342c2df2
7 changed files with 102 additions and 42 deletions
|
|
@ -24,15 +24,16 @@ public:
|
|||
void setResourcesFolder(std::filesystem::path folder);
|
||||
std::filesystem::path getResourcesFolder() const;
|
||||
|
||||
std::filesystem::path getWorldsFolder();
|
||||
std::filesystem::path getWorldFolderByName(const std::string& name);
|
||||
std::filesystem::path getWorldsFolder() const;
|
||||
std::filesystem::path getConfigFolder() const;
|
||||
|
||||
void setCurrentWorldFolder(std::filesystem::path folder);
|
||||
std::filesystem::path getCurrentWorldFolder();
|
||||
|
||||
std::filesystem::path getNewScreenshotFile(const std::string& ext);
|
||||
std::filesystem::path getControlsFile();
|
||||
std::filesystem::path getSettingsFile();
|
||||
std::filesystem::path getControlsFile() const;
|
||||
std::filesystem::path getSettingsFile() const;
|
||||
|
||||
void setContentPacks(std::vector<ContentPack>* contentPacks);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue