diff options
author | peterbell10 <peterbell10@live.co.uk> | 2017-09-22 17:55:42 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2017-10-21 19:33:22 +0200 |
commit | 1537ebed6fa880ca8f9df92e5ac99324375b91a5 (patch) | |
tree | 0f141da47761e94a64331584b3924b9436777f51 /src/Generating/ChunkGenerator.h | |
parent | Fix tool builds on AppleClang (diff) | |
download | cuberite-1537ebed6fa880ca8f9df92e5ac99324375b91a5.tar cuberite-1537ebed6fa880ca8f9df92e5ac99324375b91a5.tar.gz cuberite-1537ebed6fa880ca8f9df92e5ac99324375b91a5.tar.bz2 cuberite-1537ebed6fa880ca8f9df92e5ac99324375b91a5.tar.lz cuberite-1537ebed6fa880ca8f9df92e5ac99324375b91a5.tar.xz cuberite-1537ebed6fa880ca8f9df92e5ac99324375b91a5.tar.zst cuberite-1537ebed6fa880ca8f9df92e5ac99324375b91a5.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Generating/ChunkGenerator.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Generating/ChunkGenerator.h b/src/Generating/ChunkGenerator.h index cbbe1d1c7..c4be505da 100644 --- a/src/Generating/ChunkGenerator.h +++ b/src/Generating/ChunkGenerator.h @@ -33,7 +33,7 @@ class cChunkDesc; class cChunkGenerator : - cIsThread + public cIsThread { typedef cIsThread super; @@ -110,7 +110,9 @@ public: cChunkGenerator (void); virtual ~cChunkGenerator() override; - bool Start(cPluginInterface & a_PluginInterface, cChunkSink & a_ChunkSink, cIniFile & a_IniFile); + /** Read settings from the ini file and initialize in preperation for being started. */ + bool Initialize(cPluginInterface & a_PluginInterface, cChunkSink & a_ChunkSink, cIniFile & a_IniFile); + void Stop(void); /** Queues the chunk for generation |