summaryrefslogtreecommitdiff
path: root/src/cavegen.h
Commit message (Collapse)AuthorAge
* Cavegen: Fix variable typo that broke mgvalleys large cave distribution (#7249)Paramat2018-06-03
| | | | | | Fix elusive 5 year old bug that caused mgvalleys large caves to be flat and limited to mapchunk borders. Error was fixed 2 years ago in 'CavesV6' but not in 'CavesRandomWalk'.
* Pass clang-format on various cpp/header files (#5559)Loïc Blot2017-04-23
|
* Cavegen/Mgv5/Mgv7: Add optional giant cavernsparamat2017-04-03
| | | | | | | | | | | | | | 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.
* Change internal type for seeds to s32kwolekr2016-06-04
| | | | | This fixes value truncation (and therefore incompatibility) on platforms with an LP32 data model, such as VAX or MS-DOS.
* Cavegen: Move V5-style caves to CavesNoiseIntersectionkwolekr2016-05-27
|
* Cavegen: Minor misc. fixeskwolekr2016-05-27
| | | | | | | - 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
* Cavegen: Re-add small caves to CavesRandomWalkkwolekr2016-05-27
|
* Cavegen: Remove CavesRandomWalk dependency on Mapgenkwolekr2016-05-27
|
* Cavegen: Merge instances of repetitive surface level-finding codekwolekr2016-05-27
|
* Cavegen: Remove CavesV6 dependency on Mapgenkwolekr2016-05-27
|
* Cavegen: Rename CaveV6 to CavesV6kwolekr2016-05-27
| | | | | | | - Add comment explaining why it exists - Remove unused 'flooded' variable - Rename shadowed variable - Fix some code style
* Cavegen: Merge CaveV5 and CaveV7 into CavesRandomWalkkwolekr2016-05-27
|
* Cavegen: Make mgfractal use mgv5 cavegenparamat2015-11-09
| | | | | Remove CaveFractal Add a lava depth constant to CaveV5 to make it universal
* Fractal mapgen: Add seabed and large pseudorandom cavesparamat2015-10-07
|
* Cavegen V6: Make all caves consistent with 0.4.12 stableparamat2015-08-03
| | | | | | | 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.
* Cavegen: Mgv6: No small caves entirely above groundparamat2015-07-19
| | | | | Mgv5/mgv7: Remove 'should make cave hole' feature Remove ravine code
* Cavegen: Cleanup code. Define constant for MGV7_LAVA_DEPTHparamat2015-07-01
|
* Cavegen, mgv5: Cleanup codeparamat2015-03-04
| | | | | Conf.example: Update mgv5 mapgen params Mgv7: Lava caves only below -256
* Mgv5: Remove blobgen. Remove crumble and wetness noisesparamat2015-02-21
| | | | | | Add large pseudorandom caves below -256 De-link terrain level from water_level Cavegen: Mgv5 large cave code
* Shorten ManualMapVoxelManipulator to MMVManipkwolekr2015-01-05
|
* Mapgen V7: Huge rewrite, also tweaks to cavegen et al.kwolekr2013-07-06
|
* Cavegen: Prevent caves from occuring above ground level, and superfluous ↵kwolekr2013-07-01
| | | | mixing of lava and water in caves
* Enhance caves for mgv7, add ravineskwolekr2013-04-27
|
* Class-ify caves & move to cavegen.cpp, fix cave regression, add caves to ↵kwolekr2013-04-21
Mapgen V7