summaryrefslogtreecommitdiffstats
path: root/src/Noise/Noise.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-11-18Moved all Noise-related files into a separate folder.Mattes D1-29/+14
2014-11-18Refactored cRidgedNoise into a separate template.Mattes D1-64/+2
This allows us to make the ridges out of any noise and to combine the cRidgedNoise with cOctavedNoise.
2014-11-17Added cOctavedNoise template.Mattes D1-84/+14
This allows us to use any noise generator in the combination of octaves.
2014-11-17Added cImprovedNoise implementation.Mattes D1-5/+100
2014-10-23En masse NULL -> nullptr replaceTiger Wang1-6/+6
2014-10-21Alignment.Alexander Harkness1-6/+6
2014-10-20En masse NULL -> nullptr replaceTiger Wang1-6/+6
2014-07-27Added a missing include for abs(float).madmaxoft1-0/+6
2014-07-27RoughRavines: Made floor and ceiling settings-adjustable.madmaxoft1-0/+6
The world.ini has settings for the minimum and maximum height for each at the ravines' center and edges.
2014-07-17Normalized comments.madmaxoft1-2/+2
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-07-17Fixed basic whitespace problems.madmaxoft1-1/+1
Indenting by spaces and alignment by spaces, as well as trailing whitespace on non-empty lines.
2014-06-09Added cRidgedMultiNoise, fixed cPerlinNoise.madmaxoft1-0/+64
2014-05-01Fixed a warning in Noise.madmaxoft1-1/+1
2014-04-04Changed cNoise seed to signed.madmaxoft1-3/+3
2013-11-24Moved source to srcAlexander Harkness1-0/+0
2013-05-15Moved noise debugging into the Noise.* filesmadmaxoft@gmail.com1-0/+10
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1485 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-59/+0
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1475 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-24Noise: Removed the reference to Noise.incmadmaxoft@gmail.com1-8/+0
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1408 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-22Noise: Implemented 2D Perlin noise, removed unused parameters.madmaxoft@gmail.com1-14/+50
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1402 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-17Noise: removed the unused SSE branches and unused interpolation methods. Removed the Noise.inc file.madmaxoft@gmail.com1-46/+132
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1391 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-17Making float the default datatype for noise calculation (it's faster on ARM and same-speed on x86)madmaxoft@gmail.com1-1/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1390 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-16Implemented the new cCubicNoise in 2Dmadmaxoft@gmail.com1-5/+106
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1387 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-24Fixed rounding error in MultiStepMap BioGen, introduced in rev 1289.madmaxoft@gmail.com1-0/+48
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1307 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-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-0/+11
git-svn-id: http://mc-server.googlecode.com/svn/trunk@708 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-22Noise: made interpolation methods public static, so that they can be used by the outside world as wellmadmaxoft@gmail.com1-3/+5
git-svn-id: http://mc-server.googlecode.com/svn/trunk@692 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-14Attempt to bring sanity to newlines across systems.cedeel@gmail.com1-81/+81
git-svn-id: http://mc-server.googlecode.com/svn/trunk@606 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-05-25Merged the composable_generator branch into the trunkmadmaxoft@gmail.com1-0/+5
git-svn-id: http://mc-server.googlecode.com/svn/trunk@504 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-02-22Noise function optimization (chunk generation now about 1.5x faster :)madmaxoft@gmail.com1-2/+18
git-svn-id: http://mc-server.googlecode.com/svn/trunk@317 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-12-26Made some functions in cChunk and cNoise inline, this should significantly increase chunk generation speedfaketruth1-7/+29
git-svn-id: http://mc-server.googlecode.com/svn/trunk@115 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-10-25Using SSE instructions for noise (terrain generation)faketruth1-0/+5
Unfortunately the noise functions is only like 7% faster, so you won't even notice git-svn-id: http://mc-server.googlecode.com/svn/trunk@9 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-10-03MCServer c++ source filesfaketruth1-0/+33
git-svn-id: http://mc-server.googlecode.com/svn/trunk@3 0a769ca7-a7f5-676a-18bf-c427514a06d6