aboutsummaryrefslogtreecommitdiff
path: root/src/mapgen_v6.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mapgen_v6.h')
-rw-r--r--src/mapgen_v6.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/src/mapgen_v6.h b/src/mapgen_v6.h
index eecfb1fe6..e6d2cdc54 100644
--- a/src/mapgen_v6.h
+++ b/src/mapgen_v6.h
@@ -55,10 +55,10 @@ struct MapgenV6Params : public MapgenSpecificParams {
NoiseParams np_humidity;
NoiseParams np_trees;
NoiseParams np_apple_trees;
-
+
MapgenV6Params();
~MapgenV6Params() {}
-
+
void readParams(Settings *settings);
void writeParams(Settings *settings);
};
@@ -68,7 +68,6 @@ public:
EmergeManager *emerge;
int ystride;
- u32 flags;
u32 spflags;
u32 blockseed;
@@ -111,7 +110,7 @@ public:
MapgenV6(int mapgenid, MapgenParams *params, EmergeManager *emerge);
~MapgenV6();
-
+
void makeChunk(BlockMakeData *data);
int getGroundLevelAtPoint(v2s16 p);
@@ -124,7 +123,7 @@ public:
s16 find_stone_level(v2s16 p2d);
bool block_is_underground(u64 seed, v3s16 blockpos);
s16 find_ground_level_from_noise(u64 seed, v2s16 p2d, s16 precision);
-
+
float getHumidity(v2s16 p);
float getTreeAmount(v2s16 p);
bool getHaveAppleTree(v2s16 p);
@@ -134,9 +133,9 @@ public:
bool getHaveBeach(int index);
BiomeV6Type getBiome(v2s16 p);
BiomeV6Type getBiome(int index, v2s16 p);
-
+
u32 get_blockseed(u64 seed, v3s16 p);
-
+
virtual void calculateNoise();
int generateGround();
void addMud();
@@ -152,7 +151,7 @@ struct MapgenFactoryV6 : public MapgenFactory {
Mapgen *createMapgen(int mgid, MapgenParams *params, EmergeManager *emerge) {
return new MapgenV6(mgid, params, emerge);
};
-
+
MapgenSpecificParams *createMapgenParams() {
return new MapgenV6Params();
};