Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2015-11-02 | Fix deadlock, resolves #2521 | Alexander Harkness | 1 | -1/+4 | |
2015-10-04 | Fixed a race condition between chunk loader and generator. | Mattes D | 1 | -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. | |||||
2015-05-30 | Made cLightingThread own its callbacks | tycho | 1 | -3/+23 | |
2015-05-30 | Clean up Spawn Prepare | tycho | 1 | -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 |