Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2019-09-06 | Separated chunk generator from world / plugin interfaces. | Mattes D | 1 | -2/+2 | |
The generator now only takes care of servicing synchronous "GetChunk(X, Y)" and "GetBiomes(X, Y)" requests. | |||||
2018-07-26 | CheckBasicStyle: Check number of empty lines between functions (#4267) | peterbell10 | 1 | -2/+0 | |
Add check for number of empty lines between functions and fix the corresponding failures | |||||
2018-07-22 | cIsThread: Reset m_ShouldTerminate after the thread has stopped (#4258) | peterbell10 | 1 | -1/+1 | |
This allows threads to be restarted after stopping. Fixes #4257 | |||||
2018-02-21 | cLightingThread: Faster chunk reading (#4185) | peterbell10 | 1 | -12/+23 | |
Profiled at a 10x speedup for cLightingThread::ReadChunks. | |||||
2017-10-21 | cWorld Threads: Seperate initialization and thread start. | peterbell10 | 1 | -20/+6 | |
Prevents nullptr dereferences before Start has been called. | |||||
2017-09-07 | Lighting now generally consistent with vanilla (#3988) | Alexander Harkness | 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 | |||||
2017-08-02 | Removed double includes (#3885) | Lukas Pioch | 1 | -1/+0 | |
2017-06-20 | Lighting Optimisations (#3785) | peterbell10 | 1 | -69/+23 | |
2017-06-09 | Fixed skylight going down through transparent blocks. | Mattes D | 1 | -1/+12 | |
2016-02-05 | Bulk clearing of whitespace | LogicParrot | 1 | -30/+30 | |
2015-10-04 | Fixed a race condition between chunk loader and generator. | Mattes D | 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. | |||||
2015-07-31 | Unified the doxy-comment format. | Mattes D | 1 | -1/+1 | |
2015-07-29 | Silenced and fixed many warning messages across multiple files. | Samuel Barney | 1 | -12/+12 | |
2015-05-30 | Made cLightingThread own its callbacks | tycho | 1 | -4/+4 | |
2015-05-24 | Made -Weverything an error. | tycho | 1 | -3/+3 | |
2015-01-17 | Fixed CppCheck: (performance) Possible inefficient checking for emptiness. | Kirill Kirilenko | 1 | -1/+1 | |
2014-12-12 | LightingThread: Fixed a memory leak. | Mattes D | 1 | -2/+2 | |
2014-12-10 | Lighting thread: skip chunks that are already lit. | Mattes D | 1 | -0/+10 | |
2014-10-23 | En masse NULL -> nullptr replace | Tiger Wang | 1 | -4/+4 | |
2014-10-20 | En masse NULL -> nullptr replace | Tiger Wang | 1 | -4/+4 | |
2014-08-21 | Added initializers for class members. | Mattes D | 1 | -1/+5 | |
As reported by Coverity, these weren't initialized. | |||||
2014-07-17 | Normalized comments. | madmaxoft | 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. | |||||
2014-07-17 | Fixed basic whitespace problems. | madmaxoft | 1 | -1/+1 | |
Indenting by spaces and alignment by spaces, as well as trailing whitespace on non-empty lines. | |||||
2014-06-16 | Fixed GCC compilation. | madmaxoft | 1 | -1/+1 | |
2014-05-29 | Added comments, reformatted code. | madmaxoft | 1 | -1/+1 | |
2014-05-21 | Renamed cChunkBuffer to cChunkData | Tycho | 1 | -1/+1 | |
2014-05-09 | Lighting thread disabled its chunkstays before deleting them. | Mattes D | 1 | -0/+2 | |
2014-04-26 | Implemented Chunk Sparsing with segments | Tycho | 1 | -7/+4 | |
2014-04-12 | ChunkStay must be disabled while being deleted.ProtoProxy_1.7.2_001 | madmaxoft | 1 | -0/+1 | |
Fixes #758. | |||||
2014-04-12 | Fixed member construction order. | madmaxoft | 1 | -2/+2 | |
2014-04-12 | Lighting reads blocktypes only for blocks under heightmap. | madmaxoft | 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. | |||||
2014-03-10 | Removed Some unnessicary macros | Tycho | 1 | -6/+0 | |
2014-03-01 | g_BlockXXX => cBlockInfo::XXX | andrew | 1 | -2/+2 | |
2014-02-10 | Rewritten Lua ChunkStay API into a single function, cWorld:ChunkStay(). | madmaxoft | 1 | -1/+13 | |
This fixes problems with indeterminate class object lifespan (Lua-GC) and forgetting to disable it or keep it until ready. | |||||
2014-02-08 | Moved a forgotten comment back to its place. | madmaxoft | 1 | -2/+2 | |
2014-02-08 | Fixed lighting thread queueing. | madmaxoft | 1 | -2/+4 | |
2014-02-08 | Initial ChunkStay code. | madmaxoft | 1 | -79/+72 | |
2014-01-07 | More MSVC warning fixes. | madmaxoft | 1 | -1/+1 | |
2013-12-31 | fixed warnings in LightingThread.cpp | Tycho Bickerstaff | 1 | -0/+1 | |
2013-12-31 | take Z axis into account when calculating neighboors in LightingThread::ChunkReady | Tycho Bickerstaff | 1 | -1/+1 | |
2013-11-24 | Moved source to src | Alexander Harkness | 1 | -0/+0 | |
2013-05-09 | Fixed a few out-of-bounds reads | madmaxoft@gmail.com | 1 | -3/+6 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1465 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-05-07 | Replaced MIN / MAX with std::min and std::max | madmaxoft@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1455 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-05-05 | Lighting: Fixed underwater lighting (FS #369) | madmaxoft@gmail.com | 1 | -37/+60 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1444 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-04-13 | Rewritten entities so that they are owned by individual chunks and ticked within their chunk's Tick() | madmaxoft@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1385 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-01-25 | Merged the usable portion of the "gens" branch. | madmaxoft@gmail.com | 1 | -0/+4 | |
Splitting off the Composable generator and fiddling with LuaChunk / ChunkDesc is good, other generators not good yet. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1171 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-11-16 | Fixed crashes caused LightingThread overwriting memory where it shouldn't (yay valgrind!) | madmaxoft@gmail.com | 1 | -3/+3 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1046 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-11-13 | Fixed a valgrind error in lighting thread (uninitialized var value) | madmaxoft | 1 | -0/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1039 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-24 | Source files cleanup: The rest of the files renamed. | madmaxoft@gmail.com | 1 | -2/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@887 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-14 | Attempt to bring sanity to newlines across systems. | cedeel@gmail.com | 1 | -531/+531 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@606 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-05-25 | Merged the composable_generator branch into the trunk | madmaxoft@gmail.com | 1 | -25/+442 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@504 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-10 | Fixed *nix threading issue; | madmaxoft@gmail.com | 1 | -1/+1 | |
Thread objects now use variable names consistent with MCS convention; Fixed a few *nix threading cornercases git-svn-id: http://mc-server.googlecode.com/svn/trunk@392 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-17 | Added the skeleton of the cLightingThread object | madmaxoft@gmail.com | 1 | -0/+114 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@286 0a769ca7-a7f5-676a-18bf-c427514a06d6 |