summaryrefslogtreecommitdiffstats
path: root/src/Generating/BioGen.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-09-27BioGen: TwoLevel is now fully settable in INI.madmaxoft1-38/+22
2014-09-25TwoLevel BioGen: reads params from INI file.madmaxoft1-9/+26
2014-09-17Voronoi biomegen: Added JitterSize and OddRowOffset.madmaxoft1-71/+77
2014-09-05Fixed style.Mattes D1-2/+2
2014-09-03change to linear calculationDayBr3ak1-7/+6
2014-09-03adapting formatDayBr3ak1-3/+4
2014-09-02forgot this oneDayBr3ak1-1/+1
2014-09-02opting for size_tDayBr3ak1-3/+3
2014-09-02fixing memory leakDayBr3ak1-4/+5
2014-09-02changing implem, using vectorsDayBr3ak1-78/+15
2014-09-02adding the multicache behaviorDayBr3ak1-0/+115
2014-07-17Normalized comments.madmaxoft1-9/+9
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-20Optimized Voronoi calculation.madmaxoft1-8/+13
Fixes #818.
2014-06-19Nullify deleted pointers.archshift1-0/+2
2014-05-31Implemented end and nether portalsTiger Wang1-1/+1
2014-05-27Biome generators: biome lists can contain spaces.madmaxoft1-1/+1
2014-03-21Implemented faster upscaling using templates.madmaxoft1-8/+8
Fixes #819.
2014-02-03Fogot to save BiogenTycho1-4/+4
2014-02-03Fixed Compile errorsTycho1-1/+1
c++11 introduces scoped enums, so the code didn't fail in clang
2014-02-03Increased Type safety of BiomesTycho1-5/+5
Changed a number of funcictions from using integers to store biomes to using EMCSBiome Note that switching from an int to an Enum is a non-breaking chang to the lua bindings
2013-12-20Fixed compiler warning when iterating over a fixed array of items (ARRAYCOUNT).madmaxoft1-3/+3
2013-12-08fixed warnings in src/Generating/BioGen.cppTycho Bickerstaff1-1/+1
removed unused variable at src/Generating/BioGen.cpp line 379 and added default fallthrough clause to switch at src/Generating/BioGen.cpp line 725
2013-11-29Fixed CheckerboardBiomeGen in negative coords.madmaxoft1-2/+3
2013-11-28Moved BiomeGen creation from INI file data to BioGen.cpp.madmaxoft1-0/+66
This way it can be shared between MCServer and BiomeVisualiser.
2013-11-28BiomeVisualiser: Added the TwoLevel biome generator.madmaxoft1-0/+191
2013-11-27Voronoi-related biomegens use the new cVoronoiMap class.madmaxoft1-46/+10
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-10Generator: Renamed cBiomeGenerator's Initialize() to InitializeBiomeGen().madmaxoft1-11/+11
This will allow initializing generators that implement both cBiomeGenerator and other generators.
2013-05-14Noise3D generator is now using linear upscalingmadmaxoft@gmail.com1-6/+6
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-6/+6
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-6/+7
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-1/+0
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-19/+24
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-10/+19
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-5/+10
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-1/+62
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1190 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-01-24A brand new biome generator: cBioGenMultiStepMap.madmaxoft@gmail.com1-0/+301
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-2/+24
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-11-15More valgrind fixesmadmaxoft@gmail.com1-2/+2
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1044 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-23Source files cleanup: Generating-related files in a separate subfoldermadmaxoft@gmail.com1-0/+0
git-svn-id: http://mc-server.googlecode.com/svn/trunk@881 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-29DistortedVoronoi BiomeGen now uses 4x4 linear interpolation for distortion, 50 % speed increase in the chunk generator with a hardly noticeable change in biome shapes.madmaxoft@gmail.com1-3/+14
git-svn-id: http://mc-server.googlecode.com/svn/trunk@708 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-29BiomeGen: cca 3% speedupmadmaxoft@gmail.com1-2/+2
git-svn-id: http://mc-server.googlecode.com/svn/trunk@706 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-14Attempt to bring sanity to newlines across systems.cedeel@gmail.com1-293/+293
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/+90
git-svn-id: http://mc-server.googlecode.com/svn/trunk@537 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-05-31DistortedVoronoi biome generatormadmaxoft@gmail.com1-17/+41
git-svn-id: http://mc-server.googlecode.com/svn/trunk@532 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-05-27Added a voronoi biome generator (#180)madmaxoft@gmail.com1-0/+57
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-2/+5
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-4/+34
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/+89
git-svn-id: http://mc-server.googlecode.com/svn/trunk@504 0a769ca7-a7f5-676a-18bf-c427514a06d6