From ad24702b4e0569318c97391cd930c5956d190016 Mon Sep 17 00:00:00 2001 From: Mattes D Date: Sun, 8 Sep 2019 15:59:15 +0200 Subject: ChunkGenerator: Changed to use cChunkCoords. --- src/Generating/ChunkGenerator.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Generating/ChunkGenerator.h') diff --git a/src/Generating/ChunkGenerator.h b/src/Generating/ChunkGenerator.h index 703372094..5fe58c65a 100644 --- a/src/Generating/ChunkGenerator.h +++ b/src/Generating/ChunkGenerator.h @@ -27,7 +27,7 @@ public: /** Generates the biomes for the specified chunk. Used by the world loader if biomes failed loading. */ - virtual void GenerateBiomes(int a_ChunkX, int a_ChunkZ, cChunkDef::BiomeMap & a_BiomeMap) = 0; + virtual void GenerateBiomes(cChunkCoords a_ChunkCoords, cChunkDef::BiomeMap & a_BiomeMap) = 0; /** Returns the biome at the specified coords. Used by ChunkMap if an invalid chunk is queried for biome. @@ -36,7 +36,7 @@ public: /** Does the actual chunk generation. Descendants need to override this and generate into a_ChunkDesc. */ - virtual void Generate(int a_ChunkX, int a_ChunkZ, cChunkDesc & a_ChunkDesc) = 0; + virtual void Generate(cChunkDesc & a_ChunkDesc) = 0; /** Returns the seed that was read from the INI file. */ int GetSeed(void) const { return m_Seed; } -- cgit v1.2.3