From 4553886d64bc02b935b9e73a3c4c6e304b9c1c4e Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Sun, 12 May 2013 16:15:21 +0000 Subject: DistortedHeightmap: Added info comment about the parameters table git-svn-id: http://mc-server.googlecode.com/svn/trunk@1473 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/Generating/DistortedHeightmap.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'source/Generating') 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}, -- cgit v1.2.3