diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-11-26 00:03:33 +0100 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-11-26 00:03:33 +0100 |
commit | 187bdab4fa90fbfa5b1979ea529dc9c0deac89d9 (patch) | |
tree | ce15b54701666b6f5ecd9563df8b7103d88c29b0 /src/Generating/EndGen.h | |
parent | Removed unnecessary #includes (diff) | |
download | cuberite-187bdab4fa90fbfa5b1979ea529dc9c0deac89d9.tar cuberite-187bdab4fa90fbfa5b1979ea529dc9c0deac89d9.tar.gz cuberite-187bdab4fa90fbfa5b1979ea529dc9c0deac89d9.tar.bz2 cuberite-187bdab4fa90fbfa5b1979ea529dc9c0deac89d9.tar.lz cuberite-187bdab4fa90fbfa5b1979ea529dc9c0deac89d9.tar.xz cuberite-187bdab4fa90fbfa5b1979ea529dc9c0deac89d9.tar.zst cuberite-187bdab4fa90fbfa5b1979ea529dc9c0deac89d9.zip |
Diffstat (limited to 'src/Generating/EndGen.h')
-rw-r--r-- | src/Generating/EndGen.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Generating/EndGen.h b/src/Generating/EndGen.h index c2278c1e1..f9e3f6e53 100644 --- a/src/Generating/EndGen.h +++ b/src/Generating/EndGen.h @@ -17,7 +17,7 @@ class cEndGen : - public cTerrainHeightGen, + public cTerrainShapeGen, public cTerrainCompositionGen { public: @@ -59,10 +59,10 @@ protected: /// Returns true if the chunk is outside of the island's dimensions bool IsChunkOutsideRange(int a_ChunkX, int a_ChunkZ); - // cTerrainHeightGen overrides: - virtual void GenHeightMap(int a_ChunkX, int a_ChunkZ, cChunkDef::HeightMap & a_HeightMap) override; + // cTerrainShapeGen overrides: + virtual void GenShape(int a_ChunkX, int a_ChunkZ, cChunkDesc::Shape & a_Shape) override; // cTerrainCompositionGen overrides: - virtual void ComposeTerrain(cChunkDesc & a_ChunkDesc) override; + virtual void ComposeTerrain(cChunkDesc & a_ChunkDesc, const cChunkDesc::Shape & a_Shape) override; virtual void InitializeCompoGen(cIniFile & a_IniFile) override; } ; |