src/lib/global/constants.c File Reference

#include <config.h>
#include "optlist.h"

Include dependency graph for constants.c:

Go to the source code of this file.

Variables

char * privname = "Deity forgot to edit econfig"
char * privlog = "careless@invalid"
char * privip = "127.0.0.1 ::1 ::ffff:127.0.0.1"
char * disabled_commands = ""
int keep_journal = 0
int WORLD_X = 64
int WORLD_Y = 32
int MARK_DELAY = 7200
int TRADE_DELAY = 7200
int m_m_p_d = 1440
int etu_per_update = 60
int update_window = 0
int update_demand = UPD_DEMAND_NONE
int update_wantmin = 1
char * update_demandtimes = ""
char * game_days = ""
char * game_hours = ""
char * pre_update_hook = ""
int max_idle = 15
int sect_mob_max = 127
float sect_mob_scale = 1.0
int land_mob_max = 127
float land_mob_scale = 1.0
int ship_mob_max = 127
float ship_mob_scale = 1.5
int plane_mob_max = 127
float plane_mob_scale = 1.0
float fire_range_factor = 1.0
int morale_base = 42
int sect_mob_neg_factor = 2
int anno_keep_days = 7
int news_keep_days = 10
int lost_items_timeout = 172800
double combat_mob = 5.0
int fort_max_interdiction_range = 8
int ship_max_interdiction_range = 8
int land_max_interdiction_range = 8
double mission_mob_cost = 0.0
double unit_damage = 0.30
double people_damage = 1.00
double collateral_dam = 0.10
double assault_penalty = 0.50
int fuel_mult = 10
float land_grow_scale = 2.0
float ship_grow_scale = 3.0
float plane_grow_scale = 2.0
double fgrate = 0.0012
double fcrate = 0.0013
double eatrate = 0.0005
double babyeat = 0.0060
double obrate = 0.005
double uwbrate = 0.0025
int rollover_avail_max = 0
double decay_per_etu = 0.006
double fallout_spread = 0.005
double bankint = 0.25
double tradetax = 0.99
double buytax = 1.0
int startmob = 127
float flakscale = 1.75f
double money_civ = 0.0083333
double money_uw = 0.0017777
double money_mil = -0.0833333
double money_res = -0.0083333
double money_plane = -0.001
double money_ship = -0.001
double money_land = -0.001
double hap_cons = 600000.0
double edu_cons = 600000.0
float hap_avg = 16.0 * 3.0
float edu_avg = 16.0 * 12.0
float easy_tech = 1.00
float tech_log_base = 2.0
float ally_factor = 2.0
float level_age_rate = 96.0
int players_at_00 = 0
int at_least_one_100 = 1
float btu_build_rate = 0.0012
int max_btus = 640
double buil_bt = 10.0
int buil_bh = 100
double buil_bc = 1000.0
double buil_tower_bt = 100.0
int buil_tower_bh = 400
double buil_tower_bc = 3000.0
int War_Cost = 1000
float drnuke_const = 0.0
int trade_1_dist = 8
int trade_2_dist = 14
int trade_3_dist = 25
float trade_1 = 0.025
float trade_2 = 0.035
float trade_3 = 0.050
float trade_ally_bonus = 0.20
float trade_ally_cut = 0.10
int torpedo_damage = 40
long start_cash = 25000
float start_education = 0.0
float start_happiness = 0.0
float start_technology = 0.0
float start_research = 0.0


Variable Documentation

float ally_factor = 2.0

Definition at line 175 of file constants.c.

Referenced by prod_nat(), share_incr(), and vers().

int anno_keep_days = 7

Definition at line 84 of file constants.c.

Referenced by delete_old_announcements().

double assault_penalty = 0.50

Definition at line 100 of file constants.c.

Referenced by attack_val(), and vers().

int at_least_one_100 = 1

Definition at line 180 of file constants.c.

double babyeat = 0.0060

Definition at line 112 of file constants.c.

double bankint = 0.25

Definition at line 136 of file constants.c.

Referenced by bank_income(), and vers().

float btu_build_rate = 0.0012

Definition at line 184 of file constants.c.

Referenced by accrued_btus(), and vers().

double buil_bc = 1000.0

Definition at line 190 of file constants.c.

Referenced by build_bridge(), and show_bridge().

int buil_bh = 100

Definition at line 189 of file constants.c.

double buil_bt = 10.0

Definition at line 188 of file constants.c.

double buil_tower_bc = 3000.0

Definition at line 194 of file constants.c.

