summaryrefslogtreecommitdiff
path: root/src/emerge.h
diff options
context:
space:
mode:
authorngosang <diegodelasheras@gmail.com>2015-01-26 12:44:49 +0100
committerShadowNinja <shadowninja@minetest.net>2015-03-07 15:53:39 -0500
commitf6e4c5d9cf459e8278a76a2beaee59732e841458 (patch)
tree6748d30881ddd5b5679d89b4ea5838fb5598fe18 /src/emerge.h
parent9da99efca226c377d3bc2914561edffd812a9c1a (diff)
downloadminetest-f6e4c5d9cf459e8278a76a2beaee59732e841458.tar.gz
minetest-f6e4c5d9cf459e8278a76a2beaee59732e841458.tar.bz2
minetest-f6e4c5d9cf459e8278a76a2beaee59732e841458.zip
Respect game mapgen flags and save world noise params
Diffstat (limited to 'src/emerge.h')
-rw-r--r--src/emerge.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/emerge.h b/src/emerge.h
index 8bcc96ee0..1653199ec 100644
--- a/src/emerge.h
+++ b/src/emerge.h
@@ -101,19 +101,16 @@ public:
~EmergeManager();
void loadMapgenParams();
+ static MapgenSpecificParams *createMapgenParams(const std::string &mgname);
void initMapgens();
Mapgen *getCurrentMapgen();
Mapgen *createMapgen(const std::string &mgname, int mgid,
MapgenParams *mgparams);
- MapgenSpecificParams *createMapgenParams(const std::string &mgname);
static void getMapgenNames(std::list<const char *> &mgnames);
void startThreads();
void stopThreads();
bool enqueueBlockEmerge(u16 peer_id, v3s16 p, bool allow_generate);
- void loadParamsFromSettings(Settings *settings);
- void saveParamsToSettings(Settings *settings);
-
//mapgen helper methods
Biome *getBiomeAtPoint(v3s16 p);
int getGroundLevelAtPoint(v2s16 p);