mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-14 17:15:21 +02:00
Biomes: Make biome heat and humidity noise parameters user-configurable
This commit is contained in:
@@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user