From 83bafbe08b508266d31a6a76f1ffc2cddc662390 Mon Sep 17 00:00:00 2001 From: kwolekr Date: Sat, 8 Feb 2014 17:50:26 -0500 Subject: Make flag strings clear specified flag with 'no' prefix Remove flagmask field from set_mapgen_params table Add small bits of needed documentation --- src/mapgen.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/mapgen.h') diff --git a/src/mapgen.h b/src/mapgen.h index 4cee3c2aa..037cdd1f9 100644 --- a/src/mapgen.h +++ b/src/mapgen.h @@ -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; } }; -- cgit v1.2.3