diff options
author | paramat <paramat@users.noreply.github.com> | 2017-09-17 00:26:20 +0100 |
---|---|---|
committer | paramat <mat.gregory@virginmedia.com> | 2017-09-17 05:31:48 +0100 |
commit | 27144b471678b30156ad3383fb8d26a5bd9b66cb (patch) | |
tree | 853db5930973f5d6c7ef3f1b6e4c354123f7dc8a /src/mg_decoration.h | |
parent | 76817fdf98b1597c569267bc751f4f285302721a (diff) | |
download | minetest-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.h | 6 |
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); }; |