diff -u -r freeciv/common/map.h place_spec/common/map.h --- freeciv/common/map.h Thu Feb 24 23:28:10 2000 +++ place_spec/common/map.h Sun Feb 27 23:14:28 2000 @@ -149,6 +149,7 @@ struct civ_map { int xsize, ysize; + int place_specials; int seed; int riches; int is_earth; @@ -271,6 +272,10 @@ #define MAP_DEFAULT_SEED 0 #define MAP_MIN_SEED 0 #define MAP_MAX_SEED (MAX_UINT32 >> 1) + +#define MAP_DEFAULT_PLACE_SPECIALS 1 +#define MAP_MIN_PLACE_SPECIALS 0 +#define MAP_MAX_PLACE_SPECIALS 1 #define MAP_DEFAULT_LANDMASS 30 #define MAP_MIN_LANDMASS 15 diff -u -r freeciv/server/mapgen.c place_spec/server/mapgen.c --- freeciv/server/mapgen.c Thu Feb 24 23:28:12 2000 +++ place_spec/server/mapgen.c Sun Feb 27 23:12:54 2000 @@ -1055,7 +1055,7 @@ ttype = map_get_terrain(x, y); if ((ttype==T_OCEAN && is_coastline(x,y)) || (ttype!=T_OCEAN)) { if (myrand(1000)special|=S_SPECIAL_1; diff -u -r freeciv/server/stdinhand.c place_spec/server/stdinhand.c --- freeciv/server/stdinhand.c Thu Feb 24 23:28:13 2000 +++ place_spec/server/stdinhand.c Sun Feb 27 23:14:44 2000 @@ -205,6 +205,14 @@ "for zero (the default) a seed will be chosen based on the time, " "to give a random map.") }, + { "place_specials", &map.place_specials, + SSET_MAP_GEN, SSET_TO_CLIENT, + MAP_MIN_PLACE_SPECIALS, MAP_DEFAULT_PLACE_SPECIALS, MAP_MAX_PLACE_SPECIALS, + N_("Positioning of map specials"), + N_("Placing the specials on the map. " + "Zero will have no restrictions; " + "One will not allow specials to be next to each other") }, + /* Map additional stuff: huts and specials. randseed also goes here * because huts and specials are the first time the randseed gets used (?) * These are done when the game starts, so these are historical and