mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-08 04:21:50 +00:00
add core:obstacle block & move cameras from base to core & add new generator
This commit is contained in:
parent
d534207deb
commit
788ad1f6a6
19 changed files with 147 additions and 114 deletions
|
|
@ -286,7 +286,8 @@ std::unique_ptr<GeneratorScript> scripting::load_generator(
|
|||
lua::pop(L);
|
||||
|
||||
uint biomeParameters = root["biome_parameters"].asInteger();
|
||||
uint seaLevel = root["sea_level"].asInteger();
|
||||
uint seaLevel = 0;
|
||||
root.at("sea_level").get(seaLevel);
|
||||
|
||||
std::vector<Biome> biomes;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue