1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-23 04:45:24 +02:00

Revert all commits up to (including) a704c04f

This commit is contained in:
kwolekr
2015-03-07 16:16:25 -05:00
parent ffdf8dedb7
commit 32352e90da
173 changed files with 8751 additions and 11138 deletions

View File

@@ -23,9 +23,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "mapgen.h"
/////////////////// Mapgen V5 flags
//#define MGV5_ 0x01
class BiomeManager;
#define MGV5_BLOBS 0x01
extern FlagDesc flagdesc_mapgen_v5[];
@@ -38,6 +36,8 @@ struct MapgenV5Params : public MapgenSpecificParams {
NoiseParams np_cave1;
NoiseParams np_cave2;
NoiseParams np_ground;
NoiseParams np_crumble;
NoiseParams np_wetness;
MapgenV5Params();
~MapgenV5Params() {}
@@ -67,6 +67,8 @@ public:
Noise *noise_cave1;
Noise *noise_cave2;
Noise *noise_ground;
Noise *noise_crumble;
Noise *noise_wetness;
Noise *noise_heat;
Noise *noise_humidity;
@@ -93,8 +95,9 @@ public:
int getGroundLevelAtPoint(v2s16 p);
void calculateNoise();
int generateBaseTerrain();
void generateBiomes(float *heat_map, float *humidity_map);
void generateCaves(int max_stone_y);
void generateBiomes();
void generateCaves();
void generateBlobs();
void dustTopNodes();
};