mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-12 14:31:50 +00:00
cleanup ContentControl
This commit is contained in:
parent
f99d909f34
commit
3486cbd4c9
10 changed files with 59 additions and 114 deletions
|
|
@ -43,7 +43,6 @@ struct ContentPack {
|
|||
std::string creator = "";
|
||||
std::string description = "no description";
|
||||
io::path folder;
|
||||
std::string path;
|
||||
std::vector<DependencyPack> dependencies;
|
||||
std::string source = "";
|
||||
|
||||
|
|
@ -58,7 +57,7 @@ struct ContentPack {
|
|||
static const std::vector<std::string> RESERVED_NAMES;
|
||||
|
||||
static bool is_pack(const io::path& folder);
|
||||
static ContentPack read(const std::string& path, const io::path& folder);
|
||||
static ContentPack read(const io::path& folder);
|
||||
|
||||
static void scanFolder(
|
||||
const io::path& folder, std::vector<ContentPack>& packs
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue