diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-05-06 14:20:25 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-05-06 14:20:25 +0200 |
commit | 7004622e8b99c56ef4cc8c528fbe510b36d604ed (patch) | |
tree | 12abd33e558e18db32dddbc2d20b9087bd418e3f /source/Generating/HeiGen.h | |
parent | DistortedHeightmap: Slight speed increase (diff) | |
download | cuberite-7004622e8b99c56ef4cc8c528fbe510b36d604ed.tar cuberite-7004622e8b99c56ef4cc8c528fbe510b36d604ed.tar.gz cuberite-7004622e8b99c56ef4cc8c528fbe510b36d604ed.tar.bz2 cuberite-7004622e8b99c56ef4cc8c528fbe510b36d604ed.tar.lz cuberite-7004622e8b99c56ef4cc8c528fbe510b36d604ed.tar.xz cuberite-7004622e8b99c56ef4cc8c528fbe510b36d604ed.tar.zst cuberite-7004622e8b99c56ef4cc8c528fbe510b36d604ed.zip |
Diffstat (limited to 'source/Generating/HeiGen.h')
-rw-r--r-- | source/Generating/HeiGen.h | 3 |
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; |