summaryrefslogtreecommitdiffstats
path: root/src/Generating/Noise3DGenerator.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Enable some more clang-tidy linter checks (#4738)peterbell102020-05-151-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 D2019-09-081-14/+9
|
* ShapeGen, HeiGen: Changed to use cChunkCoords.Mattes D2019-09-081-23/+19
|
* BiomeGen: Changed to use cChunkCoords params.Mattes D2019-09-081-1/+1
|
* Separated chunk generator from world / plugin interfaces.Mattes D2019-09-061-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)peterbell102018-07-261-0/+1
| | | | Add check for number of empty lines between functions and fix the corresponding failures
* Remove double includes part 2 (#3890)peterbell102017-08-031-1/+0
|
* Remove redundant heighmap codepeterbell102017-06-141-23/+1
|
* Fixed misuse of comma.Lukas Pioch2016-03-181-4/+4
|
* Fix old style casts and implicit conversionsMatti Hänninen2015-08-121-33/+33
|
* More fixed warningstycho2015-05-191-2/+5
|
* More style checking.Mattes D2015-05-091-1/+1
| | | | Spaces around some operators are checked.
* Fixed defect #43665 in Coverity list.Kirill Kirilenko2015-01-231-0/+11
|
* cNoise3DComposable: Fixed unitialized member variables.Mattes D2014-12-211-1/+3
| | | | Fixes CID 43665.
* Merge pull request #1555 from mc-server/c++11Mattes D2014-12-071-1/+0
|\ | | | | C++11
| * Merged branch 'origin/master' into c++11.Mattes D2014-12-041-1/+3
| |\
| * | Merge remote-tracking branch 'origin-master' into c++11Tiger Wang2014-11-261-288/+119
| | |
| * | Removed unnecessary #includesTiger Wang2014-11-231-1/+0
| | |
* | | Reduced river heightSTRWarrior2014-12-071-2/+2
| |/ |/| | | | | Rivers would exceed the water height quite often
* | Noise3D: Fixed missing initialization.Mattes D2014-12-011-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 D2014-11-231-2/+2
| |
* | BiomalNoise3D generator: finished all biomes.Mattes D2014-11-201-66/+74
| |
* | Generators: Unified SeaLevel into a single variable.Mattes D2014-11-201-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 GeneratorShapeRefactorMattes D2014-11-201-38/+160
|\|
| * cInterpolNoise: Implemented optimized 2D generating.Mattes D2014-11-191-7/+54
| |
| * Added a cInterpolNoise template for faster noise generator.Mattes D2014-11-181-3/+50
| | | | | | | | Used an instance of it in the Noise3D generator.
| * Added cImprovedNoise implementation.Mattes D2014-11-171-33/+4
| |
| * BiomalNoise3D: Added more biomes.Mattes D2014-11-161-13/+65
| |
| * Noise3D: Added jungles.Mattes D2014-11-141-0/+2
| |
| * Noise3D: Added oceans.Mattes D2014-11-131-0/+3
| |
* | Generator: Shape initial refactoring.Mattes D2014-11-121-155/+42
|/ | | | The code compiles, but several structure generators are broken, crash on start.
* BiomalNoise3D: Added a few biomes.Mattes D2014-11-101-5/+8
|
* Added BiomalNoise3D shape generator.Mattes D2014-11-101-29/+275
|
* Noise3d Generator: Fixed unused function error.Mattes D2014-11-091-1/+1
|
* Noise3D generator: rewritten from scratch.Mattes D2014-11-091-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 D2014-10-231-1/+1
|
* Made it compile with clangChris Darnell2014-09-221-2/+2
|
* CheckBasicStyle: multi-level indent change.madmaxoft2014-08-041-2/+3
|
* 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.
* Implemented faster upscaling using templates.madmaxoft2014-03-211-1/+1
| | | | Fixes #819.
* Decoupled cChunkGenerator from cWorld and cRoot.madmaxoft2014-01-101-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).madmaxoft2013-12-201-4/+4
|
* Fixed the remaining derpsAlexander Harkness2013-11-271-1/+1
|
* Further attempts to fix compileTiger Wang2013-11-251-1/+1
|
* Attempt to fix compilationTiger Wang2013-11-241-1/+1
|
* Merge remote-tracking branch 'origin/master' into foldermove2Alexander Harkness2013-11-241-31/+26
| | | | | Conflicts: GNUmakefile
* Moved source to srcAlexander Harkness2013-11-241-0/+581