From 270560a198db49464a5a5a6d75d9650a30208bc7 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Sun, 5 May 2013 16:27:08 +0000 Subject: Added the DistortedHeightmap height and composition generator. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1445 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/Generating/HeiGen.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'source/Generating/HeiGen.h') diff --git a/source/Generating/HeiGen.h b/source/Generating/HeiGen.h index a883330b3..3bdfef993 100644 --- a/source/Generating/HeiGen.h +++ b/source/Generating/HeiGen.h @@ -47,6 +47,9 @@ public: cHeiGenCache(cTerrainHeightGen * a_HeiGenToCache, int a_CacheSize); // Takes ownership of a_HeiGenToCache ~cHeiGenCache(); + // cTerrainHeightGen override: + virtual void GenHeightMap(int a_ChunkX, int a_ChunkZ, cChunkDef::HeightMap & a_HeightMap) override; + protected: cTerrainHeightGen * m_HeiGenToCache; @@ -67,8 +70,6 @@ protected: int m_NumHits; int m_NumMisses; int m_TotalChain; // Number of cache items walked to get to a hit (only added for hits) - - virtual void GenHeightMap(int a_ChunkX, int a_ChunkZ, cChunkDef::HeightMap & a_HeightMap) override; } ; -- cgit v1.2.3