summaryrefslogtreecommitdiffstats
path: root/src/ChunkSender.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fixed a race condition between chunk loader and generator.Mattes D2015-10-041-1/+1
| | | | | | When using ChunkWorx to generate multiple chunks, the server would sometimes fail an assert because it would generate a chunk even when it was successfully loaded. This was caused by chunks queued in cWorld's m_SetChunkDataQueue and thus being marked as "InQueue" although they were already loaded. Solved by adding a new parameter to chunk coord callbacks specifying whether the operation succeeded or failed, and using that instead of the chunk presence flag to decide whether to generate or not.
* Unified the doxy-comment format.Mattes D2015-07-311-3/+14
|
* Fixed minor errors in Tycho's codeTiger Wang2015-06-221-38/+26
| | | | Everything should work now :)
* Reinstate "Chunk queue collapsing"Tiger Wang2015-06-101-142/+100
| | | | | This reinstates commit f36acb683594daff5af3971dcbe3c3a171628b78 and reverts commit adfbc42c021e1bcfcb355933c0fd784306ce0e18.
* Revert "Chunk queue collapsing"worktycho2015-06-071-100/+142
|
* Fix iteratingtycho2015-06-051-3/+1
|
* Made the list of chunks to stream an unordered_settycho2015-06-051-4/+4
| | | | This should increase performance of chunk streaming
* Rewrote ChunkSending queue for significantly improved performancetycho2015-06-051-143/+74
|
* Moved Chunk Broadcasts over to the regular queuetycho2015-06-051-58/+87
|
* Made cLightingThread own its callbackstycho2015-05-301-7/+16
|
* Made -Weverything an error.tycho2015-05-241-1/+1
|
* Make -Werror disabling file onlytycho2015-05-191-4/+0
| | | | Ad fix a load of warnings
* Forgotten m_SendChunksMediumPriority.empty() check.Howaner2014-10-281-1/+1
|
* Use 3 priorities.Howaner2014-10-231-4/+40
|
* Merge branch 'master' into ChunkLoaderHowaner2014-10-231-8/+8
|\ | | | | | | | | | | | | Conflicts: src/ChunkSender.cpp src/ClientHandle.cpp src/World.h
| * En masse NULL -> nullptr replaceTiger Wang2014-10-231-8/+8
| |
* | style.Howaner2014-10-211-1/+2
| |
* | Use two lists and 2 chunk send prioritys.Howaner2014-10-211-13/+35
| |
* | Stream 4 chunks per tick. Added priority.Howaner2014-10-061-4/+9
| |
* | Optimized chunk loaderHowaner2014-10-021-12/+9
|/
* Removed more unessicary includesTycho2014-09-261-0/+1
|
* remove y-coord from chunksLO1ZB2014-08-281-7/+7
|
* Normalized comments.madmaxoft2014-07-171-2/+2
| | | | | This was mostly done automatically and then visually inspected for obvious errors. All //-style comments should have a 2-space separation from the code, and 1 space after the comment sign.
* ChunkSender is now warnings cleanTycho Bickerstaff2013-12-211-1/+1
|
* Fixed the rest of constructor reorders.madmaxoft2013-12-201-2/+2
|
* Fixed compiler warning when iterating over a fixed array of items (ARRAYCOUNT).madmaxoft2013-12-201-1/+1
|
* Moved source to srcAlexander Harkness2013-11-241-0/+295