Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Enable some more clang-tidy linter checks (#4738) | peterbell10 | 2020-05-15 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Avoid inefficient AString -> c_str() -> AString round trip * Avoid redundant string init expressions * Avoid unnecessary return, continue, etc. * Add .clang-format to help with clang-tidy fix-its * Avoid unnecessary passing by value * Avoid unnecessary local copying * Avoid copying in range-for loops * Avoid over-complicated boolean expressions * Some violations missed by my local clang-tidy * Allow unnecessary continue statements * Add brackets * Another expression missed locally * Move BindingsProcessor call into clang-tidy.sh and add space * Fix pushd not found error * Different grouping of CheckBlockInteractionRate | ||||
* | ChunkGenerator: Changed to use cChunkCoords. | Mattes D | 2019-09-08 | 1 | -14/+9 |
| | |||||
* | ShapeGen, HeiGen: Changed to use cChunkCoords. | Mattes D | 2019-09-08 | 1 | -23/+19 |
| | |||||
* | BiomeGen: Changed to use cChunkCoords params. | Mattes D | 2019-09-08 | 1 | -1/+1 |
| | |||||
* | Separated chunk generator from world / plugin interfaces. | Mattes D | 2019-09-06 | 1 | -3/+3 |
| | | | | The generator now only takes care of servicing synchronous "GetChunk(X, Y)" and "GetBiomes(X, Y)" requests. | ||||
* | 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 | ||||
* | Remove double includes part 2 (#3890) | peterbell10 | 2017-08-03 | 1 | -1/+0 |
| | |||||
* | Remove redundant heighmap code | peterbell10 | 2017-06-14 | 1 | -23/+1 |
| | |||||
* | Fixed misuse of comma. | Lukas Pioch | 2016-03-18 | 1 | -4/+4 |
| | |||||
* | Fix old style casts and implicit conversions | Matti Hänninen | 2015-08-12 | 1 | -33/+33 |
| | |||||
* | More fixed warnings | tycho | 2015-05-19 | 1 | -2/+5 |
| | |||||
* | More style checking. | Mattes D | 2015-05-09 | 1 | -1/+1 |
| | | | | Spaces around some operators are checked. | ||||
* | Fixed defect #43665 in Coverity list. | Kirill Kirilenko | 2015-01-23 | 1 | -0/+11 |
| | |||||
* | cNoise3DComposable: Fixed unitialized member variables. | Mattes D | 2014-12-21 | 1 | -1/+3 |
| | | | | Fixes CID 43665. | ||||
* | Merge pull request #1555 from mc-server/c++11 | Mattes D | 2014-12-07 | 1 | -1/+0 |
|\ | | | | | C++11 | ||||
| * | Merged branch 'origin/master' into c++11. | Mattes D | 2014-12-04 | 1 | -1/+3 |
| |\ | |||||
| * | | Merge remote-tracking branch 'origin-master' into c++11 | Tiger Wang | 2014-11-26 | 1 | -288/+119 |
| | | | |||||
| * | | Removed unnecessary #includes | Tiger Wang | 2014-11-23 | 1 | -1/+0 |
| | | | |||||
* | | | Reduced river height | STRWarrior | 2014-12-07 | 1 | -2/+2 |
| |/ |/| | | | | | Rivers would exceed the water height quite often | ||||
* | | Noise3D: Fixed missing initialization. | Mattes D | 2014-12-01 | 1 | -1/+3 |
| | | | | | | | | | | This should fix terrain being at Y=0 or Y=255 for the spawn chunk. Fixes #1433. | ||||
* | | Noise3D generator: Enlarged averaging to avoid steep beach slopes. | Mattes D | 2014-11-23 | 1 | -2/+2 |
| | | |||||
* | | BiomalNoise3D generator: finished all biomes. | Mattes D | 2014-11-20 | 1 | -66/+74 |
| | | |||||
* | | Generators: Unified SeaLevel into a single variable. | Mattes D | 2014-11-20 | 1 | -66/+2 |
| | | | | | | | | It is shared between shape generators and composition generators and there's no sense in having two different values for those. | ||||
* | | Merge remote-tracking branch 'origin/master' into GeneratorShapeRefactor | Mattes D | 2014-11-20 | 1 | -38/+160 |
|\| | |||||
| * | cInterpolNoise: Implemented optimized 2D generating. | Mattes D | 2014-11-19 | 1 | -7/+54 |
| | | |||||
| * | Added a cInterpolNoise template for faster noise generator. | Mattes D | 2014-11-18 | 1 | -3/+50 |
| | | | | | | | | Used an instance of it in the Noise3D generator. | ||||
| * | Added cImprovedNoise implementation. | Mattes D | 2014-11-17 | 1 | -33/+4 |
| | | |||||
| * | BiomalNoise3D: Added more biomes. | Mattes D | 2014-11-16 | 1 | -13/+65 |
| | | |||||
| * | Noise3D: Added jungles. | Mattes D | 2014-11-14 | 1 | -0/+2 |
| | | |||||
| * | Noise3D: Added oceans. | Mattes D | 2014-11-13 | 1 | -0/+3 |
| | | |||||
* | | Generator: Shape initial refactoring. | Mattes D | 2014-11-12 | 1 | -155/+42 |
|/ | | | | The code compiles, but several structure generators are broken, crash on start. | ||||
* | BiomalNoise3D: Added a few biomes. | Mattes D | 2014-11-10 | 1 | -5/+8 |
| | |||||
* | Added BiomalNoise3D shape generator. | Mattes D | 2014-11-10 | 1 | -29/+275 |
| | |||||
* | Noise3d Generator: Fixed unused function error. | Mattes D | 2014-11-09 | 1 | -1/+1 |
| | |||||
* | Noise3D generator: rewritten from scratch. | Mattes D | 2014-11-09 | 1 | -71/+106 |
| | | | | Now it uses three 3D and one 2D perlin noises to generate the terrain, and is highly parametrizable. | ||||
* | Merged IniFile into main MCS sources. | Mattes D | 2014-10-23 | 1 | -1/+1 |
| | |||||
* | Made it compile with clang | Chris Darnell | 2014-09-22 | 1 | -2/+2 |
| | |||||
* | CheckBasicStyle: multi-level indent change. | madmaxoft | 2014-08-04 | 1 | -2/+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. | ||||
* | Implemented faster upscaling using templates. | madmaxoft | 2014-03-21 | 1 | -1/+1 |
| | | | | Fixes #819. | ||||
* | Decoupled cChunkGenerator from cWorld and cRoot. | madmaxoft | 2014-01-10 | 1 | -3/+1 |
| | | | | Now the chunk generator can be used by other projects without depending on the two hugest structures in MCS. | ||||
* | Fixed compiler warning when iterating over a fixed array of items (ARRAYCOUNT). | madmaxoft | 2013-12-20 | 1 | -4/+4 |
| | |||||
* | Fixed the remaining derps | Alexander Harkness | 2013-11-27 | 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 | -31/+26 |
| | | | | | Conflicts: GNUmakefile | ||||
* | Moved source to src | Alexander Harkness | 2013-11-24 | 1 | -0/+581 |