summaryrefslogtreecommitdiffstats
path: root/src/WorldStorage/WorldStorage.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fixed minecart destruction using deallocated memory.Mattes D2016-12-151-0/+2
|
* Bulk clearing of whitespaceLogicParrot2016-02-051-13/+13
|
* Fixed a race condition between chunk loader and generator.Mattes D2015-10-041-28/+4
| | | | | | 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-1/+1
|
* Fixed log files' timestampsTiger Wang2015-06-141-2/+2
| | | | | Also made Release mode log less technical information about the world storage threads.
* Added a cWorld:PrepareChunk function.Mattes D2014-12-101-14/+44
| | | | | It prepares the chunk - loads or generates it and lights it. The spawn prepare process uses this function.
* En masse NULL -> nullptr replaceTiger Wang2014-10-231-2/+2
|
* Removed WSSCompactTiger Wang2014-09-301-2/+0
|
* WorldStorage no longer queues chunks into generator.Mattes D2014-09-051-16/+7
|
* Rewritten chunk status to specify whether the chunk is in queue.Mattes D2014-09-051-5/+6
| | | | This fixes #1370.
* commitLO1ZB2014-09-031-1/+1
|
* hopefully the last commit for removing y-coord from chunks. :)LO1ZB2014-09-031-1/+1
|
* remove y-coord from chunksLO1ZB2014-08-281-14/+14
|
* Style: Normalized to no spaces before closing parenthesis.madmaxoft2014-07-211-1/+1
|
* Fixed style: spaces after commas.madmaxoft2014-07-191-3/+3
|
* Basic style fixes.madmaxoft2014-07-171-1/+1
|
* 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.
* Removed world-saving log messages.madmaxoft2014-07-041-30/+5
| | | | Ref.: http://forum.mc-server.org/showthread.php?tid=1518
* Fixed a warning and a complaint about a never-read variable.archshift2014-05-111-1/+0
|
* Removed check for enqueuing a chunk that is already enqueued to be loadedTycho2014-04-081-1/+1
| | | | | This remaval is safe as cWorldStorage checks for duplicate chunks when dequeuing and removes an expensive iteration whilst holding the queue lock
* Added user setting compression factorTycho2014-01-171-5/+5
|
* Fixed wrong enqueueing.madmaxoft2014-01-061-2/+9
| | | | Fixes #505.
* fixed a few remaining issues with worldstorageTycho Bickerstaff2014-01-021-18/+3
|
* rewrote queue not to use promises for waitsTycho Bickerstaff2014-01-021-14/+7
|
* refactored chunk Queue to seperate classTycho Bickerstaff2013-12-311-92/+44
|
* Moved source to srcAlexander Harkness2013-11-241-0/+409