summaryrefslogtreecommitdiffstats
path: root/src/Generating/HeiGen.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-11-23 18:16:20 +0100
committerMattes D <github@xoft.cz>2014-11-23 18:16:20 +0100
commit478bbad5ede86ec9f89444bdd60471ab314bf65a (patch)
treefe8f40375167fb2cb5c394d20f1bc1ec5da58fca /src/Generating/HeiGen.h
parentNoise3D generator: Enlarged averaging to avoid steep beach slopes. (diff)
downloadcuberite-478bbad5ede86ec9f89444bdd60471ab314bf65a.tar
cuberite-478bbad5ede86ec9f89444bdd60471ab314bf65a.tar.gz
cuberite-478bbad5ede86ec9f89444bdd60471ab314bf65a.tar.bz2
cuberite-478bbad5ede86ec9f89444bdd60471ab314bf65a.tar.lz
cuberite-478bbad5ede86ec9f89444bdd60471ab314bf65a.tar.xz
cuberite-478bbad5ede86ec9f89444bdd60471ab314bf65a.tar.zst
cuberite-478bbad5ede86ec9f89444bdd60471ab314bf65a.zip
Diffstat (limited to 'src/Generating/HeiGen.h')
-rw-r--r--src/Generating/HeiGen.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/Generating/HeiGen.h b/src/Generating/HeiGen.h
index 9c99a9326..62bb227c6 100644
--- a/src/Generating/HeiGen.h
+++ b/src/Generating/HeiGen.h
@@ -170,7 +170,11 @@ public:
m_BiomeGen(a_BiomeGen)
{
}
-
+
+ // cTerrainHeightGen overrides:
+ virtual void GenHeightMap(int a_ChunkX, int a_ChunkZ, cChunkDef::HeightMap & a_HeightMap) override;
+ virtual void InitializeHeightGen(cIniFile & a_IniFile) override;
+
protected:
typedef cChunkDef::BiomeMap BiomeNeighbors[3][3];
@@ -187,11 +191,8 @@ protected:
float m_BaseHeight;
} ;
static const sGenParam m_GenParam[256];
-
- // cTerrainHeightGen overrides:
- virtual void GenHeightMap(int a_ChunkX, int a_ChunkZ, cChunkDef::HeightMap & a_HeightMap) override;
- virtual void InitializeHeightGen(cIniFile & a_IniFile) override;
-
+
+
NOISE_DATATYPE GetHeightAt(int a_RelX, int a_RelZ, int a_ChunkX, int a_ChunkZ, const BiomeNeighbors & a_BiomeNeighbors);
} ;