mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
replace biomes.json with biomes.toml & make it combined object
This commit is contained in:
parent
e7d7753d47
commit
7c56d8fd7f
12 changed files with 130 additions and 95 deletions
|
|
@ -28,8 +28,10 @@ using namespace data;
|
|||
|
||||
static debug::Logger logger("content-loader");
|
||||
|
||||
ContentLoader::ContentLoader(ContentPack* pack, ContentBuilder& builder)
|
||||
: pack(pack), builder(builder) {
|
||||
ContentLoader::ContentLoader(
|
||||
ContentPack* pack, ContentBuilder& builder, const ResPaths& paths
|
||||
)
|
||||
: pack(pack), builder(builder), paths(paths) {
|
||||
auto runtime = std::make_unique<ContentPackRuntime>(
|
||||
*pack, scripting::create_pack_environment(*pack)
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue