projects
/
zefram
/
minetest
/
minetest_engine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0386279
)
mapgen parameter tweaking
author
Perttu Ahola
<celeron55@gmail.com>
Sun, 13 Feb 2011 13:25:00 +0000
(15:25 +0200)
committer
Perttu Ahola
<celeron55@gmail.com>
Sun, 13 Feb 2011 13:25:00 +0000
(15:25 +0200)
src/map.cpp
patch
|
blob
|
history
diff --git
a/src/map.cpp
b/src/map.cpp
index 8ac5352a4361a821920c950be3dbc4033e4b6402..bd9d8b0fea2fd16d8975a890cbf06edefd73651c 100644
(file)
--- 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/25
0.,
+ 0.5+(float)p.X/
500., 0.5+(float)p.Y/50
0.,
(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.,