summaryrefslogtreecommitdiff
path: root/src/mg_biome.h
diff options
context:
space:
mode:
authorkwolekr <kwolekr@minetest.net>2014-12-09 00:37:48 -0500
committerkwolekr <kwolekr@minetest.net>2014-12-09 00:38:04 -0500
commit29b413b376d42c27bf1f7065c9f7c850b61f3f24 (patch)
treef5cc0ca2d4306cb63094b794540668f611cf4ff4 /src/mg_biome.h
parent74903689848bcd277329f3bd54c62f2aa8306f40 (diff)
downloadminetest-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.h')
-rw-r--r--src/mg_biome.h10
1 files changed, 2 insertions, 8 deletions
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();