Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ChunkGenerator: Changed to use cChunkCoords. | Mattes D | 2019-09-08 | 1 | -1/+1 |
| | |||||
* | Moved the generator defaults to ComposableGenerator. | Mattes D | 2019-09-06 | 1 | -0/+2 |
| | |||||
* | Separated chunk generator from world / plugin interfaces. | Mattes D | 2019-09-06 | 1 | -278/+15 |
| | | | | The generator now only takes care of servicing synchronous "GetChunk(X, Y)" and "GetBiomes(X, Y)" requests. | ||||
* | Force all headers other than "Globals.h" to be included with relative paths (#4269) | peterbell10 | 2018-08-29 | 1 | -2/+2 |
| | | | | | | | Closes #4236 CMake now creates a header file in the build directory under the path "include/Globals.h" which just includes "src/Globals.h" with an absolute path. Then instead of adding "src/" to the include directories, it adds "include/". #include "Globals.h" still works by including the build generated file and any other src-relative path will not work. | ||||
* | CheckBasicStyle: Check number of empty lines between functions (#4267) | peterbell10 | 2018-07-26 | 1 | -0/+1 |
| | | | | 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 | ||||
* | Add the fmt library (#4065) | peterbell10 | 2018-01-03 | 1 | -1/+1 |
| | | | | | | | * Replaces AppendVPrintf with fmt::sprintf * fmt::ArgList now used as a type safe alternative to varargs. * Removed SIZE_T_FMT compatibility macros. fmt::sprintf is fully portable and supports %zu. * Adds FLOG functions to log with fmt's native formatting style. | ||||
* | cWorld: Move Initialization from Start to the constructor. | peterbell10 | 2017-10-21 | 1 | -3/+2 |
| | | | | Start now does nothing more than launch the world's threads. | ||||
* | FastRandom rewrite (#3754) | peterbell10 | 2017-06-13 | 1 | -2/+1 |
| | |||||
* | Removed asserts about chunk queued. | Mattes D | 2017-01-19 | 1 | -1/+0 |
| | | | | The assumption is not needed and was invalid under a stress-test. | ||||
* | Reduced unnecessary block updates | LogicParrot | 2016-04-22 | 1 | -4/+4 |
| | |||||
* | Bulk clearing of whitespace | LogicParrot | 2016-02-05 | 1 | -1/+1 |
| | |||||
* | Fixed a race condition between chunk loader and generator. | Mattes D | 2015-10-04 | 1 | -6/+6 |
| | | | | | | 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 | -2/+2 |
| | |||||
* | Silenced and fixed many warning messages across multiple files. | Samuel Barney | 2015-07-29 | 1 | -3/+3 |
| | |||||
* | More style checking. | Mattes D | 2015-05-09 | 1 | -2/+2 |
| | | | | Spaces around some operators are checked. | ||||
* | Added a cWorld:PrepareChunk function. | Mattes D | 2014-12-10 | 1 | -22/+25 |
| | | | | | It prepares the chunk - loads or generates it and lights it. The spawn prepare process uses this function. | ||||
* | Merged branch 'origin/master' into c++11. | Mattes D | 2014-12-04 | 1 | -3/+3 |
|\ | |||||
| * | Fixed BlockStringToType return value. | Mattes D | 2014-11-27 | 1 | -3/+3 |
| | | | | | | | | -1 was not a valid BLOCKTYPE and would not be recognized by the callers, ever. | ||||
* | | Merged branch 'master' into c++11. | Mattes D | 2014-10-24 | 1 | -1/+1 |
|\| | |||||
| * | Merged IniFile into main MCS sources. | Mattes D | 2014-10-23 | 1 | -1/+1 |
| | | |||||
| * | En masse NULL -> nullptr replace | Tiger Wang | 2014-10-23 | 1 | -9/+9 |
| | | |||||
* | | En masse NULL -> nullptr replace | Tiger Wang | 2014-10-20 | 1 | -9/+9 |
| | | |||||
* | | Migrated random generators to std::random | Tiger Wang | 2014-10-19 | 1 | -1/+1 |
|/ | |||||
* | WorldStorage no longer queues chunks into generator. | Mattes D | 2014-09-05 | 1 | -0/+2 |
| | |||||
* | Rewritten chunk status to specify whether the chunk is in queue. | Mattes D | 2014-09-05 | 1 | -1/+2 |
| | | | | This fixes #1370. | ||||
* | ChunkGenerator: Log world seed when creating a new one. | madmaxoft | 2014-09-03 | 1 | -3/+14 |
| | |||||
* | re-add the missing "s" too cChunkCoordsWithBoolList | LO1ZB | 2014-09-03 | 1 | -1/+1 |
| | |||||
* | hopefully the last commit for removing y-coord from chunks. :) | LO1ZB | 2014-09-03 | 1 | -6/+12 |
| | |||||
* | fix possibility of a twice generated chunk | LO1ZB | 2014-09-01 | 1 | -1/+2 |
| | |||||
* | fix chunk regenerating | LO1ZB | 2014-08-29 | 1 | -8/+0 |
| | |||||
* | remove y-coord from chunks | LO1ZB | 2014-08-28 | 1 | -7/+7 |
| | |||||
* | Added initializers for class members. | Mattes D | 2014-08-21 | 1 | -0/+1 |
| | | | | As reported by Coverity, these weren't initialized. | ||||
* | Merge remote-tracking branch 'origin/master' into portals | Tiger Wang | 2014-07-22 | 1 | -2/+2 |
|\ | | | | | | | | | | | | | | | Conflicts: src/Chunk.cpp src/Entities/Player.cpp src/Root.cpp src/World.cpp | ||||
| * | Style: Normalized to no spaces before closing parenthesis. | madmaxoft | 2014-07-21 | 1 | -1/+1 |
| | | |||||
| * | Fixed style: spaces after commas. | madmaxoft | 2014-07-19 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'master' into portals | Tiger Wang | 2014-07-18 | 1 | -5/+5 |
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/Blocks/WorldInterface.h src/ClientHandle.cpp src/ClientHandle.h src/Entities/Player.cpp src/Entities/Player.h src/Generating/FinishGen.cpp src/Protocol/Protocol.h src/Protocol/Protocol125.cpp src/Protocol/Protocol125.h src/Protocol/Protocol16x.cpp src/Protocol/Protocol16x.h src/Protocol/Protocol17x.cpp src/Protocol/Protocol17x.h src/Protocol/ProtocolRecognizer.cpp src/Protocol/ProtocolRecognizer.h src/Root.h src/World.cpp | ||||
| * | Fixed tabs used for alignment. | madmaxoft | 2014-07-17 | 1 | -3/+3 |
| | | |||||
| * | 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. | ||||
* | | Suggestions | Tiger Wang | 2014-06-05 | 1 | -1/+1 |
|/ | |||||
* | Added additional macros to support the MSVC size_t format and changed all formats to use the macros | Tycho | 2014-03-12 | 1 | -1/+1 |
| | |||||
* | Fixed a load of format string errors | Tycho | 2014-03-11 | 1 | -2/+2 |
| | |||||
* | Mob bugfixes | Tiger Wang | 2014-01-25 | 1 | -0/+2 |
| | | | | | | | | | | * Mobs no longer require constant line-of-sight to a player to remain aggravated * Fixed an ASSERT * Fixed mobs jumping * Fixed Idle state not properly using AI + Added FILE_IO_PREFIX to favicon loading + Implemented #563 | ||||
* | Fixed a generator bug | Tiger Wang | 2014-01-25 | 1 | -1/+6 |
| | |||||
* | Decoupled cChunkGenerator from cWorld and cRoot. | madmaxoft | 2014-01-10 | 1 | -29/+19 |
| | | | | Now the chunk generator can be used by other projects without depending on the two hugest structures in MCS. | ||||
* | Moved bindings-related to a Bindings subfolder. | madmaxoft | 2013-12-08 | 1 | -1/+1 |
| | | | | Ref.: #407 | ||||
* | Fixed the remaining derps | Alexander Harkness | 2013-11-27 | 1 | -1/+1 |
| | |||||
* | Hopefully fixed last of the Linux compile errors | Tiger Wang | 2013-11-26 | 1 | -1/+1 |
| | |||||
* | Further attempts to fix compile | Tiger Wang | 2013-11-25 | 1 | -1/+1 |
| | |||||
* | Attempt to fix compilation | Tiger Wang | 2013-11-24 | 1 | -1/+1 |
| | |||||
* | Merge remote-tracking branch 'origin/master' into foldermove2 | Alexander Harkness | 2013-11-24 | 1 | -18/+18 |
| | | | | | Conflicts: GNUmakefile | ||||
* | Moved source to src | Alexander Harkness | 2013-11-24 | 1 | -0/+329 |