summaryrefslogtreecommitdiffstats
path: root/src/Generating/BioGen.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-07-13Switched from using std::max(std::min()) to using ClampSamuel Barney1-2/+2
2015-07-09Fixed misplaced parensSamuel Barney1-2/+2
2015-07-09Fixes compilation failures on MacOSX 10.10Samuel Barney1-42/+42
* Replace old c-style casts with c++ casts * Added `-Wno-error=old-style-cast` to Protocol18x.cpp
2015-07-07Fixed warnings generated by 64-bit MSVC.Mattes D1-2/+2
2015-05-24Fix commentstycho1-2/+2
2015-05-19Fixed a lot of warningstycho1-16/+16
2015-03-11Changed pipeline character from >> to |tycho1-14/+14
2015-03-10Fixed Sequence Generator for IntGenTycho1-3/+3
2015-03-01Fixed StyleTycho1-1/+1
Still fails CheckBasicStyle.lua dua to issue with rvalue references and templates
2015-03-01Added pipelining syntax for generatorsTycho1-15/+15
2015-03-01Added Steppy height generator.Mattes D1-1/+1
2015-01-27Replaced atoi() with StringToInteger().Mattes D1-2/+1
2015-01-23Fixed defect #73101 in Coverity list.Kirill Kirilenko1-1/+13
2014-11-03Fixed a missing endline.Mattes D1-1/+5
2014-11-03Added a (disabled) perf test for biome generators.Mattes D1-0/+46
2014-11-02Grown biomes: Unified with GrownProt biomes.Mattes D1-43/+61
Also fixed a Zoom filter randomness.
2014-11-01GrownProt: Added the rest of rare and M biomes.Mattes D1-1/+10
2014-11-01GrownProt biome gen: Added biome edges.Mattes D1-2/+3
2014-10-31GrownProt biomes: added alterations.Mattes D1-26/+30
2014-10-30QtBiomeVisualiser: Added a prototyping int generator flavor.Mattes D1-13/+111
This generator is easier to manipulate, since it doesn't require rewriting the sizes in the template parameters. On the other hand, it doesn't optimize so well, so it's a bit slower.
2014-10-29Grown biomes: made biomes smaller, made beaches smaller.Mattes D1-11/+8
2014-10-27Removed too advanced C++11 features.Mattes D1-1/+1
We need to keep gcc 4.6 compatibility; these features were not implemented in that version yet.
2014-10-26BioGenGrown: Smaller biomes, add land to map center.Mattes D1-4/+2
2014-10-26Added new biomegen: GrownMattes D1-0/+93
2014-10-23Merged IniFile into main MCS sources.Mattes D1-1/+1
2014-10-23En masse NULL -> nullptr replaceTiger Wang1-3/+3
2014-10-20En masse NULL -> nullptr replaceTiger Wang1-3/+3
2014-10-19TwoLevel BioGen: fixed swapped inside and outside biomes.Mattes D1-1/+1
2014-10-19Generator: Rewritten to use SharedPtrs.Mattes D1-24/+11
2014-10-16BioGen: Fixed a compiler warning.Mattes D1-2/+2
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