![]() |
Freeciv21
Develop your civilization from humble roots to a global empire
|
#include <city.h>
Collaboration diagram for city:| union { ... } |
| struct adv_city* city::adv |
Definition at line 422 of file city.h.
Referenced by building_advisor(), dai_effect_value(), and dai_wonder_city_distance().
| int city::airlift |
Definition at line 349 of file city.h.
Referenced by do_airline(), get_airlift_text(), get_city_dialog_airlift_text(), get_city_dialog_airlift_value(), handle_city_info(), package_city(), sg_load_player_city(), and update_city_activity().
| int city::anarchy |
Definition at line 355 of file city.h.
Referenced by city_can_buy(), city_handle_disorder(), dai_spend_gold(), really_handle_city_buy(), and sg_load_player_city().
| int city::before_change_shields |
Definition at line 360 of file city.h.
Referenced by city_build_building(), city_build_unit(), city_change_production_penalty(), city_distribute_surplus_shields(), define_orig_production_values(), handle_city_info(), nullify_prechange_production(), package_city(), and sg_load_player_city().
| int city::bonus[O_LAST] |
Definition at line 335 of file city.h.
Referenced by cm_state_init(), create_city_virtual(), estimate_fitness(), get_city_dialog_output_text(), set_city_bonuses(), set_city_production(), and windfall_benefit().
| int city::bought_shields |
Definition at line 350 of file city.h.
Referenced by city_build_building(), city_build_unit(), city_change_production_penalty(), create_city_virtual(), handle_city_info(), package_city(), really_handle_city_buy(), and sg_load_player_city().
| struct built_status city::built[B_LAST] |
Definition at line 364 of file city.h.
Referenced by city_add_improvement(), city_has_building(), city_remove_improvement(), create_city_virtual(), handle_city_info(), sg_load_player_city(), transfer_city(), and update_improvement_from_packet().
| enum capital_type city::capital |
Definition at line 297 of file city.h.
Referenced by center_next_player_capital(), civil_war(), create_city_virtual(), handle_city_info(), handle_city_short_info(), is_capital(), key_center_capital(), package_city(), player_primary_capital(), transfer_city(), update_capital(), and update_dumb_city().
| int city::caravan_shields |
Definition at line 362 of file city.h.
Referenced by city_change_production_penalty(), handle_city_info(), nullify_caravan_and_disband_plus(), package_city(), sg_load_player_city(), and unit_do_help_build().
| struct universal city::changed_from |
Definition at line 364 of file city.h.
Referenced by city_change_production_penalty(), define_orig_production_values(), handle_city_info(), package_city(), and sg_load_player_city().
| int city::citizen_base[O_LAST] |
Definition at line 328 of file city.h.
Referenced by city_refresh_from_main_map(), compute_max_stats_heuristic(), dai_city_want(), get_city_dialog_output_text(), handle_city_info(), package_city(), set_city_production(), and trade_base_between_cities().
| bv_city_options city::city_options |
Definition at line 375 of file city.h.
Referenced by handle_city_info(), handle_city_options_req(), is_city_option_set(), package_city(), and sg_load_player_city().
| int city::city_radius_sq |
Definition at line 346 of file city.h.
Referenced by cma_yoloswag::apply_result_on_server(), city_map_radius_sq_get(), city_map_radius_sq_set(), create_city_virtual(), handle_city_info(), min_food_surplus_for_fastest_growth(), and package_city().
| struct { ... } city::client |
Referenced by api_methods_is_city_happy(), api_methods_is_city_unhappy(), append_city_buycost_string(), city_dialog::buy(), city_can_buy(), city_is_occupied(), city_packet_common(), city_report_dialog_update_city(), cityrep_buy(), client_remove_unit(), control_mouse_cursor(), cr_entry_build_cost(), cr_entry_build_cost_gold(), cr_entry_culture(), cr_entry_performance(), create_city_virtual(), destroy_city_virtual(), do_map_click(), freeciv::layer_city::fill_sprite_array_no_flag(), get_citizen_sprite(), get_city_dialog_culture_text(), handle_city_info(), handle_city_short_info(), handle_unit_packet_common(), handle_unit_short_info(), is_my_zoc(), traditional_citybar_painter::paint(), polished_citybar_painter::paint(), popup_city_dialog(), freeciv::upkeep_widget::refresh(), refresh_city_dialog(), toggle_city_color(), city_dialog::update_buy_button(), city_info::update_labels(), and city_dialog::update_units().
| struct cm_parameter* city::cm_parameter |
Definition at line 394 of file city.h.
Referenced by auto_arrange_workers(), destroy_city_virtual(), handle_city_manager(), package_city(), sg_load_player_city(), and transfer_city().
| bool city::did_buy |
Definition at line 351 of file city.h.
Referenced by city_can_buy(), city_can_change_build(), create_city_virtual(), handle_city_info(), package_city(), really_handle_city_buy(), sg_load_player_city(), and update_city_activity().
| bool city::did_sell |
Definition at line 352 of file city.h.
Referenced by city_widget::display_list_menu(), handle_city_info(), package_city(), really_handle_city_sell(), sg_load_player_city(), and update_city_activity().
| int city::disbanded_shields |
Definition at line 363 of file city.h.
Referenced by city_change_production_penalty(), handle_city_info(), nullify_caravan_and_disband_plus(), package_city(), sg_load_player_city(), and unit_do_help_build().
| citizens city::feel[CITIZEN_LAST][FEELING_LAST] |
Definition at line 302 of file city.h.
Referenced by adv_eval_calc_city(), citizen_base_mood(), citizen_content_buildings(), citizen_happiness_nationality(), citizen_happy_units(), citizen_happy_wonders(), citizen_luxury_happy(), city_happy(), city_incite_cost(), city_migration_score(), city_unhappy(), cr_entry_angry(), cr_entry_content(), cr_entry_happy(), cr_entry_unhappy(), cr_entry_workers(), dai_content_effect_value(), dai_effect_value(), get_city_citizen_types(), get_city_dialog_size_text(), handle_city_info(), handle_city_short_info(), happy_copy(), military_advisor_choose_build(), package_city(), resolve_city_emergency(), and text_happiness_luxuries().
| int city::food_stock |
Definition at line 338 of file city.h.
Referenced by city_empty_food_stock(), city_increase_size(), city_populate(), city_reduce_size(), city_reset_foodbox(), city_turn_notify(), city_turns_to_grow(), cr_entry_growturns(), dai_effect_value(), do_city_migration(), handle_city_info(), handle_edit_city(), min_food_surplus_for_fastest_growth(), package_city(), polished_citybar_painter::paint(), set_default_city_manager(), sg_load_player_city(), and city_info::update_labels().
| int city::history |
Definition at line 379 of file city.h.
Referenced by api_edit_city_add_history(), city_culture(), city_history_gain(), cr_entry_history(), cr_entry_performance(), get_city_dialog_culture_text(), handle_city_info(), handle_edit_city(), package_city(), sg_load_player_city(), and update_city_activity().
| int city::id |
Definition at line 296 of file city.h.
Referenced by action_auto_perf_unit_do(), action_not_enabled_reason(), action_selection_refresh(), governor::add_city_changed(), governor::add_city_new(), governor::add_city_remove(), freeciv::improvement_seller::add_to_menu(), adjust_ai_unit_choice(), adjust_improvement_wants_by_effects(), adjust_workers_button_pressed(), api_methods_unit_type_has_flag(), api_methods_unit_type_has_role(), cma_yoloswag::apply_result_on_server(), bodyguard_log_prefix(), building_advisor(), building_removed(), city_dialog::buy(), caravan_find_best_destination_withtransit(), center_next_player_capital(), city_build_building(), city_build_unit(), city_buy_production(), city_change_production(), city_change_size(), city_change_specialist(), city_create_unit(), city_freeze_workers_queue(), city_from_wonder(), city_increase_size(), city_is_virtual(), city_link(), city_map_update_radius_sq(), city_packet_common(), city_populate(), city_reduce_size(), city_refresh_queue_add(), city_dialog::city_rename(), city_rename(), city_sell_improvement(), city_set_worklist(), citylog_map_workers(), citymap_reserve_city_spot(), citymap_reserve_tile(), citymap_turn_init(), clear_worker_task(), client_plr_tile_city_id_get(), client_remove_city(), clipboard_send_production_packet(), cm_print_city(), cmafec_get_fe_parameter(), cmafec_set_fe_parameter(), create_city(), dai_airlift(), dai_caravan_goto(), dai_choose_diplomat_offensive(), dai_city_choose_build(), dai_data_phase_begin(), dai_diplomat_city(), dai_unit_attack(), dai_unit_make_homecity(), dai_upgrade_units(), diplomat_investigate(), disband_city(), city_dialog::disband_state_changed(), city_widget::display_list_menu(), city_dialog::display_worklist_menu(), do_city_migration(), do_disband_alternative(), do_unit_change_homecity(), do_unit_conquer_city(), do_unit_establish_trade(), domestic_advisor_choose_build(), editor_apply_tool(), execute_orders(), find_something_to_kill(), game_remove_city(), cma_yoloswag::handle_city(), handle_city_info(), handle_city_remove(), handle_city_short_info(), handle_edit_city_create(), handle_tile_info(), handle_unit_packet_common(), handle_unit_type_upgrade(), have_cities_trade_route(), idex_register_city(), idex_unregister_city(), cma_yoloswag::is_city_under_agent(), military_advisor_choose_build(), one_city_trade_benefit(), package_and_send_worker_tasks(), package_city(), popup_action_selection(), popup_incite_dialog(), popup_sabotage_dialog(), cma_yoloswag::put_city_under_agent(), reality_check_city(), city_dialog::refresh(), cma_yoloswag::release_city(), remove_city(), remove_trade_route(), request_unit_airlift(), request_unit_build_city(), request_unit_caravan_action(), request_unit_change_homecity(), request_unit_upgrade(), cma_yoloswag::result_came_from_server(), city_dialog::save_worklist(), send_rally_path_orders(), sg_load_player_cities(), sg_load_player_city(), sg_save_map_worked(), spy_send_sabotage_list(), tai_city_worker_requests_create(), texai_city_destroyed(), texai_city_info_recv(), texai_city_update(), texai_city_worker_requests_create(), text_tag_initv(), text_tag_start_sequence(), throw_units_from_illegal_cities(), transfer_city(), transfer_city_units(), unit_change_homecity_handling(), unit_conquer_city(), unit_do_destroy_city(), unit_do_disband_trad(), unit_virtual_create(), update_capital(), update_city_activity(), update_dumb_city(), vision_site_new_from_city(), vision_site_update_from_city(), wonder_built(), wonder_destroyed(), and worklist_change_build_target().
| int city::illness_trade |
Definition at line 341 of file city.h.
Referenced by city_handle_plague_risk(), city_illness_calc(), city_illness_strike(), handle_city_info(), and package_city().
| int city::last_turns_shield_surplus |
Definition at line 364 of file city.h.
Referenced by city_change_production_penalty(), city_distribute_surplus_shields(), handle_city_info(), package_city(), and sg_load_player_city().
| int city::length |
Definition at line 386 of file city.h.
Referenced by city_build_unit(), city_create_unit(), handle_city_rally_point(), package_city(), and sg_load_player_city().
| citizens city::martial_law |
Definition at line 307 of file city.h.
Referenced by citizen_happy_units(), and city_support().
| char city::name[MAX_LEN_CITYNAME] |
Definition at line 292 of file city.h.
Referenced by trade_generator::add_city(), city_name_get(), city_remove_improvement(), create_city_virtual(), handle_city_info(), handle_city_rename(), handle_city_short_info(), handle_edit_city(), sg_load_player_city(), and transfer_city().
| citizens* city::nationality |
Definition at line 310 of file city.h.
Referenced by citizens_free(), citizens_init(), citizens_nation_add(), citizens_nation_get(), citizens_nation_set(), citizens_update(), city_build(), create_city(), and sg_load_player_city_citizens().
| enum city_updates city::need_updates |
| struct unit_order* city::orders |
Definition at line 391 of file city.h.
Referenced by city_build_unit(), city_create_unit(), handle_city_rally_point(), package_city(), and sg_load_player_city().
| struct player* city::original |
Definition at line 295 of file city.h.
Referenced by city_incite_cost(), create_city_virtual(), dai_can_requirement_be_met_in_city(), dai_goldequiv_clause(), handle_city_info(), handle_city_short_info(), handle_tile_info(), sg_load_player_city(), and unit_conquer_city().
| struct player* city::owner |
Definition at line 294 of file city.h.
Referenced by begin_phase(), city_change_size(), city_owner(), city_populate(), city_reduce_size(), create_city_virtual(), dai_manage_caravan(), dai_upgrade_units(), disband_city(), do_city_migration(), great_wonder_is_built(), handle_city_info(), handle_city_short_info(), handle_player_diplstate(), handle_tile_info(), handle_unit_bombard_info(), handle_worker_task(), is_friendly_city_near(), map_claim_border(), polished_citybar_painter::paint(), paste_tile(), popup_info_text(), sdi_try_defend(), texai_city_info_recv(), transfer_city(), unit_description(), unit_do_disband_trad(), and unit_move_consequences().
| bool city::persistent |
Definition at line 388 of file city.h.
Referenced by city_build_unit(), handle_city_rally_point(), package_city(), and sg_load_player_city().
| int city::pollution |
Definition at line 340 of file city.h.
Referenced by adv_eval_calc_city(), check_pollution(), city_illness_calc(), city_refresh_from_main_map(), cr_entry_pollution(), handle_city_info(), package_city(), and city_info::update_labels().
| int city::prod[O_LAST] |
Definition at line 327 of file city.h.
Referenced by adv_eval_calc_city(), citizen_happy_luxury(), city_gold_worth(), city_production_build_units(), city_refresh_from_main_map(), cm_print_city(), compute_max_stats_heuristic(), cr_entry_luxury(), cr_entry_output(), cr_entry_science(), dai_choose_diplomat_offensive(), get_city_dialog_output_text(), get_city_dialog_pollution_text(), handle_city_change(), handle_city_info(), package_city(), set_city_production(), set_surpluses(), text_happiness_luxuries(), unhappy_city_check(), and city_info::update_labels().
| struct universal city::production |
Definition at line 364 of file city.h.
Referenced by adjust_improvement_wants_by_effects(), apply_disaster(), base_city_queue_insert(), building_advisor(), change_build_target(), city_dialog::change_production(), choice_is_promising(), choose_build_target(), city_build_building(), city_build_stuff(), city_build_unit(), city_can_buy(), city_choose_build_default(), city_get_queue(), city_increase_size(), city_production_build_shield_cost(), city_production_build_units(), city_production_buy_gold_cost(), city_production_has_flag(), city_production_name_translation(), city_production_turns_to_build(), city_set_queue(), city_turn_notify(), cityrep_buy(), clipboard_copy_production(), clipboard_send_production_packet(), compute_max_stats_heuristic(), dai_choose_help_wonder(), dai_manage_caravan(), define_orig_production_values(), diplomat_sabotage(), disband_city(), do_unit_strike_city_production(), get_city_mapview_production(), get_current_construction_bonus(), handle_city_change(), handle_city_info(), package_city(), polished_citybar_painter::paint(), really_handle_city_buy(), city_widget::select_building_something(), send_rally_tile(), sg_load_player_city(), should_force_recalc(), tgt_city_local_building(), tgt_city_local_utype(), transfer_city(), unit_do_help_build(), city_dialog::update_building(), upgrade_building_prod(), upgrade_unit_prod(), and wonder_benefit().
| struct { ... } city::rally_point |
Referenced by city_build_unit(), city_create_unit(), handle_city_rally_point(), package_city(), and sg_load_player_city().
| int city::rapture |
Definition at line 356 of file city.h.
Referenced by city_rapture_grow(), sg_load_player_city(), and update_city_activity().
| struct trade_route_list* city::routes |
Definition at line 313 of file city.h.
Referenced by city_num_trade_routes(), create_city_virtual(), destroy_city_virtual(), do_unit_establish_trade(), get_city_mapview_trade_routes(), handle_city_info(), handle_traderoute_info(), player_can_see_city_externals(), reestablish_city_trade_routes(), remove_trade_route(), and sg_load_player_city().
| int city::saved_surplus[O_LAST] |
Definition at line 332 of file city.h.
Referenced by city_distribute_surplus_shields(), city_populate(), city_save_surpluses(), and update_city_activity().
| struct { ... } city::server |
Referenced by adjust_improvement_wants_by_effects(), adv_city_alloc(), adv_city_free(), adv_city_update(), adv_city_worker_act_get(), adv_city_worker_act_set(), adv_city_worker_extra_get(), adv_city_worker_extra_set(), adv_city_worker_rmextra_get(), adv_city_worker_rmextra_set(), assess_danger(), auto_arrange_workers(), building_advisor_choose(), citizens_update(), city_ai_data(), city_create_unit(), city_did_prod_change(), city_freeze_workers(), city_freeze_workers_queue(), city_handle_plague_risk(), city_illness_check(), city_illness_strike(), city_map_update_empty(), city_map_update_tile_direct(), city_map_update_worker(), city_migration_score(), city_refresh(), city_refresh_queue_add(), city_refresh_vision(), city_set_ai_data(), city_thaw_workers(), create_city(), create_city_virtual(), dai_build_adv_override(), dai_choose_help_wonder(), dai_effect_value(), debug_command(), military_advisor_choose_build(), remove_city(), send_city_info(), sg_load_player_cities(), sg_load_player_city(), and transfer_city().
| int city::shield_stock |
Definition at line 339 of file city.h.
Referenced by adjust_improvement_wants_by_effects(), apply_disaster(), build_points_left(), change_build_target(), city_build_building(), city_build_unit(), city_can_change_build(), city_distribute_surplus_shields(), city_production_build_units(), city_production_buy_gold_cost(), city_turn_notify(), cr_entry_building(), dai_process_defender_want(), dai_spend_gold(), diplomat_incite(), diplomat_sabotage(), do_unit_strike_city_production(), get_act_sel_action_custom_text(), get_city_dialog_production(), handle_city_info(), handle_edit_city(), military_advisor_choose_build(), package_city(), polished_citybar_painter::paint(), raze_city(), really_handle_city_buy(), sg_load_player_city(), unit_do_help_build(), city_dialog::update_building(), and wonder_benefit().
| citizens city::size |
Definition at line 301 of file city.h.
Referenced by apply_disaster(), city_incite_cost(), city_size_get(), city_size_set(), handle_city_info(), handle_city_short_info(), handle_edit_city(), max_tile_trade(), city_label::mousePressEvent(), polished_citybar_painter::paint(), and city_info::update_labels().
Definition at line 305 of file city.h.
Referenced by add_specialist_output(), apply_cmresult_to_city(), cma_yoloswag::apply_result_on_server(), apply_solution(), city_add_unit(), city_increase_size(), city_map_update_radius_sq(), city_map_update_tile_direct(), city_reduce_specialists(), city_repair_size(), city_specialists(), cm_print_city(), cm_result_copy(), cr_entry_specialist(), cr_entry_specialists(), create_city(), create_city_virtual(), get_city_citizen_types(), get_city_dialog_size_text(), get_entertainers(), handle_city_change_specialist(), handle_city_info(), handle_city_make_specialist(), handle_city_make_worker(), handle_city_short_info(), military_advisor_choose_build(), package_city(), resolve_city_emergency(), and sg_load_player_city().
| int city::steal |
Definition at line 383 of file city.h.
Referenced by diplomat_get_tech(), diplomats_unignored_tech_stealings(), handle_city_info(), package_city(), sg_load_player_city(), and city_info::update_labels().
| int city::style |
Definition at line 297 of file city.h.
Referenced by city_style_refresh(), city_style_rule_name(), city_widget::display_list_menu(), handle_city_info(), handle_city_short_info(), package_city(), sg_load_player_city(), style_of_city(), and update_dumb_city().
| int city::surplus[O_LAST] |
Definition at line 324 of file city.h.
Referenced by adjust_improvement_wants_by_effects(), adv_eval_calc_city(), auto_arrange_workers(), building_advisor(), city_build_building(), city_distribute_surplus_shields(), city_increase_size(), city_migration_score(), city_rapture_grow(), city_save_surpluses(), city_turn_notify(), city_turns_to_build(), city_turns_to_grow(), cm_print_city(), cm_result_copy(), cr_entry_building(), cr_entry_foodplus(), cr_entry_gold(), cr_entry_output(), cr_entry_prodplus(), cr_entry_resources(), cr_entry_tradeplus(), dai_effect_value(), dai_hunter_guess_best(), dai_hunter_missile_want(), dai_unit_make_homecity(), do_city_migration(), domestic_advisor_choose_build(), evaluate_solution(), get_caravan_enter_city_trade_bonus(), get_city_dialog_output_text(), get_city_dialog_production(), get_city_mapview_name_and_growth(), handle_city_info(), military_advisor_choose_build(), military_amortize(), package_city(), polished_citybar_painter::paint(), resolve_city_emergency(), set_surpluses(), city_info::update_labels(), cityIconInfoLabel::updateText(), and wonder_benefit().
| struct worker_task_list* city::task_reqs |
Definition at line 381 of file city.h.
Referenced by clear_worker_task(), clear_worker_tasks(), create_city_virtual(), destroy_city_virtual(), freeciv::layer_workertask::fill_sprite_array(), handle_worker_task(), package_and_send_worker_tasks(), and sg_load_player_cities().
| struct tile* city::tile |
Definition at line 293 of file city.h.
Referenced by adjust_improvement_wants_by_effects(), adjust_wants_for_reqs(), api_methods_city_tile_get(), assess_danger_unit(), assess_defense_backend(), assess_defense_quadratic(), broadcast_city_info(), can_cities_trade(), can_city_build_improvement_direct(), can_city_build_improvement_later(), can_city_build_unit_direct(), can_city_build_unit_later(), caravan_find_best_destination_withtransit(), city_widget::center(), center_next_player_capital(), center_on_something(), city_base_to_city_map(), city_change_size(), city_create_unit(), city_gold_worth(), city_got_defense_effect(), city_incite_cost(), city_log_prefix(), city_populate(), city_production_unit_veteran_level(), city_reduce_size(), city_support(), city_tile(), city_tile_cache_update(), city_unit_present(), city_widget::city_view(), city_waste(), cityrep_buy(), client_remove_unit(), cr_entry_attack(), cr_entry_continent(), cr_entry_defense(), cr_entry_present(), create_city_virtual(), dai_caravan_can_trade_cities_diff_cont(), dai_caravan_goto(), dai_choose_defender_versus(), dai_choose_help_wonder(), dai_choose_paratrooper(), dai_choose_trade_route(), dai_city_sell_noncritical(), dai_diplomat_defend(), dai_effect_value(), dai_find_boat_for_unit(), dai_hunter_find(), dai_hunter_missile_want(), dai_manage_caravan(), dai_manage_diplomat(), dai_manage_hitpoint_recovery(), dai_manage_paratrooper(), dai_military_attack(), dai_military_attack_barbarian(), dai_military_bodyguard(), dai_military_defend(), dai_military_findjob(), dai_upgrade_units(), diplomat_get_tech(), diplomat_incite(), diplomat_investigate(), diplomat_sabotage(), disband_city(), do_airline(), find_city_or_settler_near_tile(), find_city_to_diplomat(), game_remove_unit(), get_caravan_enter_city_trade_bonus(), city_dialog::get_city(), get_final_city_output_bonus(), goto_dialog::go_to_city(), cma_yoloswag::handle_city(), handle_city_change(), handle_city_info(), handle_city_rename(), handle_city_short_info(), handle_diplomacy_create_clause_req(), handle_unit_packet_common(), is_city_center(), unit_hud_selector::island_filter(), link_mark_tile(), map_claim_border(), max_tile_trade(), military_advisor_choose_build(), min_food_surplus_for_fastest_growth(), num_continent_buildings(), traditional_citybar_painter::paint(), polished_citybar_painter::paint(), paste_tile(), real_city_dialog_popup(), really_handle_city_buy(), really_handle_city_sell(), reestablish_city_trade_routes(), refresh_dumb_city(), trade_generator::remove_city(), search_homecity_for_caravan(), city_widget::select_coastal(), city_widget::select_same_island(), send_city_info(), city_dialog::setup_ui(), sg_load_player_city(), mr_menu::slot_autocaravan(), teleport_unit_to_city(), text_happiness_units(), toggle_city_color(), trade_base_between_cities(), transfer_city_units(), transfer_unit(), try_summon_barbarians(), unit_virtual_create(), update_dumb_city(), city_dialog::update_units(), upgrade_city_extras(), and vision_site_update_from_city().
| struct tile_cache* city::tile_cache |
Definition at line 318 of file city.h.
Referenced by city_tile_cache_get_output(), city_tile_cache_update(), and destroy_city_virtual().
| int city::tile_cache_radius_sq |
Definition at line 321 of file city.h.
Referenced by city_tile_cache_get_output(), city_tile_cache_update(), and create_city_virtual().
| int city::turn_founded |
Definition at line 357 of file city.h.
Referenced by city_can_buy(), create_city_virtual(), handle_city_info(), is_req_active(), package_city(), really_handle_city_buy(), and sg_load_player_city().
| int city::turn_last_built |
Definition at line 358 of file city.h.
Referenced by adjust_improvement_wants_by_effects(), city_build_building(), city_build_unit(), city_built_last_turn(), create_city_virtual(), handle_city_info(), package_city(), and sg_load_player_city().
| int city::turn_plague |
Definition at line 345 of file city.h.
Referenced by city_had_recent_plague(), city_illness_strike(), create_city_virtual(), and sg_load_player_city().
| int city::unhappy_penalty[O_LAST] |
Definition at line 326 of file city.h.
Referenced by get_city_dialog_output_text(), get_city_dialog_pollution_text(), handle_city_info(), package_city(), and unhappy_city_check().
| citizens city::unit_happy_upkeep |
Definition at line 308 of file city.h.
Referenced by citizen_happy_units(), and city_support().
| struct unit_list* city::units_supported |
Definition at line 377 of file city.h.
Referenced by city_balance_treasury_units(), city_distribute_surplus_shields(), city_gold_worth(), city_packet_common(), city_populate(), city_support(), city_total_unit_gold_upkeep(), city_unit_slots_available(), city_unit_supported(), city_units_upkeep(), cr_entry_supported(), create_city_virtual(), create_unit_full(), dai_assess_military_unhappiness(), dai_choose_trade_route(), dai_effect_value(), dai_hunter_find(), destroy_city_virtual(), diplomat_investigate(), disband_city(), do_city_migration(), game_remove_unit(), handle_unit_packet_common(), freeciv::upkeep_widget::refresh(), remove_city(), resolve_city_emergency(), sg_load_player_units(), text_happiness_units(), transfer_city(), transfer_city_units(), unit_change_homecity_handling(), update_city_activity(), and city_dialog::update_units().
| int city::usage[O_LAST] |
Definition at line 329 of file city.h.
Referenced by city_support(), get_city_dialog_output_text(), handle_city_info(), init_min_production(), package_city(), set_city_production(), set_surpluses(), and unhappy_city_check().
| bool city::vigilant |
Definition at line 390 of file city.h.
Referenced by city_build_unit(), city_create_unit(), handle_city_rally_point(), package_city(), and sg_load_player_city().
| bool city::was_happy |
Definition at line 353 of file city.h.
Referenced by base_city_celebrating(), handle_city_info(), package_city(), sg_load_player_city(), and update_city_activity().
| int city::waste[O_LAST] |
Definition at line 325 of file city.h.
Referenced by city_waste(), cityresult_fill(), cr_entry_corruption(), cr_entry_waste(), get_city_dialog_output_text(), handle_city_info(), package_city(), set_city_production(), and city_info::update_labels().
| struct worklist city::worklist |
Definition at line 364 of file city.h.
Referenced by base_city_queue_insert(), city_build_unit(), city_get_queue(), city_production_build_units(), city_queue_insert(), city_queue_insert_worklist(), city_set_queue(), cr_entry_building(), create_city_virtual(), handle_city_info(), handle_city_worklist(), package_city(), sg_load_player_city(), and worklist_change_build_target().