summaryrefslogtreecommitdiffstats
path: root/source/Generating/ChunkDesc.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-10-06 15:44:14 +0200
committermadmaxoft <github@xoft.cz>2013-10-06 15:44:14 +0200
commitdabbf24f587d6c946b84620fb6a86e9b587a23b8 (patch)
tree7615b6f1c6030b15a67528e84d9740639adbd344 /source/Generating/ChunkDesc.h
parentRemoved remnants of the old webserver. (diff)
parentAPIDump: Brought cItem docs up-to-date. (diff)
downloadcuberite-dabbf24f587d6c946b84620fb6a86e9b587a23b8.tar
cuberite-dabbf24f587d6c946b84620fb6a86e9b587a23b8.tar.gz
cuberite-dabbf24f587d6c946b84620fb6a86e9b587a23b8.tar.bz2
cuberite-dabbf24f587d6c946b84620fb6a86e9b587a23b8.tar.lz
cuberite-dabbf24f587d6c946b84620fb6a86e9b587a23b8.tar.xz
cuberite-dabbf24f587d6c946b84620fb6a86e9b587a23b8.tar.zst
cuberite-dabbf24f587d6c946b84620fb6a86e9b587a23b8.zip
Diffstat (limited to '')
-rw-r--r--source/Generating/ChunkDesc.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/Generating/ChunkDesc.h b/source/Generating/ChunkDesc.h
index 41b85a814..067d8494a 100644
--- a/source/Generating/ChunkDesc.h
+++ b/source/Generating/ChunkDesc.h
@@ -36,13 +36,13 @@ public:
cChunkDesc(int a_ChunkX, int a_ChunkZ);
~cChunkDesc();
+ void SetChunkCoords(int a_ChunkX, int a_ChunkZ);
+
// tolua_begin
int GetChunkX(void) const { return m_ChunkX; }
int GetChunkZ(void) const { return m_ChunkZ; }
- void SetChunkCoords(int a_ChunkX, int a_ChunkZ);
-
void FillBlocks(BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta);
void SetBlockTypeMeta(int a_RelX, int a_RelY, int a_RelZ, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta);
void GetBlockTypeMeta(int a_RelX, int a_RelY, int a_RelZ, BLOCKTYPE & a_BlockType, NIBBLETYPE & a_BlockMeta);
@@ -74,7 +74,7 @@ public:
/// Writes the block area into the chunk, with its origin set at the specified relative coords. Area's data overwrite everything in the chunk.
void WriteBlockArea(const cBlockArea & a_BlockArea, int a_RelX, int a_RelY, int a_RelZ, cBlockArea::eMergeStrategy a_MergeStrategy = cBlockArea::msOverwrite);
- /// Reads an area from the chunk into a cBlockArea
+ /// Reads an area from the chunk into a cBlockArea, blocktypes and blockmetas
void ReadBlockArea(cBlockArea & a_Dest, int a_MinRelX, int a_MaxRelX, int a_MinRelY, int a_MaxRelY, int a_MinRelZ, int a_MaxRelZ);
/// Returns the maximum height value in the heightmap