summaryrefslogtreecommitdiffstats
path: root/src/Generating/BioGen.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-03-18shared_ptr -> unique_ptr in generatorsTiger Wang1-12/+9
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-04-16Using Super.Mattes D1-18/+24
2019-09-08BiomeGen: Changed to use cChunkCoords params.Mattes D1-18/+25
2017-05-21Clang 5.0 fixesLukas Pioch1-1/+1
- Added override keyword - Removed inherited member variables
2016-02-05Bulk clearing of whitespaceLogicParrot1-36/+36
2015-07-31Unified the doxy-comment format.Mattes D1-22/+19
2015-07-07Fixed warnings generated by 64-bit MSVC.Mattes D1-3/+3
2015-05-19Fixed a lot of warningstycho1-4/+4
2014-11-18Moved all Noise-related files into a separate folder.Mattes D1-1/+1
2014-10-19Generator: Rewritten to use SharedPtrs.Mattes D1-12/+14
2014-09-27BioGen: TwoLevel is now fully settable in INI.madmaxoft1-6/+9
2014-09-05Fixed style.Mattes D1-5/+9
2014-09-03change to linear calculationDayBr3ak1-2/+1
2014-09-03adapting formatDayBr3ak1-2/+6
2014-09-02forgot this oneDayBr3ak1-1/+1
2014-09-02opting for size_tDayBr3ak1-2/+2
2014-09-02changing implem, using vectorsDayBr3ak1-20/+8
2014-09-02adding the multicache behaviorDayBr3ak1-3/+3
2014-09-01added multicache class definitionDayBr3ak1-0/+35
2014-06-20Optimized Voronoi calculation.madmaxoft1-1/+6
Fixes #818.
2013-11-28BiomeVisualiser: Added the TwoLevel biome generator.madmaxoft1-0/+38
2013-11-27Voronoi-related biomegens use the new cVoronoiMap class.madmaxoft1-7/+18
2013-11-24Moved source to srcAlexander Harkness1-0/+0
2013-10-10Generator: Renamed cBiomeGenerator's Initialize() to InitializeBiomeGen().madmaxoft1-6/+6
This will allow initializing generators that implement both cBiomeGenerator and other generators.
2013-05-05Re-worked generator subobject ownership, added a cache for the CompositionGenmadmaxoft@gmail.com1-1/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1447 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-24MultiStepMap BiomeGen: made 3x faster by using 2D noise instead of 3D noise.madmaxoft@gmail.com1-1/+8
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1410 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-24Fixed rounding error in MultiStepMap BioGen, introduced in rev 1289.madmaxoft@gmail.com1-3/+4
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1307 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-19Optimized BioGen-MultiStepMap's performance by using linear interpolation, about 25 % increase in total chunk generation speed.madmaxoft@gmail.com1-1/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1289 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-02-02Moved BioGen parameter reading from cComposableGenrator into each BioGen itselfmadmaxoft@gmail.com1-29/+26
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1190 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
2013-01-24A brand new biome generator: cBioGenMultiStepMap.madmaxoft@gmail.com1-0/+53
Has proper mushroom biome inside ocean, nice transitions between neighboring biomes. Still needs a bit of tweaking, but generally ok. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1164 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-11-20Biome lists can have ":count" in them for adjusting biome occurence rate. Some more error logging.madmaxoft@gmail.com1-0/+1
Idea created at FS #274, http://www.mc-server.org/support/index.php?do=details&task_id=274 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1054 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-06-14Attempt to bring sanity to newlines across systems.cedeel@gmail.com1-171/+171
git-svn-id: http://mc-server.googlecode.com/svn/trunk@606 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-02Added a cBioGenCache object for caching generated biomesmadmaxoft@gmail.com1-0/+36
git-svn-id: http://mc-server.googlecode.com/svn/trunk@537 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-05-31DistortedVoronoi biome generatormadmaxoft@gmail.com1-18/+23
git-svn-id: http://mc-server.googlecode.com/svn/trunk@532 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-05-27Voronoi has a minimum cell size of 4 blocks now, to avoid some extreme corner-casesmadmaxoft@gmail.com1-1/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@512 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-05-27Added a voronoi biome generator (#180)madmaxoft@gmail.com1-0/+28
git-svn-id: http://mc-server.googlecode.com/svn/trunk@511 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-05-27Restructured biome generators with a list of available biomes to use a common ancestor (preparation for Voronoi and DistortedVoronoi)madmaxoft@gmail.com1-9/+25
git-svn-id: http://mc-server.googlecode.com/svn/trunk@508 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-05-27Added the CheckerBoardBiomes parameter for setting biomes that CheckerBoard generates (#179). Added string-to-biome conversion (#183). Added OreNests to default Structures configuration.madmaxoft@gmail.com1-1/+12
git-svn-id: http://mc-server.googlecode.com/svn/trunk@506 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-05-25Merged the composable_generator branch into the trunkmadmaxoft@gmail.com1-0/+75
git-svn-id: http://mc-server.googlecode.com/svn/trunk@504 0a769ca7-a7f5-676a-18bf-c427514a06d6