aboutsummaryrefslogtreecommitdiff
path: root/src/mapgen.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mapgen.h')
-rw-r--r--src/mapgen.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mapgen.h b/src/mapgen.h
index 728290ffc..4f1ab4ebd 100644
--- a/src/mapgen.h
+++ b/src/mapgen.h
@@ -34,6 +34,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#define MG_DUNGEONS 0x04
#define MGV6_FORESTS 0x08
#define MGV6_BIOME_BLEND 0x10
+#define MG_FLAT 0x20
class BiomeDefManager;
class Biome;
@@ -121,8 +122,9 @@ public:
Mapgen *getMapgen();
void addBlockToQueue();
- bool registerMapgen(std::string name, MapgenFactory *mgfactory);
+ void registerMapgen(std::string name, MapgenFactory *mgfactory);
MapgenParams *getParamsFromSettings(Settings *settings);
+ void setParamsToSettings(Settings *settings);
//mapgen helper methods
Biome *getBiomeAtPoint(v3s16 p);