summaryrefslogtreecommitdiff
path: root/src/mg_ore.h
diff options
context:
space:
mode:
authorparamat <paramat@users.noreply.github.com>2017-06-22 06:50:22 +0100
committerparamat <mat.gregory@virginmedia.com>2017-06-25 05:01:42 +0100
commit90ed6fc732ca667ca970b7c38d39c809e5c3553e (patch)
treeb8c53a98f59cf4ff2148849676448551b0005526 /src/mg_ore.h
parent5a41a98ff6ac899038bfc359912ebb021479451b (diff)
downloadminetest-90ed6fc732ca667ca970b7c38d39c809e5c3553e.tar.gz
minetest-90ed6fc732ca667ca970b7c38d39c809e5c3553e.tar.bz2
minetest-90ed6fc732ca667ca970b7c38d39c809e5c3553e.zip
Ores: Make 'absheight' flag non-functional
The 'absheight' flag was added years ago for the floatlands of 'indev' mapgen (now deleted). The feature mirrored all ore placement around y = 0 to place ores in floatlands. In MTG we now use dedicated ore registrations for floatlands. The feature is crude, inflexible, problematic and very rarely used, it also makes ore vertical range code more complex. Minetest 0.5 is a good chance to remove the feature. The flag itself remains to not break flag values.
Diffstat (limited to 'src/mg_ore.h')
-rw-r--r--src/mg_ore.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mg_ore.h b/src/mg_ore.h
index 4b052e07a..5aeb3631c 100644
--- a/src/mg_ore.h
+++ b/src/mg_ore.h
@@ -32,14 +32,11 @@ class MMVManip;
/////////////////// Ore generation flags
-#define OREFLAG_ABSHEIGHT 0x01
+#define OREFLAG_ABSHEIGHT 0x01 // Non-functional but kept to not break flags
#define OREFLAG_PUFF_CLIFFS 0x02
#define OREFLAG_PUFF_ADDITIVE 0x04
#define OREFLAG_USE_NOISE 0x08
-#define ORE_RANGE_ACTUAL 1
-#define ORE_RANGE_MIRROR 2
-
enum OreType {
ORE_SCATTER,
ORE_SHEET,