summaryrefslogtreecommitdiffstats
path: root/source/Chunk.cpp
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-11-11 16:06:31 +0100
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-11-11 16:06:31 +0100
commit934d3fe56549a3dce33bc565d27970dc29b88404 (patch)
tree67d872e1a096f88d1e97e733f6068eca2d2253bb /source/Chunk.cpp
parentSettings.ini is read only once on server start (diff)
downloadcuberite-934d3fe56549a3dce33bc565d27970dc29b88404.tar
cuberite-934d3fe56549a3dce33bc565d27970dc29b88404.tar.gz
cuberite-934d3fe56549a3dce33bc565d27970dc29b88404.tar.bz2
cuberite-934d3fe56549a3dce33bc565d27970dc29b88404.tar.lz
cuberite-934d3fe56549a3dce33bc565d27970dc29b88404.tar.xz
cuberite-934d3fe56549a3dce33bc565d27970dc29b88404.tar.zst
cuberite-934d3fe56549a3dce33bc565d27970dc29b88404.zip
Diffstat (limited to 'source/Chunk.cpp')
-rw-r--r--source/Chunk.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/source/Chunk.cpp b/source/Chunk.cpp
index ab5cf3e91..f297e0bbd 100644
--- a/source/Chunk.cpp
+++ b/source/Chunk.cpp
@@ -293,18 +293,6 @@ void cChunk::GetBlockTypes(BLOCKTYPE * a_BlockTypes)
-void cChunk::GetBlockData(BLOCKTYPE * a_BlockData)
-{
- memcpy(a_BlockData, m_BlockTypes, NumBlocks);
- memcpy(a_BlockData + MetaOffset, m_BlockMeta, NumBlocks / 2);
- memcpy(a_BlockData + LightOffset, m_BlockLight, NumBlocks / 2);
- memcpy(a_BlockData + SkyLightOffset, m_BlockSkyLight, NumBlocks / 2);
-}
-
-
-
-
-
void cChunk::WriteBlockArea(cBlockArea & a_Area, int a_MinBlockX, int a_MinBlockY, int a_MinBlockZ, int a_DataTypes)
{
if ((a_DataTypes & (cBlockArea::baTypes | cBlockArea::baMetas)) != (cBlockArea::baTypes | cBlockArea::baMetas))