aboutsummaryrefslogtreecommitdiff
path: root/src/mg_decoration.h
diff options
context:
space:
mode:
authorparamat <paramat@users.noreply.github.com>2017-09-17 00:26:20 +0100
committerparamat <mat.gregory@virginmedia.com>2017-09-17 05:31:48 +0100
commit27144b471678b30156ad3383fb8d26a5bd9b66cb (patch)
tree853db5930973f5d6c7ef3f1b6e4c354123f7dc8a /src/mg_decoration.h
parent76817fdf98b1597c569267bc751f4f285302721a (diff)
downloadminetest-27144b471678b30156ad3383fb8d26a5bd9b66cb.tar.gz
minetest-27144b471678b30156ad3383fb8d26a5bd9b66cb.tar.bz2
minetest-27144b471678b30156ad3383fb8d26a5bd9b66cb.zip
Biome API: Revert biomes, decos, ores being relative to water level
Feature is unnecessary and would greatly complicate future development, it would also make 'get biome at pos' extremely complex. Mgv7: Revert option to repeat surface biomes in floatlands, which depended on the above.
Diffstat (limited to 'src/mg_decoration.h')
-rw-r--r--src/mg_decoration.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mg_decoration.h b/src/mg_decoration.h
index 01e063ca2..31f6871d9 100644
--- a/src/mg_decoration.h
+++ b/src/mg_decoration.h
@@ -54,8 +54,7 @@ public:
virtual void resolveNodeNames();
bool canPlaceDecoration(MMVManip *vm, v3s16 p);
- size_t placeDeco(Mapgen *mg, u32 blockseed,
- v3s16 nmin, v3s16 nmax, s16 deco_zero_level);
+ size_t placeDeco(Mapgen *mg, u32 blockseed, v3s16 nmin, v3s16 nmax);
virtual size_t generate(MMVManip *vm, PcgRandom *pr, v3s16 p) = 0;
virtual int getHeight() = 0;
@@ -133,6 +132,5 @@ public:
}
}
- size_t placeAllDecos(Mapgen *mg, u32 blockseed,
- v3s16 nmin, v3s16 nmax, s16 deco_zero_level = 0);
+ size_t placeAllDecos(Mapgen *mg, u32 blockseed, v3s16 nmin, v3s16 nmax);
};