mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 00:25:19 +02:00
Move duplicated mapgen parameters to class MapgenBasic (#9134)
'large_cave_depth', 'dungeon_ymin' and 'dungeon_ymax' are duplicated across many mapgens so should have been in class MapgenBasic from the start.
This commit is contained in:
@@ -75,13 +75,10 @@ public:
|
||||
|
||||
private:
|
||||
s16 ground_level;
|
||||
s16 large_cave_depth;
|
||||
float lake_threshold;
|
||||
float lake_steepness;
|
||||
float hill_threshold;
|
||||
float hill_steepness;
|
||||
s16 dungeon_ymin;
|
||||
s16 dungeon_ymax;
|
||||
|
||||
Noise *noise_terrain;
|
||||
};
|
||||
|
Reference in New Issue
Block a user