diff options
author | Mattes D <github@xoft.cz> | 2014-09-03 21:47:00 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-09-03 21:47:00 +0200 |
commit | c140ba2367bd36bbf56dfd0fdbdb2dbb0d3daa66 (patch) | |
tree | 7999d8162d8b390b7bc94831a52f36c8f9743b1f /src/World.h | |
parent | Anvil: switched inflate to stream mode. (diff) | |
parent | commit (diff) | |
download | cuberite-c140ba2367bd36bbf56dfd0fdbdb2dbb0d3daa66.tar cuberite-c140ba2367bd36bbf56dfd0fdbdb2dbb0d3daa66.tar.gz cuberite-c140ba2367bd36bbf56dfd0fdbdb2dbb0d3daa66.tar.bz2 cuberite-c140ba2367bd36bbf56dfd0fdbdb2dbb0d3daa66.tar.lz cuberite-c140ba2367bd36bbf56dfd0fdbdb2dbb0d3daa66.tar.xz cuberite-c140ba2367bd36bbf56dfd0fdbdb2dbb0d3daa66.tar.zst cuberite-c140ba2367bd36bbf56dfd0fdbdb2dbb0d3daa66.zip |
Diffstat (limited to 'src/World.h')
-rw-r--r-- | src/World.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/World.h b/src/World.h index 578c9682b..49e30694e 100644 --- a/src/World.h +++ b/src/World.h @@ -351,16 +351,16 @@ public: void RemoveClientFromChunkSender(cClientHandle * a_Client); /** Touches the chunk, causing it to be loaded or generated */ - void TouchChunk(int a_ChunkX, int a_ChunkY, int a_ChunkZ); + void TouchChunk(int a_ChunkX, int a_ChunkZ); /** Loads the chunk, if not already loaded. Doesn't generate. Returns true if chunk valid (even if already loaded before) */ - bool LoadChunk(int a_ChunkX, int a_ChunkY, int a_ChunkZ); + bool LoadChunk(int a_ChunkX, int a_ChunkZ); /** Loads the chunks specified. Doesn't report failure, other than chunks being !IsValid() */ void LoadChunks(const cChunkCoordsList & a_Chunks); /** Marks the chunk as failed-to-load: */ - void ChunkLoadFailed(int a_ChunkX, int a_ChunkY, int a_ChunkZ); + void ChunkLoadFailed(int a_ChunkX, int a_ChunkZ); /** Sets the sign text, asking plugins for permission first. a_Player is the player who this change belongs to, may be NULL. Returns true if sign text changed. Same as UpdateSign() */ bool SetSignLines(int a_BlockX, int a_BlockY, int a_BlockZ, const AString & a_Line1, const AString & a_Line2, const AString & a_Line3, const AString & a_Line4, cPlayer * a_Player = NULL); // Exported in ManualBindings.cpp @@ -380,7 +380,7 @@ public: /** Regenerate the given chunk: */ void RegenerateChunk(int a_ChunkX, int a_ChunkZ); // tolua_export - /** Generates the given chunk, if not already generated */ + /** Generates the given chunk */ void GenerateChunk(int a_ChunkX, int a_ChunkZ); // tolua_export /** Queues a chunk for lighting; a_Callback is called after the chunk is lighted */ |