]> git.pond.sub.org Git - empserver/commitdiff
Disable BRIDGETOWERS by default
authorMarkus Armbruster <armbru@pond.sub.org>
Sat, 2 Apr 2011 12:41:09 +0000 (14:41 +0200)
committerMarkus Armbruster <armbru@pond.sub.org>
Tue, 12 Apr 2011 19:51:32 +0000 (21:51 +0200)
A deity can easily break BRIDGETOWERS by reducing etu_per_update
without compensating customization of buil_tower_bh,
rollover_avail_max or bridge span maxpop.

Document the issue in output of pconfig (which is installed as
$prefix/etc/empire/econfig).

To increase the chance deities actually read the documentation,
disable BRIDGETOWERS.

include/econfig-spec.h
src/lib/global/options.c

index 3e42210a3cd0562d838024a92bc9f0f1a361c9a4..5113bfc67ba47dbcafcdf3a4893d4df100104e03 100644 (file)
@@ -28,7 +28,7 @@
  *
  *  Known contributors to this file:
  *     Marc Olzheim, 2004
- *     Markus Armbruster, 2004-2009
+ *     Markus Armbruster, 2004-2011
  */
 
 /*
@@ -142,6 +142,10 @@ EMPCF_OPT("BLITZ", opt_BLITZ,
     "Enable blitz mode")
 EMPCF_OPT("BRIDGETOWERS", opt_BRIDGETOWERS,
     "Allow bridge towers")
+EMPCF_COMMENT("# If you enable this, make sure that bridge spans can produce\n"
+    "# sufficient avail.  Depending on your etu_per_update, you may have\n"
+    "# to tweak buil_tower_bh, rollover_avail_max, or bridge span's maxpop.")
+// FIXME doc avail
 EMPCF_OPT("EASY_BRIDGES", opt_EASY_BRIDGES,
     "Allow bridge building without bridge heads")
 EMPCF_OPT("FALLOUT", opt_FALLOUT,
index d094ff0f969b978d7a975ff6283fdb9acedb8ff8..2a7bf3991ecaaf95eee32e992ede7e63b15bc2f0 100644 (file)
@@ -28,7 +28,7 @@
  *
  *  Known contributors to this file:
  *       Steve McClure, 1998
- *       Markus Armbruster, 2005-2009
+ *       Markus Armbruster, 2005-2011
  */
 
 #include <config.h>
@@ -38,7 +38,7 @@
 int opt_ALL_BLEED = 1;
 int opt_AUTO_POWER = 0;
 int opt_BLITZ = 1;
-int opt_BRIDGETOWERS = 1;
+int opt_BRIDGETOWERS = 0;
 int opt_EASY_BRIDGES = 1;
 int opt_FALLOUT = 1;
 int opt_GODNEWS = 1;