mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 00:25:19 +02:00
Make flag strings clear specified flag with 'no' prefix
Remove flagmask field from set_mapgen_params table Add small bits of needed documentation
This commit is contained in:
@@ -35,7 +35,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
#define MG_CAVES 0x02
|
||||
#define MG_DUNGEONS 0x04
|
||||
#define MG_FLAT 0x08
|
||||
#define MG_NOLIGHT 0x10
|
||||
#define MG_LIGHT 0x10
|
||||
|
||||
/////////////////// Ore generation flags
|
||||
// Use absolute value of height to determine ore placement
|
||||
@@ -114,11 +114,11 @@ struct MapgenParams {
|
||||
MapgenSpecificParams *sparams;
|
||||
|
||||
MapgenParams() {
|
||||
mg_name = "v6";
|
||||
mg_name = DEFAULT_MAPGEN;
|
||||
seed = 0;
|
||||
water_level = 1;
|
||||
chunksize = 5;
|
||||
flags = MG_TREES | MG_CAVES;
|
||||
flags = MG_TREES | MG_CAVES | MG_LIGHT;
|
||||
sparams = NULL;
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user