diff options
author | Mattes D <github@xoft.cz> | 2019-09-02 06:46:40 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2019-09-06 16:12:33 +0200 |
commit | d8d1e6e1d2f668cb7b34eae7484e59e2310e847a (patch) | |
tree | b0465a99b335bdd509fb40adf5cca950997170b7 /src/Generating/ChunkDesc.cpp | |
parent | Moved the generator defaults to ComposableGenerator. (diff) | |
download | cuberite-d8d1e6e1d2f668cb7b34eae7484e59e2310e847a.tar cuberite-d8d1e6e1d2f668cb7b34eae7484e59e2310e847a.tar.gz cuberite-d8d1e6e1d2f668cb7b34eae7484e59e2310e847a.tar.bz2 cuberite-d8d1e6e1d2f668cb7b34eae7484e59e2310e847a.tar.lz cuberite-d8d1e6e1d2f668cb7b34eae7484e59e2310e847a.tar.xz cuberite-d8d1e6e1d2f668cb7b34eae7484e59e2310e847a.tar.zst cuberite-d8d1e6e1d2f668cb7b34eae7484e59e2310e847a.zip |
Diffstat (limited to 'src/Generating/ChunkDesc.cpp')
-rw-r--r-- | src/Generating/ChunkDesc.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Generating/ChunkDesc.cpp b/src/Generating/ChunkDesc.cpp index 18947f401..1aecb83be 100644 --- a/src/Generating/ChunkDesc.cpp +++ b/src/Generating/ChunkDesc.cpp @@ -87,7 +87,7 @@ void cChunkDesc::SetBlockType(int a_RelX, int a_RelY, int a_RelZ, BLOCKTYPE a_Bl -BLOCKTYPE cChunkDesc::GetBlockType(int a_RelX, int a_RelY, int a_RelZ) +BLOCKTYPE cChunkDesc::GetBlockType(int a_RelX, int a_RelY, int a_RelZ) const { return cChunkDef::GetBlock(m_BlockArea.GetBlockTypes(), a_RelX, a_RelY, a_RelZ); } @@ -96,7 +96,7 @@ BLOCKTYPE cChunkDesc::GetBlockType(int a_RelX, int a_RelY, int a_RelZ) -NIBBLETYPE cChunkDesc::GetBlockMeta(int a_RelX, int a_RelY, int a_RelZ) +NIBBLETYPE cChunkDesc::GetBlockMeta(int a_RelX, int a_RelY, int a_RelZ) const { return m_BlockArea.GetRelBlockMeta(a_RelX, a_RelY, a_RelZ); } @@ -123,7 +123,7 @@ void cChunkDesc::SetBiome(int a_RelX, int a_RelZ, EMCSBiome a_BiomeID) -EMCSBiome cChunkDesc::GetBiome(int a_RelX, int a_RelZ) +EMCSBiome cChunkDesc::GetBiome(int a_RelX, int a_RelZ) const { return cChunkDef::GetBiome(m_BiomeMap, a_RelX, a_RelZ); } @@ -141,7 +141,7 @@ void cChunkDesc::SetHeight(int a_RelX, int a_RelZ, HEIGHTTYPE a_Height) -HEIGHTTYPE cChunkDesc::GetHeight(int a_RelX, int a_RelZ) +HEIGHTTYPE cChunkDesc::GetHeight(int a_RelX, int a_RelZ) const { return cChunkDef::GetHeight(m_HeightMap, a_RelX, a_RelZ); } |