1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Mapgen indev: float islands, larger far biomes

This commit is contained in:
proller 2013-03-24 03:40:15 +04:00
parent e1ff5b1361
commit f70378f7f5
7 changed files with 233 additions and 78 deletions

View file

@ -422,6 +422,8 @@ void MapgenV6::makeChunk(BlockMakeData *data) {
// Generate general ground level to full area
stone_surface_max_y = generateGround();
generateSomething();
const s16 max_spread_amount = MAP_BLOCKSIZE;
// Limit dirt flow area by 1 because mud is flown into neighbors.
s16 mudflow_minpos = -max_spread_amount + 1;