summaryrefslogtreecommitdiffstats
path: root/src/BlockArea.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-02-20 10:48:29 +0100
committermadmaxoft <github@xoft.cz>2014-02-20 11:06:14 +0100
commita3fa52ec739d6640f7dc4d481de77d633111cf46 (patch)
tree1aebaa5c79d5f03f66710fae96a1e6600b01ccfb /src/BlockArea.h
parentMerge pull request #697 from Howaner/Skull (diff)
downloadcuberite-a3fa52ec739d6640f7dc4d481de77d633111cf46.tar
cuberite-a3fa52ec739d6640f7dc4d481de77d633111cf46.tar.gz
cuberite-a3fa52ec739d6640f7dc4d481de77d633111cf46.tar.bz2
cuberite-a3fa52ec739d6640f7dc4d481de77d633111cf46.tar.lz
cuberite-a3fa52ec739d6640f7dc4d481de77d633111cf46.tar.xz
cuberite-a3fa52ec739d6640f7dc4d481de77d633111cf46.tar.zst
cuberite-a3fa52ec739d6640f7dc4d481de77d633111cf46.zip
Diffstat (limited to '')
-rw-r--r--src/BlockArea.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/BlockArea.h b/src/BlockArea.h
index 59bc0f241..b4a161f32 100644
--- a/src/BlockArea.h
+++ b/src/BlockArea.h
@@ -184,9 +184,15 @@ public:
void SetBlockTypeMeta (int a_BlockX, int a_BlockY, int a_BlockZ, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta);
void SetRelBlockTypeMeta(int a_RelX, int a_RelY, int a_RelZ, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta);
+
+ // tolua_end
+
+ // These need manual exporting, tolua generates the binding as requiring 2 extra input params
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;
+ // tolua_begin
+
int GetSizeX(void) const { return m_SizeX; }
int GetSizeY(void) const { return m_SizeY; }
int GetSizeZ(void) const { return m_SizeZ; }