From fe61687b97d55c92bb29bf6aae1288433229353d Mon Sep 17 00:00:00 2001 From: faketruth Date: Sat, 29 Sep 2012 13:41:47 +0000 Subject: Made beds placeable Android: Updated some stuff and set default view distance lower git-svn-id: http://mc-server.googlecode.com/svn/trunk@900 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/World.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source/World.h') diff --git a/source/World.h b/source/World.h index f688efebf..08ccc4226 100644 --- a/source/World.h +++ b/source/World.h @@ -238,8 +238,9 @@ public: /// Calls the callback for each chunk in the coords specified (all cords are inclusive). Returns true if all chunks have been processed successfully bool ForEachChunkInRect(int a_MinChunkX, int a_MaxChunkX, int a_MinChunkZ, int a_MaxChunkZ, cChunkDataCallback & a_Callback); - void SetBlock (int a_X, int a_Y, int a_Z, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta ); //tolua_export + void SetBlock (int a_X, int a_Y, int a_Z, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta ); //tolua_export void FastSetBlock (int a_X, int a_Y, int a_Z, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta ); //tolua_export + 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 ); } // tolua_export BLOCKTYPE GetBlock(int a_X, int a_Y, int a_Z ); //tolua_export BLOCKTYPE GetBlock(const Vector3i & a_Pos ) { return GetBlock( a_Pos.x, a_Pos.y, a_Pos.z ); } //tolua_export NIBBLETYPE GetBlockMeta(int a_X, int a_Y, int a_Z ); //tolua_export -- cgit v1.2.3