X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Fmapgen_flat.h;h=7c2929d39ffa6c24704cdfb8e38ac4eea09fe58f;hb=48cd217e3b6f53af32802c1897ddd1914d215078;hp=7a669632933f146d2fc9a82829bb8ea3b574f01d;hpb=91a9382c25328075d1a27593b22b0a75863951e1;p=minetest.git diff --git a/src/mapgen_flat.h b/src/mapgen_flat.h index 7a6696329..7c2929d39 100644 --- a/src/mapgen_flat.h +++ b/src/mapgen_flat.h @@ -1,7 +1,7 @@ /* Minetest -Copyright (C) 2010-2015 kwolekr, Ryan Kwolek -Copyright (C) 2010-2015 paramat, Matt Gregory +Copyright (C) 2015-2017 paramat +Copyright (C) 2015-2016 kwolekr, Ryan Kwolek This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by @@ -33,14 +33,15 @@ extern FlagDesc flagdesc_mapgen_flat[]; struct MapgenFlatParams : public MapgenParams { - u32 spflags; - s16 ground_level; - s16 large_cave_depth; - float cave_width; - float lake_threshold; - float lake_steepness; - float hill_threshold; - float hill_steepness; + u32 spflags = 0; + s16 ground_level = 8; + s16 large_cave_depth = -33; + s16 lava_depth = -256; + float cave_width = 0.09f; + float lake_threshold = -0.45f; + float lake_steepness = 48.0f; + float hill_threshold = 0.45f; + float hill_steepness = 64.0f; NoiseParams np_terrain; NoiseParams np_filler_depth; NoiseParams np_cave1;