1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-27 17:28:41 +00:00

Biomes: Make biome heat and humidity noise parameters user-configurable

This commit is contained in:
kwolekr 2014-12-09 00:37:48 -05:00
parent 7490368984
commit 29b413b376
6 changed files with 18 additions and 19 deletions

View file

@ -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();