summaryrefslogtreecommitdiffstats
path: root/World.hpp
diff options
context:
space:
mode:
authorLaG1924 <12997935+LaG1924@users.noreply.github.com>2017-04-23 15:39:59 +0200
committerLaG1924 <12997935+LaG1924@users.noreply.github.com>2017-04-21 15:39:59 +0200
commitd46f3a7180afdb5213afc80c97ae5fc8db43248a (patch)
tree2e00ab460474084042176d71df3f6f2cee8d3d63 /World.hpp
parent2017-04-21 (diff)
downloadAltCraft-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.hpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/World.hpp b/World.hpp
index ac3433b..89873b6 100644
--- a/World.hpp
+++ b/World.hpp
@@ -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