summaryrefslogtreecommitdiffstats
path: root/src/Generating/FinishGen.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-04-12Fixed generator for the Mega Taiga biome (#5129)12xx121-0/+12
* Fixed generator for small foliage.
2021-01-11zlib -> libdeflate (#5085)Tiger Wang1-3/+2
+ Use libdeflate + Use std::byte * Fix passing temporary to string_view + Emulate make_unique_for_overwrite
2020-11-14Fix flower and foliage generation (#4723)mBornand1-31/+5
* fix flower generation - remove wrong mushroom and flower generation + add "tiny" mushrooms in Mushrooms biomes + add "tiny" mushrooms in Mega Taiga and variants + add tulip generation for plains biomes * Turn numbers into constants - Remove duplication of grass generation - Remove fern in inappropriate biomes * added roofed forest flowers to ini file * fixed crash with biMesaPlateuM + Use empty() + Emplace directly + Avoid a string copy in BiomeName + Alias BiomeIndex to avoid multiple casts Co-authored-by: 12xx12 <12xx12100@gmail.com> Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com>
2020-05-16Upgrade to C++17 [CMake] (#4717)Tiger Wang1-0/+2
* Make our CMake slightly less insane
2020-05-15Enable some more clang-tidy linter checks (#4738)peterbell101-2/+2
* 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-04-16Using Super.Mattes D1-4/+7
2018-05-03Generate cacti and sugarcane with different heights (#4137)Cocosushi61-4/+14
When generating foliage, create cacti with height in the interval [1; MaxCactusHeight] and sugarcane with height in [1; MaxSugarcaneHeight] (with MaxCactusHeight and MaxSugarcaneHeight declared in world.ini) Fixes #4135
2017-09-18cFinishGenPreSimulator: Preserve sand meta (#4025)peterbell101-4/+1
Fixes #1516.
2016-08-14Implemented OverworldClumpFlowersNiLSPACE1-0/+74
2016-02-05Bulk clearing of whitespaceLogicParrot1-1/+1
2015-11-25OrePockets finisher is now configurable.Mattes D1-5/+15
2015-11-25Added OrePockets and DirtPockets finish gens.Mattes D1-0/+166
2015-07-31Unified the doxy-comment format.Mattes D1-9/+10
2015-04-19GlowStone: Changed order of initialization of member variablesSTRWarrior1-2/+2
2015-04-19Added GlowStone finisherSTRWarrior1-0/+22
2015-03-01Removed trailing whitespaceSTRWarrior1-1/+1
2015-02-28Made the minimum vine level configurableSTRWarrior1-2/+4
2015-02-28Implemented a vines finisher that creates vines in jungle biomesSTRWarrior1-0/+21
2014-12-05FinishGenPassiveMobs: Cosmetic changes.Mattes D1-7/+11
2014-12-04format blocks and randomizingp-mcgowan1-1/+0
2014-12-04last doxy fixp-mcgowan1-3/+3
2014-12-04awful comment fixing, randomizer fixp-mcgowan1-8/+8
2014-12-03clearing CheckBasicStyle.lua messagesp-mcgowan1-15/+15
2014-12-03class description and doxy-commentingp-mcgowan1-2/+5
2014-12-03doxy-commentingp-mcgowan1-3/+3
2014-12-02fastRandom unusedp-mcgowan1-1/+0
2014-12-02animal terrain finisherp-mcgowan1-12/+12
2014-12-02animal terrain finisherp-mcgowan1-0/+29
2014-12-02reformat for lua and CIp-mcgowan1-1/+1
2014-12-02formatting and commenting fixesp-mcgowan1-2/+2
2014-12-01cacti no longer spawn outside of desert variantsp-mcgowan1-0/+3
2014-12-01Added better soulsand rimsSTRWarrior1-0/+19
As a finisher called SoulsandRims
2014-11-18Moved all Noise-related files into a separate folder.Mattes D1-1/+1
2014-07-30PreSimulator: Added configurations.STRWarrior1-1/+6
You can now choose if it should pregenerate something or not
2014-07-30Fixed FinishGen.h types.madmaxoft1-2/+2
2014-07-30Changed size_t to 'unsigned long'Howaner1-2/+2
2014-07-30Fixed compile error with clang.Howaner1-2/+2
2014-07-29Some finishing touchesSTRWarrior1-1/+1
Removed whitespace fixed dead bush comment
2014-07-29SingleTopBlock: All blocktypes and biometypes get initialized properlySTRWarrior1-2/+14
2014-07-28Using suggestionsSTRWarrior1-25/+20
2014-07-28Renamed cFinishGenSingleBiomeSingleTopBlock to cFinishGenSingleTopBlockSTRWarrior1-10/+40
Now accepts a vector of biomes and a vector of allowed blocks.
2014-07-23TallGrass: Less grass on mountains.STRWarrior1-0/+11
2014-07-21Fixed indentationSTRWarrior1-12/+12
2014-07-20Changed CubicNoiseXX to IntNoiseXXSTRWarrior1-13/+13
Added some comments
2014-07-20Renamed cFinishGenFoliage to cFinishGenTallGrassSTRWarrior1-5/+4
Better grass density Added double tall grass.
2014-07-20Fixed warningsSTRWarrior1-3/+3
2014-07-20First attempt for a new foliage finisherSTRWarrior1-0/+38
2014-07-17Fixed tabs used for alignment.madmaxoft1-1/+1
2014-01-18Fixed errors.STRWarrior1-1/+1
2014-01-18Renamed cFinishGenNetherSprinkleFoliage to cFinishGenNetherClumpFoliage. Fixed typo'sSTRWarrior1-2/+2
2014-01-17First attempt at creating a clumb version NetherFinisher.STRWarrior1-0/+1
2014-01-10Decoupled cChunkGenerator from cWorld and cRoot.madmaxoft1-1/+1
Now the chunk generator can be used by other projects without depending on the two hugest structures in MCS.
2014-01-10Added cFinishGenNetherSprinkleFoliage.STRWarrior1-0/+22
2013-11-24Moved source to srcAlexander Harkness1-0/+0
2013-03-19The subgenerators use cChunkDesc instead of raw arrays. cChunkDesc is based on cBlockArea. Initial version of Lakes generator.madmaxoft@gmail.com1-5/+1
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-106/+33
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1282 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-14Added water and lava springs.madmaxoft@gmail.com1-0/+37
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1269 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-01-25Merged the usable portion of the "gens" branch.madmaxoft@gmail.com1-1/+1
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-11Added DeadBushes finisher (initial patch by STR_Warrior; DeathBushes FTW!)madmaxoft@gmail.com1-1/+34
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1037 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-21cFinishGenPreSimulator sets correct fluid type (stationary in the middle, flowing on chunk borders / holes next to water.madmaxoft@gmail.com1-1/+12
git-svn-id: http://mc-server.googlecode.com/svn/trunk@999 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-21Added the first part of the PreSimulator finisher, drops floating sand and gravel to ground.madmaxoft@gmail.com1-0/+29
git-svn-id: http://mc-server.googlecode.com/svn/trunk@998 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-24Source files cleanup: The rest of the files renamed.madmaxoft@gmail.com1-1/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@887 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-23Source files cleanup: Generating-related files in a separate subfoldermadmaxoft@gmail.com1-2/+2
git-svn-id: http://mc-server.googlecode.com/svn/trunk@881 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-27Removed bottom lava from caves generator, added a new finish generator BottomLava for that. Also fixed a slight error in SameBlock composition generator cfgmadmaxoft@gmail.com1-0/+30
git-svn-id: http://mc-server.googlecode.com/svn/trunk@698 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-03Added a lilypad finishermadmaxoft@gmail.com1-0/+32
git-svn-id: http://mc-server.googlecode.com/svn/trunk@647 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-14Attempt to bring sanity to newlines across systems.cedeel@gmail.com1-90/+90
git-svn-id: http://mc-server.googlecode.com/svn/trunk@606 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-08Sugarcane and Pumpkins get placed (quite rarely) in the SprinkleSmallFoliage FinishGenmadmaxoft@gmail.com1-1/+9
git-svn-id: http://mc-server.googlecode.com/svn/trunk@576 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-05-25Merged the composable_generator branch into the trunkmadmaxoft@gmail.com1-0/+82
git-svn-id: http://mc-server.googlecode.com/svn/trunk@504 0a769ca7-a7f5-676a-18bf-c427514a06d6