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

engglobs.h File Reference

#include "lin-city.h"
#include "common.h"
#include "geometry.h"

Go to the source code of this file.

Data Structures

struct  map_struct

Defines

#define MP_TYPE(x, y)   map.type[x][y]
#define MP_GROUP(x, y)   map.group[x][y]
#define MP_POL(x, y)   map.pollution[x][y]
#define MP_INFO(x, y)   map.info[x][y]
#define MP_SIZE(x, y)   main_groups[MP_GROUP(x,y)].size
#define MP_COLOR(x, y)   main_groups[MP_GROUP(x,y)].colour
#define MP_GROUP_IS_RESIDENCE(x, y)   (GROUP_IS_RESIDENCE(MP_GROUP(x,y)))

Typedefs

typedef map_struct Map

Variables

Map map
int mappoint_array_x [WORLD_SIDE_LEN]
int mappoint_array_y [WORLD_SIDE_LEN]
int numof_shanties
int numof_communes
int last_built_x
int last_built_y
int sust_dig_ore_coal_tip_flag
int sust_port_flag
int sustain_flag
int sust_dig_ore_coal_count
int sust_port_count
int sust_old_money
int sust_old_money_count
int sust_old_population
int sust_old_population_count
int sust_old_tech
int sust_old_tech_count
int sust_fire_count
int total_time
int population
int starving_population
int housed_population
int unemployed_population
int people_pool
int substationx [MAX_NUMOF_SUBSTATIONS]
int substationy [MAX_NUMOF_SUBSTATIONS]
int numof_substations
int marketx [MAX_NUMOF_MARKETS]
int markety [MAX_NUMOF_MARKETS]
int numof_markets
int numof_health_centres
int max_pop_ever
int total_evacuated
int total_births
int total_money
int income_tax_rate
int coal_tax_rate
int dole_rate
int transport_cost_rate
int goods_tax_rate
int export_tax_rate
int import_cost_rate
int tech_level
int highest_tech_level
int unnat_deaths
int total_pollution_deaths
int total_starve_deaths
int total_unemployed_days
int total_unemployed_years
float pollution_deaths_history
float starve_deaths_history
float unemployed_history
int university_intake_rate
int power_made
int power_used
int coal_made
int coal_used
int goods_made
int goods_used
int ore_made
int ore_used
int rockets_launched
int rockets_launched_success
int coal_survey_done
int selected_type_cost
int ex_tax_dis [NUMOF_DISCOUNT_TRIGGERS]


Define Documentation

#define MP_COLOR x,
 )     main_groups[MP_GROUP(x,y)].colour
 

Definition at line 32 of file engglobs.h.

#define MP_GROUP x,
 )     map.group[x][y]
 

Definition at line 27 of file engglobs.h.

#define MP_GROUP_IS_RESIDENCE x,
 )     (GROUP_IS_RESIDENCE(MP_GROUP(x,y)))
 

Definition at line 33 of file engglobs.h.

#define MP_INFO x,
 )     map.info[x][y]
 

Definition at line 29 of file engglobs.h.

#define MP_POL x,
 )     map.pollution[x][y]
 

Definition at line 28 of file engglobs.h.

#define MP_SIZE x,
 )     main_groups[MP_GROUP(x,y)].size
 

Definition at line 31 of file engglobs.h.

#define MP_TYPE x,
 )     map.type[x][y]
 

Definition at line 26 of file engglobs.h.


Typedef Documentation

typedef struct map_struct Map
 

Definition at line 22 of file engglobs.h.


Variable Documentation

int coal_made
 

Definition at line 76 of file shrglobs.c.

int coal_survey_done
 

Definition at line 79 of file shrglobs.c.

int coal_tax_rate
 

int coal_used
 

Definition at line 76 of file shrglobs.c.

int dole_rate
 

Definition at line 65 of file shrglobs.c.

int ex_tax_dis[NUMOF_DISCOUNT_TRIGGERS]
 

Definition at line 83 of file shrglobs.c.

int export_tax_rate
 

