diff options
author | paramat <mat.gregory@virginmedia.com> | 2014-12-31 00:19:05 +0000 |
---|---|---|
committer | kwolekr <kwolekr@minetest.net> | 2015-01-01 15:44:26 -0500 |
commit | 7452d5399b9c7516abfc9f97bf5db70aff2ce0fa (patch) | |
tree | 933cc3194d8cdd3301cb0bf62148587e1f9971ae /src/mapgen_v7.h | |
parent | 938a3f2976ade828f11a84a2a40864271e14ebba (diff) | |
download | minetest-7452d5399b9c7516abfc9f97bf5db70aff2ce0fa.tar.gz minetest-7452d5399b9c7516abfc9f97bf5db70aff2ce0fa.tar.bz2 minetest-7452d5399b9c7516abfc9f97bf5db70aff2ce0fa.zip |
MgV5/6/7: Generate dungeons above water level
Use/add stone_surface_max_y to speed-optimise/guide dungeon generation
MgV7: Don't let mountain terrain chop dungeons at mapchunk borders
Make mountain terrain update stone_surface_max_y for caves in mountains
Diffstat (limited to 'src/mapgen_v7.h')
-rw-r--r-- | src/mapgen_v7.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mapgen_v7.h b/src/mapgen_v7.h index 7b08971bb..b297770d5 100644 --- a/src/mapgen_v7.h +++ b/src/mapgen_v7.h @@ -107,7 +107,7 @@ public: virtual int generateTerrain(); int generateBaseTerrain(); - void generateMountainTerrain(); + int generateMountainTerrain(int ymax); void generateRidgeTerrain(); void generateBiomes(); |