mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00: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:
parent
f4f98c9550
commit
83bafbe08b
19 changed files with 122 additions and 78 deletions
|
@ -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;
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue