From 465bb6f5d13803819f329e4920bceb25a3887c6f Mon Sep 17 00:00:00 2001 From: paramat Date: Sat, 2 Apr 2016 02:05:08 +0100 Subject: 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 --- src/mapgen_fractal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mapgen_fractal.h') 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; -- cgit v1.2.3