summaryrefslogtreecommitdiff
path: root/src/mapgen_fractal.h
diff options
context:
space:
mode:
authorparamat <mat.gregory@virginmedia.com>2016-04-02 02:05:08 +0100
committerparamat <mat.gregory@virginmedia.com>2016-04-08 03:14:36 +0100
commit465bb6f5d13803819f329e4920bceb25a3887c6f (patch)
tree3e089079bc907e95fa0ae8c505ff4e93459f47e4 /src/mapgen_fractal.h
parentc3993f6604a646b42c1586219c471acb6d9895c6 (diff)
downloadminetest-465bb6f5d13803819f329e4920bceb25a3887c6f.tar.gz
minetest-465bb6f5d13803819f329e4920bceb25a3887c6f.tar.bz2
minetest-465bb6f5d13803819f329e4920bceb25a3887c6f.zip
Mapgen: Optimise cave noises and tunnel excavation
Instead of doing nothing at node_max.Y + 1 use 1-down overgeneration for tunnel generation and noisemaps Move some old unused code in mgv7 to end of file
Diffstat (limited to 'src/mapgen_fractal.h')
-rw-r--r--src/mapgen_fractal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mapgen_fractal.h b/src/mapgen_fractal.h
index ffb2acfb9..8c21a8a4e 100644
--- a/src/mapgen_fractal.h
+++ b/src/mapgen_fractal.h
@@ -65,7 +65,7 @@ public:
BiomeManager *bmgr;
int ystride;
- int zstride;
+ int zstride_1d;
u16 formula;
bool julia;