]> git.pond.sub.org Git - empserver/blobdiff - src/lib/global/constants.c
Update copyright notice
[empserver] / src / lib / global / constants.c
index f0230c74be8e899a35f623cdd1b9bab8338d77d7..94fcbd353d9cebc7164a36e0238f470d54197a94 100644 (file)
@@ -1,6 +1,6 @@
 /*
  *  Empire - A multi-player, client/server Internet based war game.
- *  Copyright (C) 1986-2006, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ *  Copyright (C) 1986-2008, Dave Pare, Jeff Bailey, Thomas Ruschak,
  *                           Ken Stevens, Steve McClure
  *
  *  This program is free software; you can redistribute it and/or modify
@@ -34,7 +34,7 @@
 
 #include <config.h>
 
-#include "wantupd.h"
+#include "optlist.h"
 
 /* Name of the deity */
 char *privname = "Deity forgot to edit econfig";
@@ -54,17 +54,10 @@ 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 s_p_etu = 10;              /* seconds per Empire Time Unit */
 int etu_per_update = 60;       /* # of etu's per update */
-int adj_update = 0;            /* update time adjustment, in seconds */
 int update_window = 0;         /* update window adjustment, in seconds */
-int hourslop = 5;              /* update_times matching fuzz, in minutes */
-char *update_times = "";       /* update times for policy UDP_TIMES */
-int update_policy = UDP_DEFAULT; /* update policy for regular updates */
-int update_demandpolicy = UDDEM_DEFAULT; /* update policy for demand updates */
-int update_missed = 999;       /* demand updates missed before veto */
+int update_demand = UPD_DEMAND_NONE;
 int update_wantmin = 1;                /* votes required for demand update */
-int blitz_time = 10;           /* number of minutes between blitz updates */
 char *update_demandtimes = ""; /* demand update time ranges */
 char *game_days = "";          /* days game is running */
 char *game_hours = "";         /* hours game is running */
@@ -194,11 +187,11 @@ int max_btus = 640;               /* maximum # of btu's */
 
 double buil_bt = 10.0;         /* tech level required to build a bridge */
 int buil_bh = 100;             /* hcm required to build a bridge */
-double buil_bc = 2000.0;       /* cash required to build a bridge */
+double buil_bc = 1000.0;       /* cash required to build a bridge */
 
 double buil_tower_bt = 100.0;  /* tech level required to build a tower */
 int buil_tower_bh = 400;       /* hcm required to build a bridge tower */
-double buil_tower_bc = 7500.0; /* cash required to build a bridge tower */
+double buil_tower_bc = 3000.0; /* cash required to build a bridge tower */
 
 /* opt_SLOW_WAR */
 int War_Cost = 1000;           /* Cost to declare war */