aboutsummaryrefslogtreecommitdiff
path: root/src/cavegen.h
AgeCommit message (Collapse)Author
2017-11-08Move files to subdirectories (#6599)Vitaliy
* Move files around
2017-08-17C++ modernize: Pragma once (#6264)Loïc Blot
* Migrate cpp headers to pragma once
2017-06-22LINT fixLoïc Blot
2017-06-22CavesRandomWalk: Make 'lava_depth' a mapgen parameterparamat
As with 'large_cave_depth', lava depth was previously a fixed y value and therefore incompatible with the ability to shift terrain vertically. Add 'lava_depth' mapgen parameter to mgflat, mgfractal, mgv5, mgv7.
2017-04-23Pass clang-format on various cpp/header files (#5559)Loïc Blot
2017-04-03Cavegen/Mgv5/Mgv7: Add optional giant cavernsparamat
Add to MapgenBasic for use by multiple mapgens. Add to mgv5 and mgv7, enabled by default. Similar to mgvalleys caverns but half the scale. Parameters for upper y limit, distance caverns taper to full size, and noise threshold (full cavern size). As with mgvalleys caverns are generated first and classic caves are disabled in any mapchunk containing a cavern, to avoid excessive spreading volumes of liquids. This also avoids floating blobs of liquid where a large classic cave has overgenerated out into a neighbouring previously-generated mapchunk.
2016-06-04Change internal type for seeds to s32kwolekr
This fixes value truncation (and therefore incompatibility) on platforms with an LP32 data model, such as VAX or MS-DOS.
2016-05-27Cavegen: Move V5-style caves to CavesNoiseIntersectionkwolekr
2016-05-27Cavegen: Minor misc. fixeskwolekr
- Convert instances of numeric literal doubles to floats - Move dswitchint to a local variable now that being a member is unnecessary - Improve const correctness - Indentation fixes
2016-05-27Cavegen: Re-add small caves to CavesRandomWalkkwolekr
2016-05-27Cavegen: Remove CavesRandomWalk dependency on Mapgenkwolekr
2016-05-27Cavegen: Merge instances of repetitive surface level-finding codekwolekr
2016-05-27Cavegen: Remove CavesV6 dependency on Mapgenkwolekr
2016-05-27Cavegen: Rename CaveV6 to CavesV6kwolekr
- Add comment explaining why it exists - Remove unused 'flooded' variable - Rename shadowed variable - Fix some code style
2016-05-27Cavegen: Merge CaveV5 and CaveV7 into CavesRandomWalkkwolekr
2015-11-09Cavegen: Make mgfractal use mgv5 cavegenparamat
Remove CaveFractal Add a lava depth constant to CaveV5 to make it universal
2015-10-07Fractal mapgen: Add seabed and large pseudorandom cavesparamat
2015-08-03Cavegen V6: Make all caves consistent with 0.4.12 stableparamat
When tunnels entirely above ground were avoided, the missing pseudorandom calls changed the allowed caves. Now, above ground tunnels are not placed while still running all previous pseudorandom calls.
2015-07-19Cavegen: Mgv6: No small caves entirely above groundparamat
Mgv5/mgv7: Remove 'should make cave hole' feature Remove ravine code
2015-07-01Cavegen: Cleanup code. Define constant for MGV7_LAVA_DEPTHparamat
2015-03-04Cavegen, mgv5: Cleanup codeparamat
Conf.example: Update mgv5 mapgen params Mgv7: Lava caves only below -256
2015-02-21Mgv5: Remove blobgen. Remove crumble and wetness noisesparamat
Add large pseudorandom caves below -256 De-link terrain level from water_level Cavegen: Mgv5 large cave code
2015-01-05Shorten ManualMapVoxelManipulator to MMVManipkwolekr
2013-07-06Mapgen V7: Huge rewrite, also tweaks to cavegen et al.kwolekr
2013-07-01Cavegen: Prevent caves from occuring above ground level, and superfluous ↵kwolekr
mixing of lava and water in caves
2013-04-27Enhance caves for mgv7, add ravineskwolekr
2013-04-21Class-ify caves & move to cavegen.cpp, fix cave regression, add caves to ↵kwolekr
Mapgen V7