int buil_tower_bh = 400

Definition at line 193 of file constants.c.

Referenced by build_tower(), and show_tower().

double buil_tower_bt = 100.0

Definition at line 192 of file constants.c.

Referenced by buil(), and show_tower().

double buytax = 1.0

Definition at line 146 of file constants.c.

double collateral_dam = 0.10

Definition at line 99 of file constants.c.

double combat_mob = 5.0

Definition at line 88 of file constants.c.

Referenced by lnd_takemob(), and vers().

double decay_per_etu = 0.006

Definition at line 120 of file constants.c.

char* disabled_commands = ""

Definition at line 46 of file constants.c.

float drnuke_const = 0.0

Definition at line 199 of file constants.c.

float easy_tech = 1.00

Definition at line 172 of file constants.c.

Referenced by limit_level(), and vers().

double eatrate = 0.0005

Definition at line 111 of file constants.c.

float edu_avg = 16.0 * 12.0

Definition at line 168 of file constants.c.

double edu_cons = 600000.0

Definition at line 163 of file constants.c.

int etu_per_update = 60

Definition at line 57 of file constants.c.

double fallout_spread = 0.005

Definition at line 132 of file constants.c.

Referenced by decay_fallout(), spread_fallout(), and vers().

double fcrate = 0.0013

Definition at line 110 of file constants.c.

Referenced by growfood(), and vers().

double fgrate = 0.0012

Definition at line 109 of file constants.c.

float fire_range_factor = 1.0

Definition at line 76 of file constants.c.

float flakscale = 1.75f

Definition at line 148 of file constants.c.

int fort_max_interdiction_range = 8

Definition at line 91 of file constants.c.

Referenced by shp_fort_interdiction(), and vers().

int fuel_mult = 10

Definition at line 103 of file constants.c.

Referenced by do_mob_land(), do_mob_ship(), and vers().

char* game_days = ""

Definition at line 62 of file constants.c.

Referenced by gamehours(), upda(), and vers().

char* game_hours = ""

Definition at line 63 of file constants.c.

Referenced by gamehours(), upda(), and vers().

float hap_avg = 16.0 * 3.0

Definition at line 167 of file constants.c.

Referenced by prod_nat(), and vers().

double hap_cons = 600000.0

Definition at line 162 of file constants.c.

int keep_journal = 0

Definition at line 48 of file constants.c.

float land_grow_scale = 2.0

Definition at line 105 of file constants.c.

int land_max_interdiction_range = 8

Definition at line 93 of file constants.c.

int land_mob_max = 127

Definition at line 69 of file constants.c.

Referenced by defense_val(), do_mob_land(), fort(), get_empobj_mob_max(), landdamage(), lnd_fortify(), vers(), and work().

float land_mob_scale = 1.0

Definition at line 70 of file constants.c.

Referenced by do_mob_land(), get_minimum(), resupply_commod(), take_move_in_mob(), and vers().

float level_age_rate = 96.0

Definition at line 176 of file constants.c.

int lost_items_timeout = 172800

Definition at line 86 of file constants.c.

int m_m_p_d = 1440

Definition at line 56 of file constants.c.

int MARK_DELAY = 7200

Definition at line 53 of file constants.c.

int max_btus = 640

Definition at line 186 of file constants.c.

Referenced by dispatch(), grant_btus(), new(), and vers().

int max_idle = 15

Definition at line 65 of file constants.c.

double mission_mob_cost = 0.0

Definition at line 95 of file constants.c.

Referenced by mission(), and vers().

double money_civ = 0.0083333

Definition at line 151 of file constants.c.

double money_land = -0.001

Definition at line 159 of file constants.c.

double money_mil = -0.0833333

Definition at line 153 of file constants.c.

Referenced by budg(), tax(), upd_plane(), upd_slmilcosts(), and vers().

double money_plane = -0.001

Definition at line 157 of file constants.c.

Referenced by upd_plane(), and vers().

double money_res = -0.0083333

Definition at line 154 of file constants.c.

double money_ship = -0.001

Definition at line 158 of file constants.c.

double money_uw = 0.0017777

Definition at line 152 of file constants.c.

Referenced by tax(), and vers().

int morale_base = 42

Definition at line 78 of file constants.c.

int news_keep_days = 10

Definition at line 85 of file constants.c.

double obrate = 0.005

Definition at line 114 of file constants.c.

Referenced by grow_people(), nati(), newe(), prod(), and vers().

double people_damage = 1.00

Definition at line 98 of file constants.c.

float plane_grow_scale = 2.0

