aboutsummaryrefslogtreecommitdiff
path: root/src/mapgen_fractal.cpp
AgeCommit message (Collapse)Author
2016-04-12Mgv7, mgflat, mgfractal: Tunnel generation code optimisationparamat
2016-04-08Mapgen: Optimise cave noises and tunnel excavationparamat
Instead of doing nothing at node_max.Y + 1 use 1-down overgeneration for tunnel generation and noisemaps Move some old unused code in mgv7 to end of file
2016-03-21Mgv7/flat/fractal: Stop tunnel-floor biome nodes being placed everywhereparamat
A bool for 'in or under tunnel' was missing 1-node-deep stone ledges were being replaced with biome surface material
2016-03-14Mapgen: Fix light in tunnels at mapchunk bordersparamat
Don't excavate the overgenerated stone at node_max.Y + 1, this creates a 'roof' over the tunnel, preventing light in tunnels at mapchunk borders when generating mapchunks upwards.
2016-02-09FindSpawnPos: Let mapgens decide what spawn altitude is suitableparamat
To avoid spawn search failing in new specialised mapgens Increase spawn search range to 4000 nodes Add getSpawnLevelAtPoint() functions to EmergeManager, class Mapgen and all mapgens Remove getGroundLevelAtPoint() functions from all mapgens except mgv6 (possibly to be re-added later in the correct form to return actual ground level) Make mgvalleys flag names consistent with other mapgens Remove now unused 'vertical spawn range' setting
2016-02-02Mgv5/v7/flat/fractal: Move tunnel noise calculation into generateCavesparamat
Tunnel 3D noises are only calculated when solid terrain is present in mapchunk, avoiding large amounts of unnecessary calculations Change 'int' to 's16' in calculateNoise Change 'i' to 'vi' for voxelmanip indexes for consistency Keep 'u32 index3d' local to a smaller part of tunnel code Mgv7: Don't call CaveV7 if no solid terrain in mapchunk Give 'open' bool a more descriptive name
2016-01-14Mgv7/flat/fractal: Place biome top node on tunnel entrance floorparamat
2015-12-15Mgfractal: Add 3D and 4D fractalsparamat
3D Mandelbrot/Mandelbar 3D Christmas Tree 3D Mandelbulb 3D Cosine Mandelbulb 4D Mandelbulb Plus corresponding julia set for each Add credits for formulas Rename parameter 'formula' to 'fractal' Speed optimisations
2015-12-02Mgv5/v7/flat/fractal: More large pseudorandom cavesparamat
Mgv7/flat/fractal: Reduce tunnel noise spreads to 96
2015-11-23Mgfractal: Move julia set selection into formula parameterparamat
Improve default parameters Update and improve documentation Unhide mapgen, but is still unstable
2015-11-21Mapgen: Add global 'decorations' flagparamat
Flag is set by default in MapgenParams The global 'trees' flag remains but is now undocumented and unset by default in MapgenParams Add mgv6_spflag 'trees' set by default in defaultsettings.cpp to affect new worlds only This is automatically backwards compatible for existing worlds
2015-11-15Mgfractal: Revert unnecessary duplication of parametersparamat
2015-11-14Mgfractal: Create a choice of 4 mandelbrot formulasparamat
2015-11-09Cavegen: Make mgfractal use mgv5 cavegenparamat
Remove CaveFractal Add a lava depth constant to CaveV5 to make it universal
2015-10-29Mgfractal: Add filler depth noiseparamat
2015-10-24Mgfractal: Independent iterations and scale parametersparamat
Complete set of parameters for each of mandelbrot and julia sets The julia set structure often needs different iterations and scale
2015-10-11Mgfractal: Independant offset and slice params for mandelbrot and juliaparamat
Player now spawns on julia set due to julia offset Add commented-out '#include profiler.h' for timetaker use Use v3fs to reduce number of parameters Tune tunnel width to match mgv7
2015-10-10Fractal mapgen: Fix mysterious bugparamat
2015-10-07Fractal mapgen: Add seabed and large pseudorandom cavesparamat
2015-10-06Mapgen: Add 4D fractal mapgenparamat