From 23021dd8287ae17a5653040114c875b46a63a398 Mon Sep 17 00:00:00 2001 From: NiLSPACE Date: Sun, 4 Oct 2020 17:12:36 +0200 Subject: Fixed current end generator (#4968) --- src/Generating/EndGen.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/Generating/EndGen.h') diff --git a/src/Generating/EndGen.h b/src/Generating/EndGen.h index f3d9fde7b..c1c6f00b6 100644 --- a/src/Generating/EndGen.h +++ b/src/Generating/EndGen.h @@ -41,10 +41,6 @@ protected: NOISE_DATATYPE m_FrequencyY; NOISE_DATATYPE m_FrequencyZ; - // Minimum and maximum chunk coords for chunks inside the island area. Chunks outside won't get calculated at all - int m_MinChunkX, m_MaxChunkX; - int m_MinChunkZ, m_MaxChunkZ; - // Noise array for the last chunk (in the noise range) cChunkCoords m_LastChunkCoords; NOISE_DATATYPE m_NoiseArray[17 * 17 * 257]; // x + 17 * z + 17 * 17 * y @@ -56,10 +52,6 @@ protected: /** Generates the m_NoiseArray array for the current chunk */ void GenerateNoiseArray(void); - /** Returns true if the chunk is outside of the island's dimensions */ - bool IsChunkOutsideRange(cChunkCoords a_ChunkCoords); - - // cTerrainShapeGen overrides: virtual void GenShape(cChunkCoords a_ChunkCoords, cChunkDesc::Shape & a_Shape) override; -- cgit v1.2.3