summaryrefslogtreecommitdiffstats
path: root/src/LightingThread.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2015-10-04 14:06:37 +0200
committerMattes D <github@xoft.cz>2015-10-04 14:06:37 +0200
commit9da404ea2db52dd4a5d9d0a5ca1736fd7e2e10bf (patch)
tree06ae98c7848c29b812b50b91ab4b2cbb49cd6e13 /src/LightingThread.h
parentMerge pull request #2519 from cuberite/RemoveStyleCheckFromTravis (diff)
downloadcuberite-9da404ea2db52dd4a5d9d0a5ca1736fd7e2e10bf.tar
cuberite-9da404ea2db52dd4a5d9d0a5ca1736fd7e2e10bf.tar.gz
cuberite-9da404ea2db52dd4a5d9d0a5ca1736fd7e2e10bf.tar.bz2
cuberite-9da404ea2db52dd4a5d9d0a5ca1736fd7e2e10bf.tar.lz
cuberite-9da404ea2db52dd4a5d9d0a5ca1736fd7e2e10bf.tar.xz
cuberite-9da404ea2db52dd4a5d9d0a5ca1736fd7e2e10bf.tar.zst
cuberite-9da404ea2db52dd4a5d9d0a5ca1736fd7e2e10bf.zip
Diffstat (limited to 'src/LightingThread.h')
-rw-r--r--src/LightingThread.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/LightingThread.h b/src/LightingThread.h
index b18ac7799..138c40002 100644
--- a/src/LightingThread.h
+++ b/src/LightingThread.h
@@ -60,7 +60,8 @@ public:
void Stop(void);
- /** Queues the entire chunk for lighting */
+ /** Queues the entire chunk for lighting.
+ The callback, if specified, is called after the lighting has been processed. */
void QueueChunk(int a_ChunkX, int a_ChunkZ, std::unique_ptr<cChunkCoordCallback> a_CallbackAfter);
/** Blocks until the queue is empty or the thread is terminated */