From 650e932ddf7352e50bba42acbc0ff4eda8aa40e2 Mon Sep 17 00:00:00 2001 From: kwolekr Date: Sat, 9 Mar 2013 21:28:19 -0500 Subject: Re-add dungeons in new dungeongen.cpp --- src/noise.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/noise.h') diff --git a/src/noise.h b/src/noise.h index c2a85771c..cec3b95b0 100644 --- a/src/noise.h +++ b/src/noise.h @@ -157,7 +157,7 @@ inline float easeCurve(float t) { (s) + (np)->seed, (np)->octaves, (np)->persist)) #define NoisePerlin3D(np, x, y, z, s) ((np)->offset + (np)->scale * \ - noise2d_perlin((float)(x) / (np)->spread.X, (float)(y) / (np)->spread.Y, \ + noise3d_perlin((float)(x) / (np)->spread.X, (float)(y) / (np)->spread.Y, \ (float)(z) / (np)->spread.Z, (s) + (np)->seed, (np)->octaves, (np)->persist)) #endif -- cgit v1.2.3 From 165498cecfc11f3471d84855f4d019be9b353621 Mon Sep 17 00:00:00 2001 From: proller Date: Wed, 13 Mar 2013 00:41:14 +0400 Subject: initial mapgen indev version with farscale feature and huge caves --- src/noise.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/noise.h') diff --git a/src/noise.h b/src/noise.h index cec3b95b0..34b4d0b41 100644 --- a/src/noise.h +++ b/src/noise.h @@ -89,7 +89,7 @@ public: Noise(NoiseParams *np, int seed, int sx, int sy, int sz); ~Noise(); - void init(NoiseParams *np, int seed, int sx, int sy, int sz); + virtual void init(NoiseParams *np, int seed, int sx, int sy, int sz); void setSize(int sx, int sy); void setSize(int sx, int sy, int sz); void setSpreadFactor(v3f spread); -- cgit v1.2.3