]> git.pond.sub.org Git - empserver/blobdiff - src/lib/global/constants.c
Update copyright notice
[empserver] / src / lib / global / constants.c
index f45ad1d826bafc04559a1b431118bdec5a951a5e..618ddab0201e5658a7e57cb3b16ea54cc0946b7d 100644 (file)
@@ -1,6 +1,6 @@
 /*
  *  Empire - A multi-player, client/server Internet based war game.
- *  Copyright (C) 1986-2012, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ *  Copyright (C) 1986-2016, Dave Pare, Jeff Bailey, Thomas Ruschak,
  *                Ken Stevens, Steve McClure, Markus Armbruster
  *
  *  Empire is free software: you can redistribute it and/or modify
@@ -29,7 +29,7 @@
  *  Known contributors to this file:
  *     Ken Stevens, 1995
  *     Steve McClure, 1996
- *     Markus Armbruster, 2004-2012
+ *     Markus Armbruster, 2004-2014
  */
 
 #include <config.h>
@@ -41,12 +41,14 @@ char *privname = "Deity forgot to edit econfig";
 /* E-mail of the deity */
 char *privlog = "careless@invalid";
 /* Divine hosts and networks */
-char *privip = "127.0.0.1 ::1 ::ffff:127.0.0.1";
+char *privip = "127.0.0.1 ::1";
 
 char *post_crash_dump_hook = "";
 
 char *disabled_commands = "";
 
+int running_test_suite = 0;    /* For use by "make check" only */
+
 int keep_journal = 0;          /* journal log file enabled */
 
 int WORLD_X = 64;              /* World size - x */
@@ -113,7 +115,7 @@ double babyeat = 0.0060;    /* food to mature 1 baby into a civilian */
 double obrate = 0.005;         /* other sectors birth rate */
 double uwbrate = 0.0025;       /* uncompensated worker birth rate */
                                /* values > 0.25 for either will overflow */
-int rollover_avail_max = 0;    /* max. avail that can roll over an update */
+int rollover_avail_max = 50;   /* max. avail that can roll over an update */
 
 /* opt_FALLOUT */
 double decay_per_etu = 0.006;  /* This gives a half life of ? etus,
@@ -167,7 +169,7 @@ float hap_avg = 16.0 * 3.0;
 float edu_avg = 16.0 * 12.0;
 
 
-/* tech build limitations.  */
+/* tech build limitations. */
 float easy_tech = 1.00;                /* amount of tech built with no penality */
 float tech_log_base = 2.0;     /* base of log to take of in-efficient tech */
 
@@ -209,7 +211,7 @@ float trade_ally_cut = 0.10;        /* 10% bonus for ally you trade with */
 
 int torpedo_damage = 40;       /* damage is X + 1dX + 1dX, so 40+1d40+1d40 */
 
-long start_cash = 25000;
+int start_cash = 25000;
 
 /* initial levels */
 float start_education = 0.0;