| Commit message (Collapse) | Author | Age |
|
|
|
| |
* Move files around
|
|
|
|
| |
* Migrate cpp headers to pragma once
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
This fixes value truncation (and therefore incompatibility) on platforms
with an LP32 data model, such as VAX or MS-DOS.
|
| |
|
|
|
|
|
|
|
| |
- 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
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
- Add comment explaining why it exists
- Remove unused 'flooded' variable
- Rename shadowed variable
- Fix some code style
|
| |
|
|
|
|
|
| |
Remove CaveFractal
Add a lava depth constant to CaveV5 to make it universal
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Mgv5/mgv7: Remove 'should make cave hole' feature
Remove ravine code
|
| |
|
|
|
|
|
| |
Conf.example: Update mgv5 mapgen params
Mgv7: Lava caves only below -256
|
|
|
|
|
|
| |
Add large pseudorandom caves below -256
De-link terrain level from water_level
Cavegen: Mgv5 large cave code
|
| |
|
| |
|
|
|
|
| |
mixing of lava and water in caves
|
| |
|
|
Mapgen V7
|