summaryrefslogtreecommitdiff
path: root/src/mapgen_v5.h
diff options
context:
space:
mode:
authorparamat <mat.gregory@virginmedia.com>2016-04-09 03:03:46 +0100
committerparamat <mat.gregory@virginmedia.com>2016-04-12 04:16:15 +0100
commite661d8b32c99681c98b8bc469ceb19f7699cf381 (patch)
tree75ca822f669259d4b1894f2c4cc4a30f08ed2ed3 /src/mapgen_v5.h
parentfe349d401d2d414f1ddc02c471c01d948bd89ee6 (diff)
downloadminetest-e661d8b32c99681c98b8bc469ceb19f7699cf381.tar.gz
minetest-e661d8b32c99681c98b8bc469ceb19f7699cf381.tar.bz2
minetest-e661d8b32c99681c98b8bc469ceb19f7699cf381.zip
Mgv5: Optimise tunnels, add biome material in entrances
Place biome top node on tunnel entrance floor Instead of doing nothing at node_max.Y + 1 use 1-down overgeneration for tunnel generation and noisemaps
Diffstat (limited to 'src/mapgen_v5.h')
-rw-r--r--src/mapgen_v5.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mapgen_v5.h b/src/mapgen_v5.h
index 44a06907d..8047f225f 100644
--- a/src/mapgen_v5.h
+++ b/src/mapgen_v5.h
@@ -53,7 +53,7 @@ public:
BiomeManager *bmgr;
int ystride;
- int zstride;
+ int zstride_1d;
u32 spflags;
v3s16 node_min;