summaryrefslogtreecommitdiffstats
path: root/src/LightingThread.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Clang 5.0 fixesLukas Pioch2017-05-211-1/+1
| | | | | - Added override keyword - Removed inherited member variables
* Bulk clearing of whitespaceLogicParrot2016-02-051-30/+30
|
* Fixed a race condition between chunk loader and generator.Mattes D2015-10-041-1/+2
| | | | | | 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.
* Silenced and fixed many warning messages across multiple files.Samuel Barney2015-07-291-4/+4
|
* Made cLightingThread own its callbackstycho2015-05-301-3/+3
|
* En masse NULL -> nullptr replaceTiger Wang2014-10-231-1/+1
|
* Fixed basic whitespace problems.madmaxoft2014-07-171-4/+4
| | | | Indenting by spaces and alignment by spaces, as well as trailing whitespace on non-empty lines.
* Lighting reads blocktypes only for blocks under heightmap.madmaxoft2014-04-121-2/+9
| | | | | | This should theoretically speed it up, since less data is copied back and forth. Also implemented a possibly more cache-friendly blocklight starter algorithm (PrepareBlockLight2()), is disabled by default, needs perf testing.
* Removed unneeded asserts.madmaxoft2014-04-031-2/+0
|
* Fixed a few clang warnings.madmaxoft2014-03-301-3/+3
|
* g_BlockXXX => cBlockInfo::XXXandrew2014-03-011-2/+2
|
* fixed globals.h warningsTycho2014-02-231-1/+5
|
* Rewritten Lua ChunkStay API into a single function, cWorld:ChunkStay().madmaxoft2014-02-101-1/+2
| | | | This fixes problems with indeterminate class object lifespan (Lua-GC) and forgetting to disable it or keep it until ready.
* Initial ChunkStay code.madmaxoft2014-02-081-34/+42
|
* Fixed compiler warnings in LightingThread.cpp.madmaxoft2013-12-011-2/+2
|
* Moved source to srcAlexander Harkness2013-11-241-0/+181