summaryrefslogtreecommitdiffstats
path: root/src/Generating/ChunkDesc.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2019-09-02 06:46:40 +0200
committerMattes D <github@xoft.cz>2019-09-06 16:12:33 +0200
commitd8d1e6e1d2f668cb7b34eae7484e59e2310e847a (patch)
treeb0465a99b335bdd509fb40adf5cca950997170b7 /src/Generating/ChunkDesc.h
parentMoved the generator defaults to ComposableGenerator. (diff)
downloadcuberite-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.h')
-rw-r--r--src/Generating/ChunkDesc.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Generating/ChunkDesc.h b/src/Generating/ChunkDesc.h
index 997b640a3..b813a88aa 100644
--- a/src/Generating/ChunkDesc.h
+++ b/src/Generating/ChunkDesc.h
@@ -65,18 +65,18 @@ public:
// tolua_begin
void SetBlockType(int a_RelX, int a_RelY, int a_RelZ, BLOCKTYPE a_BlockType);
- BLOCKTYPE GetBlockType(int a_RelX, int a_RelY, int a_RelZ);
+ BLOCKTYPE GetBlockType(int a_RelX, int a_RelY, int a_RelZ) const;
void SetBlockMeta(int a_RelX, int a_RelY, int a_RelZ, NIBBLETYPE a_BlockMeta);
- NIBBLETYPE GetBlockMeta(int a_RelX, int a_RelY, int a_RelZ);
+ NIBBLETYPE GetBlockMeta(int a_RelX, int a_RelY, int a_RelZ) const;
void SetBiome(int a_RelX, int a_RelZ, EMCSBiome a_BiomeID);
- EMCSBiome GetBiome(int a_RelX, int a_RelZ);
+ EMCSBiome GetBiome(int a_RelX, int a_RelZ) const;
// These operate on the heightmap, so they could get out of sync with the data
// Use UpdateHeightmap() to re-calculate heightmap from the block data
void SetHeight(int a_RelX, int a_RelZ, HEIGHTTYPE a_Height);
- HEIGHTTYPE GetHeight(int a_RelX, int a_RelZ);
+ HEIGHTTYPE GetHeight(int a_RelX, int a_RelZ) const;
// tolua_end