summaryrefslogtreecommitdiffstats
path: root/source/BlockArea.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-01-04 06:20:14 +0100
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-01-04 06:20:14 +0100
commit7860d5156a2801f3f6ed526bec1f2e267b29fcc8 (patch)
treeada5c2f7c86fb1aeacc5f5e776387daa5a8c5a96 /source/BlockArea.h
parentFixed compilation error in BlockCauldron.h on Linux (diff)
downloadcuberite-7860d5156a2801f3f6ed526bec1f2e267b29fcc8.tar
cuberite-7860d5156a2801f3f6ed526bec1f2e267b29fcc8.tar.gz
cuberite-7860d5156a2801f3f6ed526bec1f2e267b29fcc8.tar.bz2
cuberite-7860d5156a2801f3f6ed526bec1f2e267b29fcc8.tar.lz
cuberite-7860d5156a2801f3f6ed526bec1f2e267b29fcc8.tar.xz
cuberite-7860d5156a2801f3f6ed526bec1f2e267b29fcc8.tar.zst
cuberite-7860d5156a2801f3f6ed526bec1f2e267b29fcc8.zip
Diffstat (limited to 'source/BlockArea.h')
-rw-r--r--source/BlockArea.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/BlockArea.h b/source/BlockArea.h
index 7b67f3bc1..d9b21d933 100644
--- a/source/BlockArea.h
+++ b/source/BlockArea.h
@@ -79,6 +79,9 @@ public:
NIBBLETYPE GetRelBlockSkyLight(int a_RelX, int a_RelY, int a_RelZ) const;
NIBBLETYPE GetBlockSkyLight (int a_BlockX, int a_BlockY, int a_BlockZ) const;
+ void GetBlockTypeMeta (int a_BlockX, int a_BlockY, int a_BlockZ, BLOCKTYPE & a_BlockType, NIBBLETYPE & a_BlockMeta) const;
+ void GetRelBlockTypeMeta(int a_RelX, int a_RelY, int a_RelZ, BLOCKTYPE & a_BlockType, NIBBLETYPE & a_BlockMeta) const;
+
int GetSizeX(void) const { return m_SizeX; }
int GetSizeY(void) const { return m_SizeY; }
int GetSizeZ(void) const { return m_SizeZ; }