diff options
author | Mattes D <github@xoft.cz> | 2019-09-08 15:59:15 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2019-09-08 20:21:49 +0200 |
commit | ad24702b4e0569318c97391cd930c5956d190016 (patch) | |
tree | 48182f7af3185b8a5ef217ac408e0a3756ba8964 /src/Generating/ChunkGenerator.h | |
parent | ShapeGen, HeiGen: Changed to use cChunkCoords. (diff) | |
download | cuberite-ad24702b4e0569318c97391cd930c5956d190016.tar cuberite-ad24702b4e0569318c97391cd930c5956d190016.tar.gz cuberite-ad24702b4e0569318c97391cd930c5956d190016.tar.bz2 cuberite-ad24702b4e0569318c97391cd930c5956d190016.tar.lz cuberite-ad24702b4e0569318c97391cd930c5956d190016.tar.xz cuberite-ad24702b4e0569318c97391cd930c5956d190016.tar.zst cuberite-ad24702b4e0569318c97391cd930c5956d190016.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Generating/ChunkGenerator.h | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |