summaryrefslogtreecommitdiffstats
path: root/src/SpawnPrepare.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Replaced cpp14::make_unique<> with std::make_unique<>.Mattes D2020-08-011-2/+2
|
* Separated chunk generator from world / plugin interfaces.Mattes D2019-09-061-2/+2
| | | | The generator now only takes care of servicing synchronous "GetChunk(X, Y)" and "GetBiomes(X, Y)" requests.
* CheckBasicStyle: Check number of empty lines between functions (#4267)peterbell102018-07-261-2/+0
| | | | Add check for number of empty lines between functions and fix the corresponding failures
* Potential spawn prepare fix (#3924)peterbell102017-08-221-9/+10
|
* Bulk clearing of whitespaceLogicParrot2016-02-051-1/+1
|
* Fix race conditiontycho2015-12-201-1/+1
|
* Fix deadlock, resolves #2521Alexander Harkness2015-11-021-1/+4
|
* 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.
* Made cLightingThread own its callbackstycho2015-05-301-3/+23
|
* Clean up Spawn Preparetycho2015-05-301-0/+105
Made cSpawnPrepare execute on the same thread since it is a syncronous operation, and most of the code happens on the lighting thread. Also moved cSpawnPrepare into its own file