diff options
author | kwolekr <kwolekr@minetest.net> | 2014-12-09 00:37:48 -0500 |
---|---|---|
committer | kwolekr <kwolekr@minetest.net> | 2014-12-09 00:38:04 -0500 |
commit | 29b413b376d42c27bf1f7065c9f7c850b61f3f24 (patch) | |
tree | f5cc0ca2d4306cb63094b794540668f611cf4ff4 /src/mg_biome.cpp | |
parent | 74903689848bcd277329f3bd54c62f2aa8306f40 (diff) | |
download | minetest-29b413b376d42c27bf1f7065c9f7c850b61f3f24.tar.gz minetest-29b413b376d42c27bf1f7065c9f7c850b61f3f24.tar.bz2 minetest-29b413b376d42c27bf1f7065c9f7c850b61f3f24.zip |
Biomes: Make biome heat and humidity noise parameters user-configurable
Diffstat (limited to 'src/mg_biome.cpp')
-rw-r--r-- | src/mg_biome.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mg_biome.cpp b/src/mg_biome.cpp index dff73e34f..13dc67e74 100644 --- a/src/mg_biome.cpp +++ b/src/mg_biome.cpp @@ -29,17 +29,12 @@ with this program; if not, write to the Free Software Foundation, Inc., const char *BiomeManager::ELEMENT_TITLE = "biome"; -NoiseParams nparams_biome_def_heat(50, 50, v3f(500.0, 500.0, 500.0), 5349, 3, 0.70, 2.0); -NoiseParams nparams_biome_def_humidity(50, 50, v3f(500.0, 500.0, 500.0), 842, 3, 0.55, 2.0); - /////////////////////////////////////////////////////////////////////////////// BiomeManager::BiomeManager(IGameDef *gamedef) { m_resolver = gamedef->getNodeDefManager()->getResolver(); - np_heat = &nparams_biome_def_heat; - np_humidity = &nparams_biome_def_humidity; // Create default biome to be used in case none exist Biome *b = new Biome; |