From f0eb6a7b101afba52f33c5286e15a862ee68c64e Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Sat, 7 May 2011 16:06:08 +0200 Subject: Replace static heightmap with perlin noise using libnoise and noiseutils. --- terrain.h | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 terrain.h (limited to 'terrain.h') diff --git a/terrain.h b/terrain.h new file mode 100644 index 0000000..88b2277 --- /dev/null +++ b/terrain.h @@ -0,0 +1,9 @@ +#ifndef TERRAIN_H +#define TERRAIN_H + +class Terrain { + public: + static float *generate_heights(int x, int y, int width, int height); +}; + +#endif -- cgit v1.2.3