summaryrefslogtreecommitdiff
path: root/src/mapgen/mapgen.h
diff options
context:
space:
mode:
authorParamat <paramat@users.noreply.github.com>2019-07-25 20:46:28 +0100
committerGitHub <noreply@github.com>2019-07-25 20:46:28 +0100
commit0cde6fc5525e361a2fd197df2e64895019bbb8ec (patch)
tree24ff6ca38da55df2fd77df57fc5a7a60be3e341e /src/mapgen/mapgen.h
parent245a31d6b74a5e8ba87d35e9f6e9ebf970b7b3b4 (diff)
downloadminetest-0cde6fc5525e361a2fd197df2e64895019bbb8ec.tar.gz
minetest-0cde6fc5525e361a2fd197df2e64895019bbb8ec.tar.bz2
minetest-0cde6fc5525e361a2fd197df2e64895019bbb8ec.zip
Re-order mapgens in mainmenu and 'all settings' mapgen selection (#8705)
v6 always last to discourage selection. Special mapgens flat, fractal, singlenode, next to last. Of these, singlenode last to discourage selection. Of the remaining, v5 last due to age, v7 first due to being the default.
Diffstat (limited to 'src/mapgen/mapgen.h')
-rw-r--r--src/mapgen/mapgen.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/mapgen/mapgen.h b/src/mapgen/mapgen.h
index 4740c424e..b10aa7b9e 100644
--- a/src/mapgen/mapgen.h
+++ b/src/mapgen/mapgen.h
@@ -102,15 +102,16 @@ private:
std::list<GenNotifyEvent> m_notify_events;
};
+// Order must match the order of 'static MapgenDesc g_reg_mapgens[]' in mapgen.cpp
enum MapgenType {
- MAPGEN_V5,
- MAPGEN_V6,
MAPGEN_V7,
+ MAPGEN_VALLEYS,
+ MAPGEN_CARPATHIAN,
+ MAPGEN_V5,
MAPGEN_FLAT,
MAPGEN_FRACTAL,
- MAPGEN_VALLEYS,
MAPGEN_SINGLENODE,
- MAPGEN_CARPATHIAN,
+ MAPGEN_V6,
MAPGEN_INVALID,
};