diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-02-13 15:25:00 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-02-13 15:25:00 +0200 |
commit | 80a2ee6d596b45d972f81e9e122d2b6287623f7c (patch) | |
tree | 0d5841f107d4e2c5246f82f999e9cac2582107ca /src | |
parent | 0386279b6fa639d54383736260825b086c9017ea (diff) | |
download | minetest-80a2ee6d596b45d972f81e9e122d2b6287623f7c.tar.gz minetest-80a2ee6d596b45d972f81e9e122d2b6287623f7c.tar.bz2 minetest-80a2ee6d596b45d972f81e9e122d2b6287623f7c.zip |
mapgen parameter tweaking
Diffstat (limited to 'src')
-rw-r--r-- | src/map.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map.cpp b/src/map.cpp index 8ac5352a4..bd9d8b0fe 100644 --- a/src/map.cpp +++ b/src/map.cpp @@ -2018,7 +2018,7 @@ double base_rock_level_2d(u64 seed, v2s16 p) { // The base ground level double base = (double)WATER_LEVEL - 4.0 + 25. * noise2d_perlin( - 0.5+(float)p.X/250., 0.5+(float)p.Y/250., + 0.5+(float)p.X/500., 0.5+(float)p.Y/500., (seed>>32)+654879876, 6, 0.6); /*// A bit hillier one @@ -2050,7 +2050,7 @@ double base_rock_level_2d(u64 seed, v2s16 p) //double b = 20; // Offset to more low - double a_off = -0.15; + double a_off = -0.2; // High/low selector /*double a = 0.5 + b * (a_off + noise2d_perlin( 0.5+(float)p.X/500., 0.5+(float)p.Y/500., |