diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-03-17 18:55:03 +0100 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-03-17 18:55:03 +0100 |
commit | 1ed3b3aed2e538af2c3bffa41f54a30ac6535f12 (patch) | |
tree | 173949d9abcbd08d9c3535704419a372e52c7c8a /source/Generating/CompoGen.h | |
parent | ProbabDistrib: fixed definition string parsing with nonzero start (diff) | |
download | cuberite-1ed3b3aed2e538af2c3bffa41f54a30ac6535f12.tar cuberite-1ed3b3aed2e538af2c3bffa41f54a30ac6535f12.tar.gz cuberite-1ed3b3aed2e538af2c3bffa41f54a30ac6535f12.tar.bz2 cuberite-1ed3b3aed2e538af2c3bffa41f54a30ac6535f12.tar.lz cuberite-1ed3b3aed2e538af2c3bffa41f54a30ac6535f12.tar.xz cuberite-1ed3b3aed2e538af2c3bffa41f54a30ac6535f12.tar.zst cuberite-1ed3b3aed2e538af2c3bffa41f54a30ac6535f12.zip |
Diffstat (limited to 'source/Generating/CompoGen.h')
-rw-r--r-- | source/Generating/CompoGen.h | 50 |
1 files changed, 5 insertions, 45 deletions
diff --git a/source/Generating/CompoGen.h b/source/Generating/CompoGen.h index e92ba505c..9880ce1a0 100644 --- a/source/Generating/CompoGen.h +++ b/source/Generating/CompoGen.h @@ -36,15 +36,7 @@ protected: bool m_IsBedrocked; // cTerrainCompositionGen overrides: - virtual void ComposeTerrain( - int a_ChunkX, int a_ChunkZ, - cChunkDef::BlockTypes & a_BlockTypes, // BlockTypes to be generated - cChunkDef::BlockNibbles & a_BlockMeta, // BlockMetas to be generated - const cChunkDef::HeightMap & a_HeightMap, // The height map to fit - const cChunkDef::BiomeMap & a_BiomeMap, // Biomes to adhere to - cEntityList & a_Entities, // Entitites may be generated along with the terrain - cBlockEntityList & a_BlockEntities // Block entitites may be generated (chests / furnaces / ...) - ) override; + virtual void ComposeTerrain(cChunkDesc & a_ChunkDesc) override; } ; @@ -60,15 +52,7 @@ public: protected: // cTerrainCompositionGen overrides: - virtual void ComposeTerrain( - int a_ChunkX, int a_ChunkZ, - cChunkDef::BlockTypes & a_BlockTypes, // BlockTypes to be generated - cChunkDef::BlockNibbles & a_BlockMeta, // BlockMetas to be generated - const cChunkDef::HeightMap & a_HeightMap, // The height map to fit - const cChunkDef::BiomeMap & a_BiomeMap, // Biomes to adhere to - cEntityList & a_Entities, // Entitites may be generated along with the terrain - cBlockEntityList & a_BlockEntities // Block entitites may be generated (chests / furnaces / ...) - ) override; + virtual void ComposeTerrain(cChunkDesc & a_ChunkDesc) override; } ; @@ -98,15 +82,7 @@ protected: BLOCKTYPE m_BlockSea; // cTerrainCompositionGen overrides: - virtual void ComposeTerrain( - int a_ChunkX, int a_ChunkZ, - cChunkDef::BlockTypes & a_BlockTypes, // BlockTypes to be generated - cChunkDef::BlockNibbles & a_BlockMeta, // BlockMetas to be generated - const cChunkDef::HeightMap & a_HeightMap, // The height map to fit - const cChunkDef::BiomeMap & a_BiomeMap, // Biomes to adhere to - cEntityList & a_Entities, // Entitites may be generated along with the terrain - cBlockEntityList & a_BlockEntities // Block entitites may be generated (chests / furnaces / ...) - ) override; + virtual void ComposeTerrain(cChunkDesc & a_ChunkDesc) override; } ; @@ -129,15 +105,7 @@ protected: int m_SeaLevel; // cTerrainCompositionGen overrides: - virtual void ComposeTerrain( - int a_ChunkX, int a_ChunkZ, - cChunkDef::BlockTypes & a_BlockTypes, // BlockTypes to be generated - cChunkDef::BlockNibbles & a_BlockMeta, // BlockMetas to be generated - const cChunkDef::HeightMap & a_HeightMap, // The height map to fit - const cChunkDef::BiomeMap & a_BiomeMap, // Biomes to adhere to - cEntityList & a_Entities, // Entitites may be generated along with the terrain - cBlockEntityList & a_BlockEntities // Block entitites may be generated (chests / furnaces / ...) - ) override; + virtual void ComposeTerrain(cChunkDesc & a_ChunkDesc) override; void FillColumnGrass (int a_RelX, int a_RelZ, int a_Height, cChunkDef::BlockTypes & a_BlockTypes); void FillColumnSand (int a_RelX, int a_RelZ, int a_Height, cChunkDef::BlockTypes & a_BlockTypes); @@ -166,15 +134,7 @@ protected: int m_Threshold; // cTerrainCompositionGen overrides: - virtual void ComposeTerrain( - int a_ChunkX, int a_ChunkZ, - cChunkDef::BlockTypes & a_BlockTypes, // BlockTypes to be generated - cChunkDef::BlockNibbles & a_BlockMeta, // BlockMetas to be generated - const cChunkDef::HeightMap & a_HeightMap, // The height map to fit - const cChunkDef::BiomeMap & a_BiomeMap, // Biomes to adhere to - cEntityList & a_Entities, // Entitites may be generated along with the terrain - cBlockEntityList & a_BlockEntities // Block entitites may be generated (chests / furnaces / ...) - ) override; + virtual void ComposeTerrain(cChunkDesc & a_ChunkDesc) override; } ; |