refactor & add structures.json

This commit is contained in:
MihailRis
2024-09-24 04:05:13 +03:00
parent 519ebc05f1
commit 323c2f2935
20 changed files with 153 additions and 43 deletions
@@ -32,8 +32,8 @@ public:
seaLevel(seaLevel)
{}
std::vector<std::shared_ptr<VoxelStructure>> loadStructures() override {
std::vector<std::shared_ptr<VoxelStructure>> structures;
std::vector<std::shared_ptr<VoxelFragment>> loadStructures() override {
std::vector<std::shared_ptr<VoxelFragment>> structures;
auto L = lua::get_main_thread();
lua::pushenv(L, *env);