diff options
author | LaG1924 <12997935+LaG1924@users.noreply.github.com> | 2017-04-23 15:39:59 +0200 |
---|---|---|
committer | LaG1924 <12997935+LaG1924@users.noreply.github.com> | 2017-04-21 15:39:59 +0200 |
commit | d46f3a7180afdb5213afc80c97ae5fc8db43248a (patch) | |
tree | 2e00ab460474084042176d71df3f6f2cee8d3d63 /World.hpp | |
parent | 2017-04-21 (diff) | |
download | AltCraft-d46f3a7180afdb5213afc80c97ae5fc8db43248a.tar AltCraft-d46f3a7180afdb5213afc80c97ae5fc8db43248a.tar.gz AltCraft-d46f3a7180afdb5213afc80c97ae5fc8db43248a.tar.bz2 AltCraft-d46f3a7180afdb5213afc80c97ae5fc8db43248a.tar.lz AltCraft-d46f3a7180afdb5213afc80c97ae5fc8db43248a.tar.xz AltCraft-d46f3a7180afdb5213afc80c97ae5fc8db43248a.tar.zst AltCraft-d46f3a7180afdb5213afc80c97ae5fc8db43248a.zip |
Diffstat (limited to 'World.hpp')
-rw-r--r-- | World.hpp | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -19,15 +19,15 @@ private: //utility vars World(const World& other); World&operator=(const World &other); - //utility methods + bool isContinue=true; + std::mutex m_parseSectionMutex; + std::condition_variable m_parseSectionWaiter; std::thread m_sectionParseThread; std::queue<std::map<PositionI,Section>::iterator> m_sectionToParse; + //utility methods + void SectionParsingThread(); //game vars int m_dimension = 0; //game methods - std::mutex m_parseSectionMutex; - std::condition_variable m_parseSectionWaiter; Section ParseSection(byte *data, size_t &dataLen); - void SectionParsingThread(); - bool isContinue=true; };
\ No newline at end of file |