diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-05-12 18:15:21 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-05-12 18:15:21 +0200 |
commit | 4553886d64bc02b935b9e73a3c4c6e304b9c1c4e (patch) | |
tree | d5f92bfcdfe60df9afe6f4b2e8e34e78dab223b9 | |
parent | cItems: Added runtime bounds-checking to avoid server crashes with badly written plugins. (diff) | |
download | cuberite-4553886d64bc02b935b9e73a3c4c6e304b9c1c4e.tar cuberite-4553886d64bc02b935b9e73a3c4c6e304b9c1c4e.tar.gz cuberite-4553886d64bc02b935b9e73a3c4c6e304b9c1c4e.tar.bz2 cuberite-4553886d64bc02b935b9e73a3c4c6e304b9c1c4e.tar.lz cuberite-4553886d64bc02b935b9e73a3c4c6e304b9c1c4e.tar.xz cuberite-4553886d64bc02b935b9e73a3c4c6e304b9c1c4e.tar.zst cuberite-4553886d64bc02b935b9e73a3c4c6e304b9c1c4e.zip |
Diffstat (limited to '')
-rw-r--r-- | source/Generating/DistortedHeightmap.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/source/Generating/DistortedHeightmap.cpp b/source/Generating/DistortedHeightmap.cpp index 873977491..2ffaab089 100644 --- a/source/Generating/DistortedHeightmap.cpp +++ b/source/Generating/DistortedHeightmap.cpp @@ -13,9 +13,16 @@ +/** This table assigns a relative maximum overhang size in each direction to biomes.
+Both numbers indicate a number which will multiply the noise value for each coord;
+this means that you can have different-sized overhangs in each direction.
+Usually you'd want to keep both numbers the same.
+The numbers are "relative", not absolute maximum; overhangs of a slightly larger size are possible
+due to the way that noise is calculated.
+*/
const cDistortedHeightmap::sGenParam cDistortedHeightmap::m_GenParam[biNumBiomes] =
{
- /* Biome | AmpX | AmpZ */
+ /* Biome | AmpX | AmpZ */
/* biOcean */ { 1.5f, 1.5f},
/* biPlains */ { 0.5f, 0.5f},
/* biDesert */ { 0.5f, 0.5f},
|