summaryrefslogtreecommitdiffstats
path: root/source/World.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-08-05 15:54:10 +0200
committermadmaxoft <github@xoft.cz>2013-08-05 15:54:10 +0200
commit73fcd7ad1c7108bd3b76d7543cc6f312e083c43c (patch)
tree1a04a285e6cf147ccce5b1ab7cdf0178e2a344cc /source/World.h
parentExported cWorld:DoWithEntityByID() to Lua API (diff)
downloadcuberite-73fcd7ad1c7108bd3b76d7543cc6f312e083c43c.tar
cuberite-73fcd7ad1c7108bd3b76d7543cc6f312e083c43c.tar.gz
cuberite-73fcd7ad1c7108bd3b76d7543cc6f312e083c43c.tar.bz2
cuberite-73fcd7ad1c7108bd3b76d7543cc6f312e083c43c.tar.lz
cuberite-73fcd7ad1c7108bd3b76d7543cc6f312e083c43c.tar.xz
cuberite-73fcd7ad1c7108bd3b76d7543cc6f312e083c43c.tar.zst
cuberite-73fcd7ad1c7108bd3b76d7543cc6f312e083c43c.zip
Diffstat (limited to 'source/World.h')
-rw-r--r--source/World.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/World.h b/source/World.h
index 695b15f50..5720ae634 100644
--- a/source/World.h
+++ b/source/World.h
@@ -129,7 +129,7 @@ public:
// tolua_end
/// Retrieves the world height at the specified coords; returns false if chunk not loaded / generated
- bool TryGetHeight(int a_BlockX, int a_BlockZ, int & a_Height); // TODO: Export in ManualBindings.cpp
+ bool TryGetHeight(int a_BlockX, int a_BlockZ, int & a_Height); // Exported in ManualBindings.cpp
// Broadcast respective packets to all clients of the chunk where the event is taking place
// (Please keep these alpha-sorted)
@@ -174,7 +174,7 @@ public:
If a_MarkDirty is set, the chunk is set as dirty (used after generating)
*/
void SetChunkData(
- int a_ChunkX, int a_ChunkZ,
+ int a_ChunkX, int a_ChunkZ,
const BLOCKTYPE * a_BlockTypes,
const NIBBLETYPE * a_BlockMeta,
const NIBBLETYPE * a_BlockLight,
@@ -319,8 +319,8 @@ public:
void SetBlockMeta(const Vector3i & a_Pos, NIBBLETYPE a_MetaData ) { SetBlockMeta( a_Pos.x, a_Pos.y, a_Pos.z, a_MetaData ); }
// tolua_end
- /** Writes the block area into the specified coords.
- Returns true if all chunks have been processed.
+ /** Writes the block area into the specified coords.
+ Returns true if all chunks have been processed.
Prefer cBlockArea::Write() instead, this is the internal implementation; cBlockArea does error checking, too.
a_DataTypes is a bitmask of cBlockArea::baXXX constants ORed together.
*/