mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-09 21:11:50 +00:00
Content packs structure update
This commit is contained in:
parent
04f06a4717
commit
924957ddee
10 changed files with 131 additions and 86 deletions
|
|
@ -5,12 +5,13 @@
|
|||
#include <filesystem>
|
||||
|
||||
class Block;
|
||||
class ContentPack;
|
||||
class ContentBuilder;
|
||||
|
||||
class ContentLoader {
|
||||
std::filesystem::path folder;
|
||||
const ContentPack* pack;
|
||||
public:
|
||||
ContentLoader(std::filesystem::path folder);
|
||||
ContentLoader(const ContentPack* pack);
|
||||
|
||||
Block* loadBlock(std::string name, std::filesystem::path file);
|
||||
void load(ContentBuilder* builder);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue