summaryrefslogtreecommitdiffstats
path: root/source/Generating/HeiGen.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/Generating/HeiGen.h')
-rw-r--r--source/Generating/HeiGen.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/Generating/HeiGen.h b/source/Generating/HeiGen.h
index 4bc55a958..437b5f104 100644
--- a/source/Generating/HeiGen.h
+++ b/source/Generating/HeiGen.h
@@ -50,6 +50,9 @@ public:
// cTerrainHeightGen override:
virtual void GenHeightMap(int a_ChunkX, int a_ChunkZ, cChunkDef::HeightMap & a_HeightMap) override;
+ /// Retrieves height at the specified point in the cache, returns true if found, false if not found
+ bool GetHeightAt(int a_ChunkX, int a_ChunkZ, int a_RelX, int a_RelZ, HEIGHTTYPE & a_Height);
+
protected:
cTerrainHeightGen * m_HeiGenToCache;