From 29b413b376d42c27bf1f7065c9f7c850b61f3f24 Mon Sep 17 00:00:00 2001 From: kwolekr Date: Tue, 9 Dec 2014 00:37:48 -0500 Subject: Biomes: Make biome heat and humidity noise parameters user-configurable --- src/mg_biome.h | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'src/mg_biome.h') diff --git a/src/mg_biome.h b/src/mg_biome.h index 9180069df..04567267f 100644 --- a/src/mg_biome.h +++ b/src/mg_biome.h @@ -21,7 +21,8 @@ with this program; if not, write to the Free Software Foundation, Inc., #define MG_BIOME_HEADER #include "mapgen.h" -#include "noise.h" + +struct NoiseParams; enum BiomeType { @@ -32,10 +33,6 @@ enum BiomeType BIOME_TYPE_FLAT }; -extern NoiseParams nparams_biome_def_heat; -extern NoiseParams nparams_biome_def_humidity; - - class Biome : public GenElement { public: u32 flags; @@ -61,9 +58,6 @@ public: static const char *ELEMENT_TITLE; static const size_t ELEMENT_LIMIT = 0x100; - NoiseParams *np_heat; - NoiseParams *np_humidity; - BiomeManager(IGameDef *gamedef); ~BiomeManager(); -- cgit v1.2.3