Definition at line 67 of file shrglobs.c.

int goods_made
 

Definition at line 77 of file shrglobs.c.

int goods_tax_rate
 

Definition at line 66 of file shrglobs.c.

int goods_used
 

Definition at line 77 of file shrglobs.c.

int highest_tech_level
 

Definition at line 68 of file shrglobs.c.

int housed_population
 

Definition at line 57 of file shrglobs.c.

int import_cost_rate
 

Definition at line 67 of file shrglobs.c.

int income_tax_rate
 

int last_built_x
 

Definition at line 16 of file shrglobs.c.

int last_built_y
 

Definition at line 16 of file shrglobs.c.

Map map
 

Definition at line 10 of file shrglobs.c.

int mappoint_array_x[WORLD_SIDE_LEN]
 

Definition at line 12 of file shrglobs.c.

int mappoint_array_y[WORLD_SIDE_LEN]
 

Definition at line 13 of file shrglobs.c.

int marketx[MAX_NUMOF_MARKETS]
 

Definition at line 61 of file shrglobs.c.

int markety[MAX_NUMOF_MARKETS]
 

Definition at line 61 of file shrglobs.c.

int max_pop_ever
 

Definition at line 62 of file shrglobs.c.

int numof_communes
 

Definition at line 15 of file shrglobs.c.

int numof_health_centres
 

Definition at line 62 of file shrglobs.c.

int numof_markets
 

Definition at line 61 of file shrglobs.c.

int numof_shanties
 

Definition at line 14 of file shrglobs.c.

int numof_substations
 

Definition at line 60 of file shrglobs.c.

int ore_made
 

Definition at line 77 of file shrglobs.c.

int ore_used
 

Definition at line 77 of file shrglobs.c.

int people_pool
 

Definition at line 58 of file shrglobs.c.

float pollution_deaths_history
 

Definition at line 72 of file shrglobs.c.

int population
 

Definition at line 56 of file shrglobs.c.

int power_made
 

Definition at line 76 of file shrglobs.c.

int power_used
 

Definition at line 76 of file shrglobs.c.

int rockets_launched
 

Definition at line 78 of file shrglobs.c.

int rockets_launched_success
 

Definition at line 78 of file shrglobs.c.

int selected_type_cost
 

Definition at line 81 of file shrglobs.c.

float starve_deaths_history
 

int starving_population
 

Definition at line 56 of file shrglobs.c.

int substationx[MAX_NUMOF_SUBSTATIONS]
 

Definition at line 59 of file shrglobs.c.

int substationy[MAX_NUMOF_SUBSTATIONS]
 

Definition at line 59 of file shrglobs.c.

int sust_dig_ore_coal_count
 

Definition at line 50 of file shrglobs.c.

int sust_dig_ore_coal_tip_flag
 

Definition at line 49 of file shrglobs.c.

int sust_fire_count
 

int sust_old_money
 

int sust_old_money_count
 

Definition at line 51 of file shrglobs.c.

int sust_old_population
 

int sust_old_population_count
 

int sust_old_tech
 

Definition at line 52 of file shrglobs.c.

int sust_old_tech_count
 

int sust_port_count
 

int sust_port_flag
 

int sustain_flag
 

int tech_level
 

Definition at line 68 of file shrglobs.c.

int total_births
 

int total_evacuated
 

int total_money
 

Definition at line 64 of file shrglobs.c.

int total_pollution_deaths
 

Definition at line 70 of file shrglobs.c.

int total_starve_deaths
 

int total_time
 

Definition at line 54 of file shrglobs.c.

int total_unemployed_days
 

int total_unemployed_years
 

Definition at line 71 of file shrglobs.c.

int transport_cost_rate
 

Definition at line 65 of file shrglobs.c.

float unemployed_history
 

Definition at line 73 of file shrglobs.c.

int unemployed_population
 

Definition at line 58 of file shrglobs.c.

int university_intake_rate
 

Definition at line 75 of file shrglobs.c.

int unnat_deaths
 

Definition at line 68 of file shrglobs.c.


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