summaryrefslogtreecommitdiffstats
path: root/src/Generating/HeiGen.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-08-12Fix old style casts and implicit conversionsMatti Hänninen1-15/+15
2015-07-31Unified the doxy-comment format.Mattes D1-1/+1
2015-07-07Fixed warnings generated by 64-bit MSVC.Mattes D1-10/+10
2015-05-24Fix commentstycho1-1/+1
2015-05-19More fixed warningstycho1-1/+4
2015-05-19Fixed a lot of warningstycho1-21/+5
2015-05-09More style checking.Mattes D1-1/+1
Spaces around some operators are checked.
2015-03-01Steppy HeiGen: Fixed Linux compilation.Mattes D1-1/+1
2015-03-01Added Steppy height generator.Mattes D1-0/+64
2014-11-26Merge remote-tracking branch 'origin-master' into c++11Tiger Wang1-25/+67
2014-11-13Gen refactor: Implemented CompositedHeiGen.Mattes D1-0/+45
This fixes crashes in the Village generator due to the missing generator.
2014-11-12Generator: Shape initial refactoring.Mattes D1-25/+22
The code compiles, but several structure generators are broken, crash on start.
2014-11-10Added BiomalNoise3D shape generator.Mattes D1-0/+4
2014-11-04MinMax heigen: Reduced the number of octaves.Mattes D1-2/+0
They didn't affect the terrain that much anyway.
2014-11-04Added MinMax height generator.Mattes D1-0/+207
Fixes #1578.
2014-11-03HeiGen: Moved construction to the end of file.Mattes D1-75/+75
This will allow us to define generators in the cpp file instead of needing them in the header, thus speeding up compilation on changes.
2014-10-27Comment alignment.Alexander Harkness1-4/+4
2014-10-27CheckBasicStyle'dAlexander Harkness1-14/+14
2014-10-27Fixed more warnings.Alexander Harkness1-14/+14
It's ugly though.
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-19Mountain height gen: Added ditches.Mattes D1-7/+14
2014-10-19Generator: Rewritten to use SharedPtrs.Mattes D1-6/+6
2014-08-21Added initializers for class members.Mattes D1-1/+7
As reported by Coverity, these weren't initialized.
2014-08-18SwamplandM: Fixed sometimes having no mountains.STRWarrior1-1/+1
2014-08-02Added proper trees and height for SwamplandM biomeSTRWarrior1-1/+1
2014-07-21Style: Normalized to no spaces before closing parenthesis.madmaxoft1-1/+1
2014-07-18Fixed spaces before commas.madmaxoft1-2/+2
2014-07-17Basic style fixes.madmaxoft1-1/+1
2014-07-17Normalized comments.madmaxoft1-7/+7
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-11Revert "Initial Mesa Bryce implementation."madmaxoft1-89/+0
This reverts commit 1ff1a93866ab81e3868588a256f446a902a1a8c4.
2014-06-10Initial Mesa Bryce implementation.madmaxoft1-0/+89
2014-06-09Added an experimental height generator, Mountains.madmaxoft1-0/+66
2014-03-21Implemented faster upscaling using templates.madmaxoft1-1/+1
Fixes #819.
2014-01-10Fixed generator adding values to ini file.madmaxoft1-0/+1
2014-01-09Height generator creating moved info HeiGen.cpp.madmaxoft1-0/+73
The generator also explicitly sets the default back into the INI file.
2013-12-20Fixed compiler warning when iterating over a fixed array of items (ARRAYCOUNT).madmaxoft1-2/+2
2013-11-29Implemented mesa biomes in DistortedHeightmap CompoGen.madmaxoft1-2/+2
2013-11-28Added new biomes to old height generators.madmaxoft1-29/+97
Now Biomal and DistortedHeight generators will work with new biomes.
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-11/+47
2013-05-14Noise3D generator is now using linear upscalingmadmaxoft@gmail.com1-1/+1
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-1/+1
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-1/+2
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1475 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-06DistortedHeightmap: Small optimizations, memory leak fix.madmaxoft@gmail.com1-0/+17
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1449 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-05-05Added the DistortedHeightmap height and composition generator.madmaxoft@gmail.com1-0/+2
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1445 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-22HeiGenBiomal: interpolate in 4x4 blocks on float valuesmadmaxoft@gmail.com1-14/+16
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1406 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-22Generator: Added notes of failed optimization attemptsmadmaxoft@gmail.com1-0/+6
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1404 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-20HeiGenBiomal: added a fast but ugly-looking optimization, disabled by default.madmaxoft@gmail.com1-0/+25
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1292 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-01-25Adjusted Biomal height generator to have less hills in the rivers.madmaxoft@gmail.com1-21/+21
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1165 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-06-14Attempt to bring sanity to newlines across systems.cedeel@gmail.com1-302/+302
git-svn-id: http://mc-server.googlecode.com/svn/trunk@606 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-02Fixed Linux compilation complaining about min() and max(), hopefully forever. Use std::min() and std::max()madmaxoft@gmail.com1-1/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@539 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-02Added a cHeiGenCache object for caching generated heightmaps. World generation is now about twice as fast as before Rev 535 :)madmaxoft@gmail.com1-0/+90
git-svn-id: http://mc-server.googlecode.com/svn/trunk@538 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-02Added the Biomal height generator, made it the default height generator.madmaxoft@gmail.com1-0/+121
git-svn-id: http://mc-server.googlecode.com/svn/trunk@536 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-05-25Merged the composable_generator branch into the trunkmadmaxoft@gmail.com1-0/+91
git-svn-id: http://mc-server.googlecode.com/svn/trunk@504 0a769ca7-a7f5-676a-18bf-c427514a06d6