summaryrefslogtreecommitdiffstats
path: root/src/Generating/CompoGen.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-03-18shared_ptr -> unique_ptr in generatorsTiger Wang1-5/+1
2021-01-26Fix debug macro situation (#5114)Tiger Wang1-2/+2
Use the standard NDEBUG.
2020-05-15Enable some more clang-tidy linter checks (#4738)peterbell101-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
2020-05-09Enable C++17 in buildPeter Bell1-2/+2
2019-09-07CompoGenNether: Fixed different data produced in Linux Release builds.Mattes D1-20/+12
2017-08-03Remove double includes part 2 (#3890)peterbell101-1/+0
2016-04-22Reduced unnecessary block updatesLogicParrot1-2/+2
2016-02-05Bulk clearing of whitespaceLogicParrot1-19/+19
2015-08-24Fix clang compile errorTheo Tosini1-1/+1
Clang would previously fail on debug builds due to the use of an old-style cast.
2015-07-29Silenced and fixed many warning messages across multiple files.Samuel Barney1-8/+8
2015-04-21Changed default MaxThreshold valueSTRWarrior1-1/+1
There is now really a difference between open and dense parts
2015-04-21Calculate threshold for each column in a chunk instead for the whole chunkSTRWarrior1-2/+1
2015-04-20Changed Nether composition to change the threshold from a cubic noiseSTRWarrior1-6/+6
2014-12-01Added better soulsand rimsSTRWarrior1-11/+1
As a finisher called SoulsandRims
2014-11-30Fixed nether ceilingSTRWarrior1-1/+1
2014-11-26Merge remote-tracking branch 'origin-master' into c++11Tiger Wang1-324/+12
2014-11-20Generators: Unified SeaLevel into a single variable.Mattes D1-1/+1
It is shared between shape generators and composition generators and there's no sense in having two different values for those.
2014-11-13Gen refactor: Implemented CompositedHeiGen.Mattes D1-0/+2
This fixes crashes in the Village generator due to the missing generator.
2014-11-12Generator: Shape initial refactoring.Mattes D1-323/+9
The code compiles, but several structure generators are broken, crash on start.
2014-10-23Merged IniFile into main MCS sources.Mattes D1-1/+1
2014-10-23En masse NULL -> nullptr replaceTiger Wang1-2/+2
2014-10-20En masse NULL -> nullptr replaceTiger Wang1-2/+2
2014-10-19Generator: Rewritten to use SharedPtrs.Mattes D1-3/+3
2014-07-29Slight cleanup after portalsTiger Wang1-1/+1
2014-07-27Removed forgotten commentSTRWarrior1-1/+1
2014-07-27Made nether ceiling smooth.STRWarrior1-1/+8
2014-07-27Added a ceiling to disguise the bedrock above it.STRWarrior1-1/+9
2014-07-17Basic style fixes.madmaxoft1-2/+2
2014-07-17Normalized comments.madmaxoft1-6/+6
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-06-19Nullify deleted pointers.archshift1-0/+2
2014-06-07docs/Generator: Added the easy Finishers.madmaxoft1-1/+13
2014-03-21Implemented faster upscaling using templates.madmaxoft1-2/+2
Fixes #819.
2014-01-10Fixed recurring pattern.STRWarrior1-1/+1
2014-01-09Fixed chunk borders.STRWarrior1-3/+3
2014-01-08Speed-up. I got about 40 extra ch/sSTRWarrior1-9/+14
2014-01-08NetherGen: Now generates SoulSand.STRWarrior1-1/+11
2013-11-28Added new biomes to old composition generator.madmaxoft1-0/+90
Mostly placeholders only, true per-biome characteristics still need to be implemented. This is only to test the new biome generators.
2013-11-27Fixed the remaining derpsAlexander Harkness1-1/+1
2013-11-25Further attempts to fix compileTiger Wang1-1/+1
2013-11-24Attempt to fix compilationTiger Wang1-1/+1
2013-11-24Moved source to srcAlexander Harkness1-0/+0
2013-10-11CompoGen and HeiGen read their settings in their respective Initialize() functions.madmaxoft1-18/+70
2013-05-14Noise3D generator is now using linear upscalingmadmaxoft@gmail.com1-2/+2
Measured 30% performance increase. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1482 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-12LinearUpscale: postfixed with InPlace to differentiate from a future src/dst versionmadmaxoft@gmail.com1-2/+2
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1479 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-12Renamed linear interpolation from Noise.h to a more proper LinearUpscale and moved it to a separate file.madmaxoft@gmail.com1-2/+3
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1475 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-05Re-worked generator subobject ownership, added a cache for the CompositionGenmadmaxoft@gmail.com1-0/+96
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1447 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-05Fixed Biomal CompoGen to set heightmap correctly when underwatermadmaxoft@gmail.com1-0/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1446 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-22Fixed underwater sand / dirt generator noise frequencymadmaxoft@gmail.com1-1/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1405 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-22Generator: Added notes of failed optimization attemptsmadmaxoft@gmail.com1-23/+30
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1404 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-19The subgenerators use cChunkDesc instead of raw arrays. cChunkDesc is based on cBlockArea. Initial version of Lakes generator.madmaxoft@gmail.com1-8/+4
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1286 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-17Rewritten generators so that they use the cChunkDesc class (and thus can use cBlockArea merging)madmaxoft@gmail.com1-89/+45
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1282 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-11Initial nether composition generatormadmaxoft@gmail.com1-0/+98
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1266 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-02-16Removed all E_ITEM_ symbols equivalent to E_BLOCK_, and all obsolete item and block symbols.madmaxoft@gmail.com1-1/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1218 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-14Biomal CompoGen now generates sea with STATIONARY_WATER instead of regular WATER.madmaxoft@gmail.com1-2/+2
git-svn-id: http://mc-server.googlecode.com/svn/trunk@962 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-23Source files cleanup: Generating-related files in a separate subfoldermadmaxoft@gmail.com1-1/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@881 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-14Attempt to bring sanity to newlines across systems.cedeel@gmail.com1-427/+427
git-svn-id: http://mc-server.googlecode.com/svn/trunk@606 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-08Biomal CompoGen now correctly produces sand in desert mountains, toomadmaxoft@gmail.com1-1/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@580 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-08Sugarcane and Pumpkins get placed (quite rarely) in the SprinkleSmallFoliage FinishGenmadmaxoft@gmail.com1-9/+11
git-svn-id: http://mc-server.googlecode.com/svn/trunk@576 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-08Configurable classic composition generatorcedeel@gmail.com1-7/+15
git-svn-id: http://mc-server.googlecode.com/svn/trunk@575 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-02Biomal composition gen: added the bedrock layer at the bottommadmaxoft@gmail.com1-4/+5
git-svn-id: http://mc-server.googlecode.com/svn/trunk@542 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-02Added the Biomal composition generator.madmaxoft@gmail.com1-5/+220
git-svn-id: http://mc-server.googlecode.com/svn/trunk@541 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-05-27DebugBiomes composition generator now uses only blocks suitable for terrain (from an internal list)madmaxoft@gmail.com1-1/+28
git-svn-id: http://mc-server.googlecode.com/svn/trunk@510 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-05-25Merged the composable_generator branch into the trunkmadmaxoft@gmail.com1-0/+174
git-svn-id: http://mc-server.googlecode.com/svn/trunk@504 0a769ca7-a7f5-676a-18bf-c427514a06d6