Content packs indices auto build + WorldGenerator fix

This commit is contained in:
MihailRis
2023-12-29 14:17:26 +03:00
parent d2a40d31a4
commit 76aeb8e4df
8 changed files with 90 additions and 6 deletions
+2
View File
@@ -30,6 +30,8 @@ struct ContentPack {
static const std::string PACKAGE_FILENAME;
static const std::string CONTENT_FILENAME;
static const std::filesystem::path BLOCKS_FOLDER;
static bool is_pack(std::filesystem::path folder);
static ContentPack read(std::filesystem::path folder);
static void scan(std::filesystem::path folder,