Main Page | Data Structures | Directories | File List | Data Fields | Globals

shrglobs.c

Go to the documentation of this file.
00001 /* ---------------------------------------------------------------------- *
00002  * engglobs.c
00003  * This file is part of lincity.
00004  * Lincity is copyright (c) I J Peters 1995-1997, (c) Greg Sharp 1997-2001.
00005  * ---------------------------------------------------------------------- */
00006 #include "engglobs.h"
00007 #include "common.h"
00008 #include "fileutil.h"
00009 
00010 Map map;
00011 
00012 int mappoint_array_x[WORLD_SIDE_LEN];
00013 int mappoint_array_y[WORLD_SIDE_LEN];
00014 int numof_shanties;
00015 int numof_communes;
00016 int last_built_x, last_built_y;
00017 int main_screen_originx, main_screen_originy;
00018 
00019 int pix_double = 0;
00020 
00021 #if defined (WIN32)
00022 char windowsfontfile[LC_PATH_MAX];
00023 #endif
00024 
00025 int cheat_flag;
00026 int modern_windmill_flag = 0;
00027 
00028 int askdir_lines;
00029 char *askdir_path[4];
00030 
00031 int monthgraph_size = 0;
00032 int *monthgraph_pop;
00033 int *monthgraph_starve;
00034 int *monthgraph_nojobs;
00035 int *monthgraph_ppool;
00036 
00037 #if defined (commentout)
00038 int monthgraph_pop[MAPPOINT_STATS_W], monthgraph_starve[MAPPOINT_STATS_W];
00039 int monthgraph_nojobs[MAPPOINT_STATS_W], monthgraph_ppool[MAPPOINT_STATS_W];
00040 #endif
00041 
00042 #if defined (commentout)
00043 int diffgraph_power[MAPPOINT_STATS_W], diffgraph_coal[MAPPOINT_STATS_W];
00044 int diffgraph_goods[MAPPOINT_STATS_W], diffgraph_ore[MAPPOINT_STATS_W];
00045 int diffgraph_population[MAPPOINT_STATS_W];
00046 int diff_old_population;
00047 #endif
00048 
00049 int sust_dig_ore_coal_tip_flag = 0, sust_port_flag = 0, sustain_flag = 0;
00050 int sust_dig_ore_coal_count = 0, sust_port_count = 0, sust_old_money = 0;
00051 int sust_old_money_count = 0, sust_old_population = 0, sust_old_population_count = 0;
00052 int sust_old_tech = 0, sust_old_tech_count = 0, sust_fire_count = 0;
00053 
00054 int total_time = 0;    /* game time */
00055 
00056 int population, starving_population;
00057 int housed_population;
00058 int unemployed_population, people_pool;
00059 int substationx[MAX_NUMOF_SUBSTATIONS], substationy[MAX_NUMOF_SUBSTATIONS];
00060 int numof_substations = 0;
00061 int marketx[MAX_NUMOF_MARKETS], markety[MAX_NUMOF_MARKETS], numof_markets = 0;
00062 int numof_health_centres, max_pop_ever = 0, total_evacuated = 0, total_births = 0;
00063 
00064 int total_money = 0, income_tax_rate, coal_tax_rate;
00065 int dole_rate, transport_cost_rate;
00066 int goods_tax_rate;
00067 int export_tax_rate, import_cost_rate;
00068 int tech_level, highest_tech_level, unnat_deaths;
00069 
00070 int total_pollution_deaths = 0, total_starve_deaths = 0, total_unemployed_days = 0;
00071 int total_unemployed_years = 0;
00072 float pollution_deaths_history = 0.0, starve_deaths_history = 0.0;
00073 float unemployed_history = 0.0;
00074 
00075 int university_intake_rate;
00076 int power_made, power_used, coal_made, coal_used;
00077 int goods_made, goods_used, ore_made, ore_used;
00078 int rockets_launched, rockets_launched_success;
00079 int coal_survey_done;
00080 
00081 int selected_type_cost;
00082 
00083 int ex_tax_dis[NUMOF_DISCOUNT_TRIGGERS] =
00084 {
00085   EX_DISCOUNT_TRIGGER_1,
00086   EX_DISCOUNT_TRIGGER_2,
00087   EX_DISCOUNT_TRIGGER_3,
00088   EX_DISCOUNT_TRIGGER_4,
00089   EX_DISCOUNT_TRIGGER_5,
00090   EX_DISCOUNT_TRIGGER_6,
00091 };
00092 
00093 

Generated on Sun Dec 26 11:23:26 2004 for lincity by  doxygen 1.3.9.1