diff options
author | kwolekr <mirrorisim@gmail.com> | 2013-02-05 15:01:33 -0500 |
---|---|---|
committer | kwolekr <mirrorisim@gmail.com> | 2013-02-06 16:52:48 -0500 |
commit | 97260d09a8e658b6ded7d9100b0aa1040fcfe50f (patch) | |
tree | 4ca603bb61d133b21ffe17d44d3a33589be28766 /src/mapgen.h | |
parent | f148ae58c3c0e2b6d6c22c913492193021cbc4c3 (diff) | |
download | minetest-97260d09a8e658b6ded7d9100b0aa1040fcfe50f.tar.gz minetest-97260d09a8e658b6ded7d9100b0aa1040fcfe50f.tar.bz2 minetest-97260d09a8e658b6ded7d9100b0aa1040fcfe50f.zip |
Add flag string settings, flat map option
Diffstat (limited to 'src/mapgen.h')
-rw-r--r-- | src/mapgen.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mapgen.h b/src/mapgen.h index 728290ffc..febf37e63 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; @@ -123,6 +124,7 @@ public: bool registerMapgen(std::string name, MapgenFactory *mgfactory); MapgenParams *getParamsFromSettings(Settings *settings); + void setParamsToSettings(Settings *settings); //mapgen helper methods Biome *getBiomeAtPoint(v3s16 p); |