diff options
author | faketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-09-29 15:41:47 +0200 |
---|---|---|
committer | faketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-09-29 15:41:47 +0200 |
commit | fe61687b97d55c92bb29bf6aae1288433229353d (patch) | |
tree | 3701e23efd1969ebc7a32b51bcabfc08fafa72a4 /source/World.h | |
parent | AnvilStats: Overall statistics and mobspawner statistics. (diff) | |
download | cuberite-fe61687b97d55c92bb29bf6aae1288433229353d.tar cuberite-fe61687b97d55c92bb29bf6aae1288433229353d.tar.gz cuberite-fe61687b97d55c92bb29bf6aae1288433229353d.tar.bz2 cuberite-fe61687b97d55c92bb29bf6aae1288433229353d.tar.lz cuberite-fe61687b97d55c92bb29bf6aae1288433229353d.tar.xz cuberite-fe61687b97d55c92bb29bf6aae1288433229353d.tar.zst cuberite-fe61687b97d55c92bb29bf6aae1288433229353d.zip |
Diffstat (limited to 'source/World.h')
-rw-r--r-- | source/World.h | 3 |
1 files changed, 2 insertions, 1 deletions
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 |