diff options
author | Tiger Wang <ziwei.tiger@outlook.com> | 2020-08-28 22:26:04 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@outlook.com> | 2020-08-28 22:26:04 +0200 |
commit | 08bd77e5472f08183beb2f0cf5a59cb5630e5e5f (patch) | |
tree | e13315dd8d2e089934391c76697b026c53f26604 /src/World.h | |
parent | ChunkMap: do not wantonly make empty chunks (diff) | |
download | cuberite-08bd77e5472f08183beb2f0cf5a59cb5630e5e5f.tar cuberite-08bd77e5472f08183beb2f0cf5a59cb5630e5e5f.tar.gz cuberite-08bd77e5472f08183beb2f0cf5a59cb5630e5e5f.tar.bz2 cuberite-08bd77e5472f08183beb2f0cf5a59cb5630e5e5f.tar.lz cuberite-08bd77e5472f08183beb2f0cf5a59cb5630e5e5f.tar.xz cuberite-08bd77e5472f08183beb2f0cf5a59cb5630e5e5f.tar.zst cuberite-08bd77e5472f08183beb2f0cf5a59cb5630e5e5f.zip |
Diffstat (limited to '')
-rw-r--r-- | src/World.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/World.h b/src/World.h index c7485531c..8277f8117 100644 --- a/src/World.h +++ b/src/World.h @@ -353,9 +353,6 @@ public: /** Removes client from ChunkSender's queue of chunks to be sent */ void RemoveClientFromChunkSender(cClientHandle * a_Client); - /** Touches the chunk, causing it to be loaded or generated */ - void TouchChunk(int a_ChunkX, int a_ChunkZ); - /** Queues the chunk for preparing - making sure that it's generated and lit. The specified chunk is queued to be loaded or generated, and lit if needed. The specified callback is called after the chunk has been prepared. If there's no preparation to do, only the callback is called. @@ -377,10 +374,10 @@ public: /** Set the state of a trapdoor. Returns true if the trapdoor was updated, false if there was no trapdoor at those coords. */ bool SetTrapdoorOpen(int a_BlockX, int a_BlockY, int a_BlockZ, bool a_Open); // tolua_export - /** Regenerate the given chunk: */ + /** Regenerate the given chunk. */ void RegenerateChunk(int a_ChunkX, int a_ChunkZ); // tolua_export - /** Generates the given chunk */ + /** 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 */ |