Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | CheckBasicStyle: Check number of empty lines between functions (#4267) | peterbell10 | 2018-07-26 | 1 | -2/+0 |
| | | | | Add check for number of empty lines between functions and fix the corresponding failures | ||||
* | cIsThread: Reset m_ShouldTerminate after the thread has stopped (#4258) | peterbell10 | 2018-07-22 | 1 | -1/+1 |
| | | | | | This allows threads to be restarted after stopping. Fixes #4257 | ||||
* | cLightingThread: Faster chunk reading (#4185) | peterbell10 | 2018-02-21 | 1 | -12/+23 |
| | | | | Profiled at a 10x speedup for cLightingThread::ReadChunks. | ||||
* | cWorld Threads: Seperate initialization and thread start. | peterbell10 | 2017-10-21 | 1 | -20/+6 |
| | | | | Prevents nullptr dereferences before Start has been called. | ||||
* | Lighting now generally consistent with vanilla (#3988) | Alexander Harkness | 2017-09-07 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | * Lighting now generally consistent with vanilla Skylight is now dispersed by some blocks, instead of passing through unimpeded. Some blocks which were not marked as transparent are now marked as such. Water and other such blocks now attenuate light with the correct intensity. Generally changes were based on documentation in the Minecraft Wiki: https://minecraft.gamepedia.com/Opacity#On_block_light , however during play-testing on vanilla lava was found not to attenuate sky or block-light so the attenuation was removed. This fixes #3849 * Add API documentation for IsSkylightDispersant * Rename m_SkylightDispersant to m_IsSkylightDispersant * Update comment for m_Transparent property of Blocks | ||||
* | Removed double includes (#3885) | Lukas Pioch | 2017-08-02 | 1 | -1/+0 |
| | |||||
* | Lighting Optimisations (#3785) | peterbell10 | 2017-06-20 | 1 | -69/+23 |
| | |||||
* | Fixed skylight going down through transparent blocks. | Mattes D | 2017-06-09 | 1 | -1/+12 |
| | |||||
* | Bulk clearing of whitespace | LogicParrot | 2016-02-05 | 1 | -30/+30 |
| | |||||
* | Fixed a race condition between chunk loader and generator. | Mattes D | 2015-10-04 | 1 | -3/+3 |
| | | | | | | 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 D | 2015-07-31 | 1 | -1/+1 |
| | |||||
* | Silenced and fixed many warning messages across multiple files. | Samuel Barney | 2015-07-29 | 1 | -12/+12 |
| | |||||
* | Made cLightingThread own its callbacks | tycho | 2015-05-30 | 1 | -4/+4 |
| | |||||
* | Made -Weverything an error. | tycho | 2015-05-24 | 1 | -3/+3 |
| | |||||
* | Fixed CppCheck: (performance) Possible inefficient checking for emptiness. | Kirill Kirilenko | 2015-01-17 | 1 | -1/+1 |
| | |||||
* | LightingThread: Fixed a memory leak. | Mattes D | 2014-12-12 | 1 | -2/+2 |
| | |||||
* | Lighting thread: skip chunks that are already lit. | Mattes D | 2014-12-10 | 1 | -0/+10 |
| | |||||
* | En masse NULL -> nullptr replace | Tiger Wang | 2014-10-23 | 1 | -4/+4 |
| | |||||
* | Added initializers for class members. | Mattes D | 2014-08-21 | 1 | -1/+5 |
| | | | | As reported by Coverity, these weren't initialized. | ||||
* | Normalized comments. | madmaxoft | 2014-07-17 | 1 | -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. | madmaxoft | 2014-07-17 | 1 | -1/+1 |
| | | | | Indenting by spaces and alignment by spaces, as well as trailing whitespace on non-empty lines. | ||||
* | Fixed GCC compilation. | madmaxoft | 2014-06-16 | 1 | -1/+1 |
| | |||||
* | Merge pull request #883 from mc-server/CutOffLighting | worktycho | 2014-06-16 | 1 | -14/+78 |
|\ | | | | | Lighting reads blocktypes only for blocks under heightmap. | ||||
| * | Fixed member construction order. | madmaxoft | 2014-04-12 | 1 | -2/+2 |
| | | |||||
| * | Lighting reads blocktypes only for blocks under heightmap. | madmaxoft | 2014-04-12 | 1 | -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. | madmaxoft | 2014-05-29 | 1 | -1/+1 |
| | | |||||
* | | Renamed cChunkBuffer to cChunkData | Tycho | 2014-05-21 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'master' into chunksparsing/structs | Tycho | 2014-05-10 | 1 | -0/+2 |
|\ \ | | | | | | | | | | | | | Conflicts: src/Chunk.h | ||||
| * | | Lighting thread disabled its chunkstays before deleting them. | Mattes D | 2014-05-09 | 1 | -0/+2 |
| | | | |||||
* | | | Merge branch 'master' into chunksparsing/structs | Tycho | 2014-04-27 | 1 | -0/+1 |
|\| | | | | | | | | | | | | | | | | | Conflicts: src/Chunk.cpp src/Chunk.h | ||||
| * | | ChunkStay must be disabled while being deleted.ProtoProxy_1.7.2_001 | madmaxoft | 2014-04-12 | 1 | -0/+1 |
| |/ | | | | | | | Fixes #758. | ||||
* / | Implemented Chunk Sparsing with segments | Tycho | 2014-04-26 | 1 | -7/+4 |
|/ | |||||
* | Removed Some unnessicary macros | Tycho | 2014-03-10 | 1 | -6/+0 |
| | |||||
* | g_BlockXXX => cBlockInfo::XXX | andrew | 2014-03-01 | 1 | -2/+2 |
| | |||||
* | Rewritten Lua ChunkStay API into a single function, cWorld:ChunkStay(). | madmaxoft | 2014-02-10 | 1 | -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. | madmaxoft | 2014-02-08 | 1 | -2/+2 |
| | |||||
* | Fixed lighting thread queueing. | madmaxoft | 2014-02-08 | 1 | -2/+4 |
| | |||||
* | Initial ChunkStay code. | madmaxoft | 2014-02-08 | 1 | -79/+72 |
| | |||||
* | More MSVC warning fixes. | madmaxoft | 2014-01-07 | 1 | -1/+1 |
| | |||||
* | fixed warnings in LightingThread.cpp | Tycho Bickerstaff | 2013-12-31 | 1 | -0/+1 |
| | |||||
* | take Z axis into account when calculating neighboors in LightingThread::ChunkReady | Tycho Bickerstaff | 2013-12-31 | 1 | -1/+1 |
| | |||||
* | Moved source to src | Alexander Harkness | 2013-11-24 | 1 | -0/+562 |