summaryrefslogtreecommitdiffstats
path: root/src/LightingThread.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Silenced and fixed many warning messages across multiple files.Samuel Barney2015-07-291-12/+12
|
* Made cLightingThread own its callbackstycho2015-05-301-4/+4
|
* Made -Weverything an error.tycho2015-05-241-3/+3
|
* Fixed CppCheck: (performance) Possible inefficient checking for emptiness.Kirill Kirilenko2015-01-171-1/+1
|
* LightingThread: Fixed a memory leak.Mattes D2014-12-121-2/+2
|
* Lighting thread: skip chunks that are already lit.Mattes D2014-12-101-0/+10
|
* En masse NULL -> nullptr replaceTiger Wang2014-10-231-4/+4
|
* Added initializers for class members.Mattes D2014-08-211-1/+5
| | | | As reported by Coverity, these weren't initialized.
* 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.
* Fixed basic whitespace problems.madmaxoft2014-07-171-1/+1
| | | | Indenting by spaces and alignment by spaces, as well as trailing whitespace on non-empty lines.
* Fixed GCC compilation.madmaxoft2014-06-161-1/+1
|
* Merge pull request #883 from mc-server/CutOffLightingworktycho2014-06-161-14/+78
|\ | | | | Lighting reads blocktypes only for blocks under heightmap.
| * Fixed member construction order.madmaxoft2014-04-121-2/+2
| |
| * Lighting reads blocktypes only for blocks under heightmap.madmaxoft2014-04-121-14/+78
| | | | | | | | | | | | 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.
* | Added comments, reformatted code.madmaxoft2014-05-291-1/+1
| |
* | Renamed cChunkBuffer to cChunkDataTycho2014-05-211-1/+1
| |
* | Merge branch 'master' into chunksparsing/structsTycho2014-05-101-0/+2
|\ \ | | | | | | | | | | | | Conflicts: src/Chunk.h
| * | Lighting thread disabled its chunkstays before deleting them.Mattes D2014-05-091-0/+2
| | |
* | | Merge branch 'master' into chunksparsing/structsTycho2014-04-271-0/+1
|\| | | | | | | | | | | | | | | | | Conflicts: src/Chunk.cpp src/Chunk.h
| * | ChunkStay must be disabled while being deleted.ProtoProxy_1.7.2_001madmaxoft2014-04-121-0/+1
| |/ | | | | | | Fixes #758.
* / Implemented Chunk Sparsing with segmentsTycho2014-04-261-7/+4
|/
* Removed Some unnessicary macrosTycho2014-03-101-6/+0
|
* g_BlockXXX => cBlockInfo::XXXandrew2014-03-011-2/+2
|
* Rewritten Lua ChunkStay API into a single function, cWorld:ChunkStay().madmaxoft2014-02-101-1/+13
| | | | This fixes problems with indeterminate class object lifespan (Lua-GC) and forgetting to disable it or keep it until ready.
* Moved a forgotten comment back to its place.madmaxoft2014-02-081-2/+2
|
* Fixed lighting thread queueing.madmaxoft2014-02-081-2/+4
|
* Initial ChunkStay code.madmaxoft2014-02-081-79/+72
|
* More MSVC warning fixes.madmaxoft2014-01-071-1/+1
|
* fixed warnings in LightingThread.cppTycho Bickerstaff2013-12-311-0/+1
|
* take Z axis into account when calculating neighboors in LightingThread::ChunkReadyTycho Bickerstaff2013-12-311-1/+1
|
* Moved source to srcAlexander Harkness2013-11-241-0/+562