Add emerge.cpp, initial EmergeThread changes
authorkwolekr <mirrorisim@gmail.com>
Thu, 14 Feb 2013 03:43:15 +0000 (22:43 -0500)
committerkwolekr <mirrorisim@gmail.com>
Tue, 26 Feb 2013 03:56:18 +0000 (22:56 -0500)
commitb9d8e59bbf727fcc1a073bbf27e5d1703b9490ef
tree629dba18aab743e66b88858f5385cf4ba36d0328
parent6d0ea26c2d62c3774ff384cf1bfc2a3372b49a3b
Add emerge.cpp, initial EmergeThread changes

- Neatly placed all emerge related code into a new file, emerge.cpp
- Greatly cleaned up the code in EmergeThread::Thread()
- Reworked Emerge queue.  Now an actual std::queue of v3s16 block positions
- Removed the completely unnecessary map of peer ids requesting blocks
12 files changed:
src/CMakeLists.txt
src/emerge.cpp [new file with mode: 0644]
src/emerge.h [new file with mode: 0644]
src/environment.h
src/jthread/jmutex.h
src/map.cpp
src/map.h
src/mapgen.cpp
src/mapgen.h
src/mapgen_v6.cpp
src/server.cpp
src/server.h