mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 12:01:50 +00:00
feat: projects & replace builtins.list with 'base_packs' project property
This commit is contained in:
parent
1bdb5c3145
commit
6164374666
10 changed files with 89 additions and 14 deletions
|
|
@ -56,6 +56,8 @@ public:
|
|||
|
||||
void setScriptFolder(std::filesystem::path folder);
|
||||
|
||||
void setProjectFolder(std::filesystem::path folder);
|
||||
|
||||
io::path getWorldFolderByName(const std::string& name);
|
||||
io::path getWorldsFolder() const;
|
||||
|
||||
|
|
@ -80,6 +82,7 @@ public:
|
|||
private:
|
||||
std::filesystem::path userFilesFolder {"."};
|
||||
std::filesystem::path resourcesFolder {"res"};
|
||||
std::filesystem::path projectFolder = resourcesFolder;
|
||||
io::path currentWorldFolder;
|
||||
std::optional<std::filesystem::path> scriptFolder;
|
||||
std::vector<PathsRoot> entryPoints;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue