diff options
author | madmaxoft <github@xoft.cz> | 2013-09-15 20:29:20 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-09-15 20:29:20 +0200 |
commit | 9a35c1c15073a0bff45be7c034812bcdc220fa78 (patch) | |
tree | 0b464e97f80b9ef180ed2210a0494e8864859c68 /source/World.h | |
parent | Updated the automatic bindings. (diff) | |
download | cuberite-9a35c1c15073a0bff45be7c034812bcdc220fa78.tar cuberite-9a35c1c15073a0bff45be7c034812bcdc220fa78.tar.gz cuberite-9a35c1c15073a0bff45be7c034812bcdc220fa78.tar.bz2 cuberite-9a35c1c15073a0bff45be7c034812bcdc220fa78.tar.lz cuberite-9a35c1c15073a0bff45be7c034812bcdc220fa78.tar.xz cuberite-9a35c1c15073a0bff45be7c034812bcdc220fa78.tar.zst cuberite-9a35c1c15073a0bff45be7c034812bcdc220fa78.zip |
Diffstat (limited to '')
-rw-r--r-- | source/World.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/source/World.h b/source/World.h index 315904f79..16ef6b3ce 100644 --- a/source/World.h +++ b/source/World.h @@ -334,10 +334,15 @@ public: void SetBlockMeta (int a_BlockX, int a_BlockY, int a_BlockZ, NIBBLETYPE a_MetaData);
NIBBLETYPE GetBlockSkyLight (int a_BlockX, int a_BlockY, int a_BlockZ);
NIBBLETYPE GetBlockBlockLight(int a_BlockX, int a_BlockY, int a_BlockZ);
- bool GetBlockTypeMeta (int a_BlockX, int a_BlockY, int a_BlockZ, BLOCKTYPE & a_BlockType, NIBBLETYPE & a_BlockMeta);
- bool GetBlockInfo (int a_BlockX, int a_BlockY, int a_BlockZ, BLOCKTYPE & a_BlockType, NIBBLETYPE & a_Meta, NIBBLETYPE & a_SkyLight, NIBBLETYPE & a_BlockLight);
+
+ // tolua_end
+
+ bool GetBlockTypeMeta (int a_BlockX, int a_BlockY, int a_BlockZ, BLOCKTYPE & a_BlockType, NIBBLETYPE & a_BlockMeta); // TODO: Exported in ManualBindings.cpp
+ bool GetBlockInfo (int a_BlockX, int a_BlockY, int a_BlockZ, BLOCKTYPE & a_BlockType, NIBBLETYPE & a_Meta, NIBBLETYPE & a_SkyLight, NIBBLETYPE & a_BlockLight); // TODO: Exported in ManualBindings.cpp
// TODO: NIBBLETYPE GetBlockActualLight(int a_BlockX, int a_BlockY, int a_BlockZ);
+ // tolua_begin
+
// Vector3i variants:
void FastSetBlock(const Vector3i & a_Pos, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta ) { FastSetBlock( a_Pos.x, a_Pos.y, a_Pos.z, a_BlockType, a_BlockMeta ); }
BLOCKTYPE GetBlock (const Vector3i & a_Pos ) { return GetBlock( a_Pos.x, a_Pos.y, a_Pos.z ); }
|