summaryrefslogtreecommitdiffstats
path: root/src/BlockArea.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-02-20 10:48:29 +0100
committerTheJumper <maximilian.springer@web.de>2014-02-23 19:50:51 +0100
commitfd4af0f99287a48b969ffd0a6314e4beb7368e2f (patch)
tree1aebaa5c79d5f03f66710fae96a1e6600b01ccfb /src/BlockArea.h
parentRename SkullEntity to MobHeadEntity (diff)
downloadcuberite-fd4af0f99287a48b969ffd0a6314e4beb7368e2f.tar
cuberite-fd4af0f99287a48b969ffd0a6314e4beb7368e2f.tar.gz
cuberite-fd4af0f99287a48b969ffd0a6314e4beb7368e2f.tar.bz2
cuberite-fd4af0f99287a48b969ffd0a6314e4beb7368e2f.tar.lz
cuberite-fd4af0f99287a48b969ffd0a6314e4beb7368e2f.tar.xz
cuberite-fd4af0f99287a48b969ffd0a6314e4beb7368e2f.tar.zst
cuberite-fd4af0f99287a48b969ffd0a6314e4beb7368e2f.zip
Diffstat (limited to 'src/BlockArea.h')
-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; }