]> git.pond.sub.org Git - empserver/blobdiff - src/lib/global/constants.c
Update copyright notice
[empserver] / src / lib / global / constants.c
index bcc2ae6ae136529c9a160b2158b88df9937ad885..9d05872cecabb71150ef1326eb674f84c0fd6326 100644 (file)
@@ -1,6 +1,6 @@
 /*
  *  Empire - A multi-player, client/server Internet based war game.
- *  Copyright (C) 1986-2013, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ *  Copyright (C) 1986-2018, 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-2013
+ *     Markus Armbruster, 2004-2014
  */
 
 #include <config.h>
@@ -47,6 +47,8 @@ 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 */
@@ -56,7 +58,7 @@ int MARK_DELAY = 7200;                /* Seconds to bid on commodities */
 int TRADE_DELAY = 7200;                /* Seconds to bid on units */
 
 int m_m_p_d = 1440;            /* max mins of play per day (per country) */
-int etu_per_update = 60;       /* # of etu's per update */
+int etu_per_update = 60;       /* # of ETUs per update */
 int update_window = 0;         /* update window adjustment, in seconds */
 int update_demand = UPD_DEMAND_NONE;
 int update_wantmin = 1;                /* votes required for demand update */
@@ -113,10 +115,10 @@ 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,
+double decay_per_etu = 0.006;  /* This gives a half life of ? ETUs,
                                   about ? days.
                                   half life in Jt
                                   log(.5) / log(1-decay_per_etu)
@@ -167,12 +169,12 @@ 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 */
 
 float ally_factor = 2.0;       /* shared tech with allies = 1/factor */
-float level_age_rate = 96.0;   /* 1% per 96 etu's; 0 -> no decline */
+float level_age_rate = 96.0;   /* 1% per 96 ETUs; 0 -> no decline */
 
 
 int players_at_00 = 0;         /* players coord system on deity 0,0? */
@@ -182,7 +184,7 @@ int at_least_one_100 = 1;   /* init player with 100/100/100/100 sector? */
 
 float btu_build_rate = 0.0012; /* etu * civ * eff * btu_build_rate */
                                /* 8 * 999 * 100 * 0.0004 = 319 */
-int max_btus = 640;            /* maximum # of btu's */
+int max_btus = 640;            /* maximum # of BTUs */
 
 double buil_bt = 10.0;         /* tech level required to build a bridge */
 int buil_bh = 100;             /* hcm required to build a bridge */