Definition at line 107 of file constants.c.

Referenced by planerepair(), and vers().

int plane_mob_max = 127

Definition at line 73 of file constants.c.

float plane_mob_scale = 1.0

Definition at line 74 of file constants.c.

int players_at_00 = 0

Definition at line 179 of file constants.c.

Referenced by new(), and vers().

char* pre_update_hook = ""

Definition at line 64 of file constants.c.

char* privip = "127.0.0.1 ::1 ::ffff:127.0.0.1"

Definition at line 44 of file constants.c.

Referenced by may_play().

char* privlog = "careless@invalid"

Definition at line 42 of file constants.c.

char* privname = "Deity forgot to edit econfig"

Definition at line 40 of file constants.c.

Referenced by vers().

int rollover_avail_max = 0

Definition at line 117 of file constants.c.

int sect_mob_max = 127

Definition at line 67 of file constants.c.

Referenced by do_mob_sect(), get_empobj_mob_max(), and vers().

int sect_mob_neg_factor = 2

Definition at line 81 of file constants.c.

Referenced by anti(), build_bridge(), build_land(), build_plane(), build_ship(), build_tower(), check_trade(), explore(), takeover(), and vers().

float sect_mob_scale = 1.0

Definition at line 68 of file constants.c.

float ship_grow_scale = 3.0

Definition at line 106 of file constants.c.

int ship_max_interdiction_range = 8

Definition at line 92 of file constants.c.

int ship_mob_max = 127

Definition at line 71 of file constants.c.

Referenced by do_mob_ship(), get_empobj_mob_max(), mobq(), and vers().

float ship_mob_scale = 1.5

Definition at line 72 of file constants.c.

Referenced by do_mob_ship(), eta_calc(), mobq(), and vers().

long start_cash = 25000

Definition at line 217 of file constants.c.

Referenced by new().

float start_education = 0.0

Definition at line 220 of file constants.c.

Referenced by add(), and new().

float start_happiness = 0.0

Definition at line 221 of file constants.c.

Referenced by add(), and new().

float start_research = 0.0

Definition at line 223 of file constants.c.

float start_technology = 0.0

Definition at line 222 of file constants.c.

int startmob = 127

Definition at line 147 of file constants.c.

Referenced by init_sanct().

float tech_log_base = 2.0

Definition at line 173 of file constants.c.

int torpedo_damage = 40

Definition at line 215 of file constants.c.

float trade_1 = 0.025

Definition at line 208 of file constants.c.

int trade_1_dist = 8

Definition at line 205 of file constants.c.

Referenced by payo(), scuttle_tradeship(), and vers().

float trade_2 = 0.035

Definition at line 209 of file constants.c.

Referenced by payo(), scuttle_tradeship(), and vers().

int trade_2_dist = 14

Definition at line 206 of file constants.c.

float trade_3 = 0.050

Definition at line 210 of file constants.c.

int trade_3_dist = 25

Definition at line 207 of file constants.c.

Referenced by payo(), scuttle_tradeship(), and vers().

float trade_ally_bonus = 0.20

Definition at line 211 of file constants.c.

Referenced by payo(), scuttle_tradeship(), and vers().

float trade_ally_cut = 0.10

Definition at line 212 of file constants.c.

int TRADE_DELAY = 7200

Definition at line 54 of file constants.c.

Referenced by check_trade(), trad(), and vers().

double tradetax = 0.99

Definition at line 145 of file constants.c.

double unit_damage = 0.30

Definition at line 97 of file constants.c.

Referenced by sectdamage(), and vers().

int update_demand = UPD_DEMAND_NONE

Definition at line 59 of file constants.c.

Referenced by demandupdatecheck(), show_updates(), upda(), update_main(), update_sched(), and zdon().

char* update_demandtimes = ""

Definition at line 61 of file constants.c.

int update_wantmin = 1

Definition at line 60 of file constants.c.

Referenced by demand_check(), show_updates(), and upda().

int update_window = 0

Definition at line 58 of file constants.c.

Referenced by show_updates(), upda(), and update_sched().

double uwbrate = 0.0025

Definition at line 115 of file constants.c.

Referenced by grow_people(), nati(), newe(), prod(), and vers().

int War_Cost = 1000

Definition at line 197 of file constants.c.

int WORLD_X = 64

Definition at line 50 of file constants.c.

int WORLD_Y = 32

Definition at line 51 of file constants.c.


Generated on Fri Mar 28 11:01:48 2008 for empserver by  doxygen 1.5.2