Feature: Place rocks on "too steep" tiles when fixing slopes. (#13462)
When generating maps or loading heightmaps, the terrain height is altered to prevent slopes that can't be represented. During this, there is now a chance of these tiles being turned into a rocky tile. Chance of placing rocks is based on the height. This gives a rocky mountain appearance without affecting all peaks.
This commit is contained in:
@@ -1535,7 +1535,7 @@ bool GenerateLandscape(uint8_t mode)
|
||||
{
|
||||
/* Number of steps of landscape generation */
|
||||
static constexpr uint GLS_HEIGHTMAP = 3; ///< Loading a heightmap
|
||||
static constexpr uint GLS_TERRAGENESIS = 5; ///< Terragenesis generator
|
||||
static constexpr uint GLS_TERRAGENESIS = 4; ///< Terragenesis generator
|
||||
static constexpr uint GLS_ORIGINAL = 2; ///< Original generator
|
||||
static constexpr uint GLS_TROPIC = 12; ///< Extra steps needed for tropic landscape
|
||||
static constexpr uint GLS_OTHER = 0; ///< Extra steps for other landscapes
|
||||
|
||||
Reference in New Issue
Block a user