Freeciv-3.3
Loading...
Searching...
No Matches
Functions | Variables
game.c File Reference
#include "fcintl.h"
#include "ioz.h"
#include "log.h"
#include "mem.h"
#include "shared.h"
#include "support.h"
#include "cm.h"
#include "ai.h"
#include "achievements.h"
#include "actions.h"
#include "actres.h"
#include "city.h"
#include "connection.h"
#include "counters.h"
#include "diptreaty.h"
#include "disaster.h"
#include "extras.h"
#include "government.h"
#include "idex.h"
#include "map.h"
#include "multipliers.h"
#include "nation.h"
#include "packets.h"
#include "player.h"
#include "research.h"
#include "rgbcolor.h"
#include "spaceship.h"
#include "specialist.h"
#include "style.h"
#include "tech.h"
#include "terrain.h"
#include "traderoutes.h"
#include "unit.h"
#include "unitlist.h"
#include "victory.h"
#include "game.h"

Go to the source code of this file.

Functions

static void game_defaults (bool keep_ruleset_value)
 
int civ_population (const struct player *pplayer)
 
struct citygame_city_by_name (const char *name)
 
struct citygame_city_by_number (int id)
 
struct unitgame_unit_by_number (int id)
 
void game_remove_unit (struct world *gworld, struct unit *punit)
 
void game_remove_city (struct world *gworld, struct city *pcity)
 
void game_init (bool keep_ruleset_value)
 
void game_map_init (void)
 
void game_free (void)
 
void game_reset (void)
 
void game_ruleset_init (void)
 
void game_ruleset_free (void)
 
void initialize_globals (void)
 
bool is_player_phase (const struct player *pplayer, int phase)
 
const charpopulation_to_text (int thousand_citizen)
 
static charyear_suffix (void)
 
int generate_save_name (const char *format, char *buf, int buflen, const char *reason)
 
void user_flag_init (struct user_flag *flag)
 
void user_flag_free (struct user_flag *flag)
 
int current_turn_timeout (void)
 

Variables

struct civ_game game
 
struct world wld
 
bool am_i_server = FALSE
 
bool _ruleset_compat_mode = FALSE
 

Function Documentation

◆ civ_population()

int civ_population ( const struct player pplayer)

Count the # of thousand citizen in a civilisation.

Definition at line 73 of file game.c.

Referenced by get_info_label_text(), get_info_label_text_popup(), show_new_turn_info(), and update_info_label().

◆ current_turn_timeout()

int current_turn_timeout ( void  )

◆ game_city_by_name()

struct city * game_city_by_name ( const char name)

Find city with given name from any player.

Definition at line 87 of file game.c.

Referenced by city_name_suggestion(), is_allowed_city_name(), and search_for_city_name().

◆ game_city_by_number()

struct city * game_city_by_number ( int  id)

Often used function to get a city pointer from a city ID. City may be any city in the game. This now always uses fast idex method, instead of looking through all cities of all players.

Definition at line 106 of file game.c.

Referenced by aiguard_charge_city(), aiguard_check_guard(), aiguard_clear_charge(), aiguard_update_charge(), airlift(), goto_dialog::airlift_to(), chatwdg::anchor_clicked(), building_advisor(), city_dialog::buy(), caravan_establish_trade(), caravan_find_best_destination(), caravan_find_best_destination_notransit(), caravan_help_build(), caravan_marketplace(), check_city(), city_changed(), city_exist(), city_is_virtual(), city_model_get(), city_receives_goods(), city_dialog::city_rename(), city_unit_unhappiness(), client_diplomacy_clause_string(), client_remove_unit(), conquer_city_shrink(), conquer_city_shrink2(), create_city(), create_present_supported_units_widget_list(), create_unit_full(), dai_caravan_can_trade_cities_diff_cont(), dai_choose_help_wonder(), dai_evaluate_tile_for_air_attack(), dai_is_unit_tired_waiting_boat(), dai_manage_caravan(), dai_military_defend(), dai_wonder_city_distance(), destroy_city(), diplomat_embassy(), diplomat_incite(), diplomat_incite_callback(), diplomat_incite_escape(), diplomat_incite_yes_callback(), diplomat_investigate(), diplomat_sabotage(), diplomat_sabotage_esc(), diplomat_steal(), diplomat_steal_esc(), city_widget::display_list_menu(), city_dialog::display_worklist_menu(), do_capture_units(), do_unit_establish_trade(), event_after(), event_after(), expl_act_not_enabl(), find_something_to_kill(), game_remove_unit(), get_city_dialog_output_text(), get_selected_city(), goto_dialog::go_to_city(), goto_city_callback(), gui_refresh_unit_city_dialogs(), handle_city_info(), handle_city_nationalities(), handle_city_rally_point(), handle_city_remove(), handle_city_sabotage_list(), handle_city_short_info(), handle_city_update_counters(), handle_diplomacy_accept_treaty_req(), handle_diplomacy_create_clause_req(), handle_edit_city(), handle_edit_city_remove(), handle_investigate_started(), handle_player_diplstate(), handle_tile_info(), handle_trade_route_info(), handle_unit_action_answer(), handle_unit_action_query(), handle_unit_actions(), handle_unit_packet_common(), handle_unit_short_info(), handle_worker_task(), handle_worker_task(), goto_dialog::item_selected(), join_city(), link_mark_tile(), map_unit_homecity_enqueue(), middle_supported_unit_release(), impr_item::mouseDoubleClickEvent(), nuke_city(), objtype_get_object_from_id(), one_city_trade_benefit(), popup_action_selection(), popup_cma_from_city_report_callback(), popup_info_text(), qtg_refresh_unit_city_dialogs(), rally_set_tile(), real_bodyguard_log(), real_menus_update(), redraw_info_city_dialog(), redraw_unit_info_label(), reestablish_city_trade_routes(), refresh_airlift_column(), refresh_unit_city_dialogs(), remove_trade_route(), request_action_details_callback(), sabotage_impr_callback(), city_dialog::save_worklist(), server_remove_unit_full(), set_city_production(), sg_load_counters(), sg_load_player_units(), sg_load_player_units(), simple_action_callback(), simple_action_callback(), mr_menu::slot_autocaravan(), spy_advances_response(), spy_embassy(), spy_escape(), spy_improvements_response(), spy_incite_callback(), spy_investigate(), spy_nuke_city(), spy_nuke_city_esc(), spy_poison(), spy_poison_esc(), spy_request_sabotage_esc_list(), spy_request_sabotage_list(), spy_request_strike_bld_list(), spy_sabotage(), spy_sabotage_esc_request(), spy_sabotage_request(), spy_steal_callback(), spy_steal_gold(), spy_steal_gold_esc(), spy_steal_maps(), spy_steal_maps_esc(), spy_steal_popup_shared(), spy_steal_shared(), spy_steal_something(), spy_strike_bld_request(), supported_unit_callback(), supported_unit_callback(), supported_unit_middle_callback(), texai_refresh(), texai_req_worker_task_rcv(), text_tag_replace_text(), text_tag_start_sequence(), transform_unit(), unit_bribe_cost(), unit_can_est_trade_route_here(), unit_change_homecity_handling(), unit_change_owner(), unit_disband_recover(), unit_get_goods(), unit_home_city(), unit_move_consequences(), unit_perform_action(), unit_upgrade(), update_city_activities(), upgrade_callback(), upgrade_callback(), and usdlg_get_unit_descr().

◆ game_defaults()

static void game_defaults ( bool  keep_ruleset_value)
static

Set default game values.

Definition at line 220 of file game.c.

Referenced by game_init().

◆ game_free()

void game_free ( void  )

Frees all memory of the game.

Definition at line 476 of file game.c.

Referenced by client_game_free(), game_reset(), and server_game_free().

◆ game_init()

void game_init ( bool  keep_ruleset_value)

Initialise all game settings.

The variables are listed in alphabetical order.

Definition at line 445 of file game.c.

Referenced by client_game_init(), game_reset(), main(), and server_game_init().

◆ game_map_init()

void game_map_init ( void  )

Initialize map-specific parts of the game structure. Maybe these should be moved into the map structure?

Definition at line 463 of file game.c.

Referenced by srv_ready().

◆ game_remove_city()

void game_remove_city ( struct world gworld,
struct city pcity 
)

Remove city from game.

Definition at line 184 of file game.c.

Referenced by client_remove_city(), player_clear(), and remove_city().

◆ game_remove_unit()

void game_remove_unit ( struct world gworld,
struct unit punit 
)

In the server call wipe_unit(), and never this function directly.

Definition at line 123 of file game.c.

Referenced by client_remove_unit(), player_clear(), and server_remove_unit_full().

◆ game_reset()

void game_reset ( void  )

Do all changes to change view, and not full game_free()/game_init().

Definition at line 493 of file game.c.

Referenced by client_game_reset().

◆ game_ruleset_free()

void game_ruleset_free ( void  )

Frees all memory which in objects which are read from a ruleset.

Definition at line 566 of file game.c.

Referenced by game_free(), handle_ruleset_control(), and load_rulesetdir().

◆ game_ruleset_init()

void game_ruleset_init ( void  )

Initialize the objects which will read from a ruleset.

Definition at line 517 of file game.c.

Referenced by game_init(), handle_ruleset_control(), and load_rulesetdir().

◆ game_unit_by_number()

struct unit * game_unit_by_number ( int  id)

Find unit out of all units in game: now uses fast idex method, instead of looking through all units of all players.

Definition at line 115 of file game.c.

Referenced by act_sel_done_primary(), act_sel_location_callback(), act_sel_new_extra_tgt_callback(), act_sel_new_unit_tgt_callback(), action_confirmation(), action_decision_clear_want(), action_selection_next_in_focus(), action_selection_no_longer_in_progress(), adv_unit_execute_path(), aiguard_charge_unit(), aiguard_check_charge_unit(), aiguard_check_guard(), aiguard_clear_charge(), aiguard_clear_guard(), aiguard_guard_of(), aiguard_update_charge(), airlift(), chatwdg::anchor_clicked(), attack(), base(), caravan_establish_trade(), caravan_help_build(), caravan_marketplace(), clean(), compare_units(), conquer_city_shrink(), conquer_city_shrink2(), conquer_extras(), conquer_extras2(), create_advances_list(), create_improvements_list(), cultivate(), dai_auto_settler_run(), dai_diplomat_bribe_nearby(), dai_hunter_manage(), dai_hunter_try_launch(), dai_manage_airunit(), dai_manage_military(), dai_manage_paratrooper(), dai_military_attack(), dai_unit_attack(), dai_unit_move(), dai_unit_new_task(), debug_command(), destroy_city(), diplomat_bribe_stack(), diplomat_bribe_stack_callback(), diplomat_bribe_stack_yes_callback(), diplomat_bribe_unit(), diplomat_bribe_unit_callback(), diplomat_bribe_unit_yes_callback(), diplomat_embassy(), diplomat_incite(), diplomat_incite_callback(), diplomat_incite_escape(), diplomat_incite_yes_callback(), diplomat_investigate(), diplomat_queue_handle_primary(), diplomat_queue_handle_primary(), diplomat_sabotage(), diplomat_sabotage_esc(), diplomat_steal(), diplomat_steal_esc(), disembark1(), disembark2(), do_attack(), do_capture_units(), enter_hut(), enter_hut2(), event_after(), event_after(), find_best_city_placement(), fortify(), frighten_hut(), frighten_hut2(), handle_edit_unit(), handle_edit_unit_remove_by_id(), handle_player_diplstate(), handle_unit_action_answer(), handle_unit_action_query(), handle_unit_actions(), handle_unit_combat_info(), handle_unit_get_actions(), handle_unit_packet_common(), handle_unit_remove(), homeless(), hud_unit_combat::hud_unit_combat(), irrigate(), join_city(), link_mark_tile(), map_claim_base(), mine(), nuke(), nuke_city(), objtype_get_object_from_id(), paradrop(), paradrop_conquer(), paradrop_enter(), paradrop_enter_conquer(), paradrop_frighten(), paradrop_frighten_conquer(), pillage(), pillage_callback(), pillage_something(), plant(), popup_action_selection(), popup_upgrade_dialog(), real_bodyguard_log(), regular_move(), request_action_details_callback(), request_do_action(), road(), sabotage_impr_callback(), select_more_arrow_callback(), select_more_arrow_pixmap_callback(), select_unit_image_callback(), select_unit_pic_callback(), choice_dialog::set_layout(), sg_load_player_units_transport(), sg_load_player_units_transport(), sha_unit_change(), sha_unit_new(), simple_action_callback(), simple_action_callback(), spy_advances_response(), spy_embassy(), spy_escape(), spy_improvements_response(), spy_incite_callback(), spy_investigate(), spy_nuke_city(), spy_nuke_city_esc(), spy_poison(), spy_poison_esc(), spy_request_sabotage_esc_list(), spy_request_sabotage_list(), spy_request_strike_bld_list(), spy_sabotage(), spy_sabotage_esc_request(), spy_sabotage_request(), spy_steal_callback(), spy_steal_gold(), spy_steal_gold_esc(), spy_steal_maps(), spy_steal_maps_esc(), spy_steal_popup_shared(), spy_steal_shared(), spy_steal_something(), spy_strike_bld_request(), suicide_attack(), text_tag_replace_text(), text_tag_start_sequence(), tgt_extra_change_callback(), tgt_unit_change_callback(), transfer_city(), transform_terrain(), transport_response_callback(), unit_disband_recover(), unit_home_city(), unit_is_alive(), unit_is_virtual(), unit_perform_action(), unit_survive_autoattack(), unit_upgrade(), choice_dialog::update_dialog(), upgrade_callback(), upgrade_callback(), and usdlg_cmd_exec().

◆ generate_save_name()

int generate_save_name ( const char format,
char buf,
int  buflen,
const char reason 
)

Generate a default save file name and place it in the provided buffer. Within the name the following custom formats are allowed:

R = reason S = suffix T = game.info.turn Y = game.info.year

Examples: 'freeciv-T%04T-Y%+04Y-R' => 'freeciv-T0099-Y-0050-manual' => 'freeciv-T0100-Y00001-auto'

Returns the number of characters written, or the number of characters that would have been written if truncation occurs.

NB: If you change the format definition, be sure to update the above function comment and the help text for the 'savename' setting.

Definition at line 796 of file game.c.

Referenced by mapimg_colortest(), mapimg_create(), save_game(), save_game_auto(), and savename_validate().

◆ initialize_globals()

void initialize_globals ( void  )

Initialize wonder information.

Definition at line 688 of file game.c.

Referenced by sg_load_players(), and sg_load_players().

◆ is_player_phase()

bool is_player_phase ( const struct player pplayer,
int  phase 
)

Return TRUE if it is this player's phase. NB: The meaning of the 'phase' argument must match its use in the function begin_turn() in server/srv_main.c. NB: The phase mode PMT_TEAMS_ALTERNATE assumes that every player is on a team, i.e. that pplayer->team is never NULL.

Definition at line 712 of file game.c.

Referenced by begin_phase(), blink_turn_done_button(), can_end_turn(), handle_start_phase(), handle_unit_orders(), handle_unit_packet_common(), player_set_to_ai_mode(), plrdlg_col_state(), and unit_focus_advance().

◆ population_to_text()

const char * population_to_text ( int  thousand_citizen)

Return a prettily formatted string containing the population text. The population is passed in as the number of citizens, in unit (tens/hundreds/thousands...) defined in cities.ruleset.

Definition at line 739 of file game.c.

Referenced by city_dialog_update_title(), get_info_label_text(), get_info_label_text_popup(), popup_city_cma_dialog(), rebuild_citydlg_title_str(), show_new_turn_info(), update_info_label(), and city_dialog::update_title().

◆ user_flag_free()

void user_flag_free ( struct user_flag flag)

◆ user_flag_init()

void user_flag_init ( struct user_flag flag)

◆ year_suffix()

static char * year_suffix ( void  )
static

Return a string containing the save year.

Definition at line 750 of file game.c.

Referenced by generate_save_name().

Variable Documentation

◆ _ruleset_compat_mode

bool _ruleset_compat_mode = FALSE

Definition at line 66 of file game.c.

Referenced by is_ruleset_compat_mode(), and set_ruleset_compat_mode().

◆ am_i_server

bool am_i_server = FALSE

Definition at line 64 of file game.c.

Referenced by i_am_client(), i_am_server(), and is_server().

◆ game

Definition at line 61 of file game.c.

Referenced by a_connection_exists(), achievement_by_number(), action_dice_roll_initial_odds(), action_hard_reqs_actor(), action_target_neg_util(), actres_possible(), tab_achievement::add_now(), tab_counter::add_now(), tab_extras::add_now(), tab_good::add_now(), tab_gov::add_now(), tab_multiplier::add_now(), tab_tech::add_now(), tab_terrains::add_now(), tab_unit::add_now(), tab_building::add_now2(), add_tax_income(), adjust_improvement_wants_by_effects(), adv_best_government(), advance_array_last(), advance_by_number(), advance_count_real(), ai_init(), ai_traits_init(), aifill(), diplo_wdg::all_advances(), announce_player(), api_edit_create_trade_route(), api_edit_give_technology(), api_edit_player_give_bulbs(), api_luadata_get_str(), api_methods_city_inspire_partisans(), api_methods_game_ruleset_name(), api_methods_game_rulesetdir(), api_methods_game_turn(), api_methods_game_turn_deprecated(), api_methods_game_year(), api_methods_game_year_fragment(), api_methods_player_tech_bulbs(), api_methods_player_tech_cost(), api_methods_tech_cost_style(), api_methods_tech_leakage_style(), assign_player_colors(), auto_workers_player(), autosaves_callback(), autotoggle_action(), away_command(), base_assess_defense_unit(), base_city_celebrating(), base_count(), base_want(), basic_city_style_for_style(), begin_phase(), begin_turn(), blink_turn_done_button(), boot_help_texts(), broadcast_city_info(), build_free_small_wonders(), build_landarea_map(), calendar_text(), can_cities_trade(), can_conn_edit(), can_conn_edit_players_nation(), can_end_turn(), can_exist_at_tile(), can_player_build_unit_direct(), chat_msg_to_all(), chat_msg_to_global_observers(), check_city_migrations(), check_city_migrations_player(), check_disasters(), check_for_full_turn_done(), check_for_game_over(), check_leaving_edit_mode(), check_player_or_user_name(), check_terrain_change(), choice_is_promising(), choose_tech(), choose_tech_to_steal(), citizen_convert_check(), citizen_happiness_nationality(), citizen_luxury_happy(), citizens_convert(), citizens_convert_conquest(), citizens_count(), citizens_init(), citizens_nation_add(), citizens_nation_get(), citizens_nation_set(), citizens_print(), citizens_unit_nationality(), citizens_update(), city_add_improvement(), city_build_building(), city_build_free_buildings(), city_build_unit(), city_built_last_turn(), city_can_buy(), city_counters_refresh(), city_create_unit(), city_desirability(), city_destroy_callback(), city_dialog_update_information(), city_dialog_update_information(), city_distribute_surplus_shields(), city_from_great_wonder(), city_gold_worth(), city_granary_size(), city_had_recent_plague(), city_happy(), city_history_gain(), city_illness_calc(), city_illness_strike(), city_incite_cost(), city_increase_size(), city_map_update_radius_sq(), city_migration_score(), city_pollution_types(), city_populate(), city_rapture_grow(), city_style(), city_style_by_rule_name(), city_style_by_translated_name(), city_styles_alloc(), city_styles_free(), city_support(), city_tile_output(), city_waste(), citymindist_prevents_city_on_tile(), cityresult_fill(), cityresult_new(), civil_war(), civil_war_possible(), clause_enabled(), clear_worker_task(), client_can_pick_nation(), client_exit(), client_game_free(), client_main(), client_remove_all_cli_conn(), client_remove_cli_conn(), close_connection(), close_connections_and_socket(), edit_extra::closeEvent(), edit_terrain::closeEvent(), edit_utype::closeEvent(), cmd_reply_line(), cmdlevel_command(), collect_ransom(), combat_veterans(), compat_load_030300(), con_handle_log(), conn_by_number(), conn_by_user(), conn_by_user_prefix(), conn_is_kicked(), connection_accessor(), connection_attach_real(), connection_detach(), connectmsg_command(), contemplate_new_city(), count_voters(), counter_by_id(), counter_by_rule_name(), counter_by_translated_name(), counters_free(), counters_init(), cr_entry_plague_risk(), gov_menu::create(), create_advances_list(), create_and_append_happiness_page(), create_animals(), create_barbarian_player(), create_city(), create_city_virtual(), create_clause_menu(), create_command_newcomer(), create_command_pregame(), create_conn_menu(), create_event(), current_nationset(), current_turn_timeout(), cut_lagging_connection(), dai_build_adv_adjust(), dai_calc_data(), dai_choose_diplomat_offensive(), dai_choose_trade_route(), dai_diplomacy_actions(), dai_effect_value(), dai_go_to_war(), dai_goldequiv_clause(), dai_goldequiv_tech(), dai_is_unit_tired_waiting_boat(), dai_manage_cities(), dai_manage_government(), dai_manage_taxes(), dai_military_rampage(), dai_share(), dai_tech_base_want(), dai_treaty_evaluate(), dai_unit_defense_desirability(), debug_command(), destroy_extra(), diplomacy_dialog_tech_callback(), diplomacy_dialog_tech_callback(), diplomacy_possible(), diplomat_escape_full(), diplomat_get_tech(), diplomat_infiltrate_tile(), diplomat_may_lose_gold(), disaster_by_number(), disaster_count(), do_airline(), do_attack(), do_border_vision_effect(), do_capture_units(), do_city_migration(), do_nuke_tile(), do_tech_parasite_effects(), do_unit_establish_trade(), do_unit_upgrade(), do_upgrade_effects(), domestic_advisor_choose_build(), edit_extra::edit_extra(), edit_mode_callback(), edit_terrain::edit_terrain(), edit_utype::edit_utype(), edithand_send_initial_packets(), editor_tool_is_usable(), end_command(), end_phase(), end_turn(), endturn_callback(), establish_new_connection(), evaluate_city_name_priority(), evaluate_solution(), event_cache_add_for_all(), event_cache_add_for_global_observers(), event_cache_add_for_player(), event_cache_add_for_players(), event_cache_data_new(), event_cache_match(), event_cache_remove_old(), expl_act_not_enabl(), extra_count(), extras_free(), extviewer_refresh_widgets(), extviewer_view_cell_toggled(), fill_basic_base_sprite_array(), fill_basic_road_sprite_array(), fill_city_overlays_sprite_array(), fill_grid_sprite_array(), final_ruleset_adjustments(), find_city_or_settler_near_tile(), find_dispersed_position(), first_timeout_action(), fit_nationset_to_players(), flush_packets(), tab_misc::flush_widgets(), food_starvation(), found_new_tech(), game_advance_year(), game_defaults(), game_map_init(), game_next_year(), game_remove_unit(), game_ruleset_free(), game_ruleset_init(), game_was_started(), generate_save_name(), generator_validate(), get_airlift_text(), get_caravan_enter_city_trade_bonus(), get_city_dialog_airlift_text(), get_city_dialog_airlift_value(), get_city_dialog_illness_text(), get_economy_report_data(), get_entertainers(), get_global_warming_tooltip(), get_info_label_text(), get_info_label_text_popup(), get_modified_firepower(), get_nuclear_winter_tooltip(), get_player_or_user_name(), get_settlers(), get_tax_rates(), get_timeout_label_text(), get_trade_illness(), get_unit_info_label_text2(), get_user_meta_message_string(), give_immediate_free_tech(), give_initial_techs(), give_midgame_initial_units(), global_warming_scaled(), goods_by_number(), government_by_number(), government_change(), government_count(), governments_alloc(), governments_free(), great_wonder_is_available(), great_wonder_is_built(), great_wonder_is_destroyed(), great_wonder_owner(), handle_achievement_info(), handle_calendar_info(), handle_city_nationalities(), handle_city_short_info(), handle_client_info(), handle_conn_info(), handle_diplomacy_accept_treaty_req(), handle_edit_city(), handle_edit_city_create(), handle_edit_fogofwar_state(), handle_edit_game(), handle_edit_mode(), handle_edit_player(), handle_edit_player_create(), handle_edit_player_vision(), handle_edit_scenario_desc(), handle_edit_startpos(), handle_edit_startpos_full(), handle_edit_tile_extra(), handle_edit_tile_terrain(), handle_edit_toggle_fogofwar(), handle_edit_unit_create(), handle_end_phase(), handle_end_turn(), handle_event(), handle_game_info(), handle_game_load(), handle_login_request(), handle_nation_select_req(), handle_new_year(), handle_player_change_government(), handle_player_info(), handle_player_phase_done(), handle_ruleset_city(), handle_ruleset_control(), handle_ruleset_description_part(), handle_ruleset_game(), handle_ruleset_music(), handle_ruleset_summary(), handle_ruleset_tech(), handle_rulesets_ready(), handle_save_scenario(), handle_scenario_description(), handle_scenario_info(), handle_set_topology(), handle_spaceship_launch(), handle_start_phase(), handle_stdin_input_real(), handle_tile_info(), handle_timeout_info(), handle_unit_change_activity(), handle_unit_orders(), handle_unit_packet_common(), helptext_advance(), helptext_building(), helptext_extra(), helptext_government(), helptext_nation(), helptext_unit(), historian_generic(), img_createmap(), img_new(), impr_base_build_shield_cost(), impr_build_shield_cost(), impr_estimate_build_shield_cost(), impr_sell_gold(), improvement_array_first(), improvement_array_last(), improvement_count(), increase_timeout_because_unit_moved(), init_connections(), init_game_seed(), init_government_of_nation(), init_new_game(), init_tech(), initialize_globals(), insert_generated_text(), is_age_req_active(), is_allowed_city_name(), is_allowed_to_take(), is_first_access_level_taken(), is_form_age_req_active(), is_mincalfrag_req_active(), is_mintechs_req_active(), is_minyear_req_active(), is_plain_public_message(), is_player_phase(), is_stack_vulnerable(), is_tech_req_active(), is_tired_attack(), is_universal_needed(), is_valid_start_pos(), key_editor_toggle(), kick_command(), kill_player(), ruledit_gui::launch_now(), load_building_names(), load_city_name_list(), load_city_sprite(), load_command(), load_game_names(), load_government_names(), load_nation_names(), load_ruleset_actions(), load_ruleset_cities(), load_ruleset_game(), load_ruleset_governments(), load_ruleset_nations(), load_ruleset_styles(), load_ruleset_techs(), load_ruleset_terrain(), load_ruleset_units(), load_rulesetdir(), load_rulesets(), load_style_names(), load_tech_names(), load_terrain_names(), load_unit_names(), log_civ_score_now(), lose_tech(), lost_connection_to_client(), lsend_vote_new(), lsend_vote_remove(), lsend_vote_resolve(), lsend_vote_update(), luascript_exec_check(), main(), main(), make_contact(), make_history_report(), manual_command(), manual_extras(), manual_governments(), manual_improvements(), manual_start(), manual_techs(), manual_terrain(), manual_uclasses(), manual_units(), map_calculate_borders(), map_change_seen(), map_claim_base(), map_claim_border(), map_claim_border_ownership(), map_update_border(), mapimg_command(), mapimg_create(), mr_menu::menus_sensitive(), min_food_surplus_for_fastest_growth(), multiplier_by_number(), multiplier_can_be_changed(), multiplier_count(), music_style_by_number(), musicset_suggestion_callback(), musicset_suggestion_response(), name_and_sort_items(), nation_by_number(), nation_count(), nation_group_by_number(), nation_group_new(), nation_has_initial_tech(), nation_history_gain(), plr_widget::nation_selected(), nation_set_by_number(), nation_set_new(), nations_alloc(), nations_free(), nationset_action(), notify_conn(), notify_conn_early(), notify_conn_packet(), notify_team(), nuclear_winter_scaled(), objtype_get_object_from_id(), package_and_send_worker_tasks(), package_city(), package_conn_info(), package_event_full(), package_player_info(), pf_attack_possible(), pf_get_move_scope(), phasemode_help(), pick_a_nation(), pick_free_tech(), pick_random_tech_to_lose(), place_starting_unit(), player_angry_citizens(), player_can_place_extra(), player_can_see_city_externals(), player_color_changeable(), player_get_expected_income(), player_has_really_useful_tech_parasite(), player_info_thaw(), player_loot_player(), player_mood(), player_preferred_color(), player_restore_units(), player_set_to_ai_mode(), player_set_under_human_control(), player_tech_upkeep(), player_tile_init(), player_update_last_war_action(), playercolor_add(), playercolor_count(), playercolor_free(), playercolor_get(), playercolor_init(), playernation_command(), plrdlg_col_state(), population_to_text(), popup_add_menu(), popup_conn_list_dialog(), popup_diplomatic_objects(), popup_government_dialog(), popup_info_text(), popup_musicset_suggestion_dialog(), popup_soundset_suggestion_dialog(), popup_tileset_suggestion_dialog(), property_editor_reload(), property_page_set_store_value(), propval_as_string(), qtg_real_science_report_dialog_update(), random_movements(), rank_users(), raze_city(), real_city_dialog_refresh(), real_conn_list_dialog_update(), real_menus_init(), real_menus_update(), real_output_window_append(), real_set_client_page(), real_timer_callback(), really_close_connections(), really_handle_city_buy(), redraw_info_city_dialog(), redraw_unit_info_label(), reestablish_city_trade_routes(), tab_misc::refresh(), tab_misc::refresh_stats(), reload_rulesets_settings(), remove_city(), remove_player_command(), remove_player_from_maps(), report_demographics(), report_final_scores(), report_top_cities(), request_unit_pillage(), research_apply_penalty(), research_get(), research_get_reachable_rreqs(), research_goal_bulbs_required(), research_invention_set(), research_invention_state(), research_iter_init(), research_name_translation(), research_player_iter_init(), research_pretty_name(), research_rule_name(), research_total_bulbs_required(), researches_init(), reset_all_start_commands(), reset_command(), restrict_infra(), revolentype_length(), revolution_length(), road_count(), rs_max_city_radius_sq(), rscompat_postprocess(), tab_misc::ruleset_loaded(), ruledit_gui::rulesetdir_given(), sanity_check_metadata(), sanity_check_req_individual(), sanity_check_ruleset_data(), save_actions_ruleset(), save_all_map_images(), save_cities_ruleset(), save_game(), save_game_auto(), save_game_ruleset(), save_governments_ruleset(), mr_menu::save_image(), save_luadata(), save_nation(), save_nations_ruleset(), tab_misc::save_now(), save_styles_ruleset(), save_techs_ruleset(), save_units_ruleset(), scan_score_log(), science_dialog_text(), see_combat(), sell_random_unit(), send_all_known_tiles(), send_city_info(), send_city_info_at_tile(), send_city_turn_notifications(), send_combat(), send_conn_info_arg(), send_current_history_report(), send_delegation_info(), send_game_info(), send_packet_data(), send_pending_events(), send_ping_times_to_all(), send_player_diplstate_c_real(), send_player_info_c_real(), send_player_remove_info_c(), send_research_info(), send_ruleset_cities(), send_ruleset_control(), send_ruleset_game(), send_ruleset_terrain(), send_scenario_description(), send_scenario_info(), send_server_setting(), send_spaceship_info(), send_tile_info(), send_turn_done(), send_unit_info(), send_updated_vote_totals(), send_year_to_clients(), server_accept_connection(), server_ai_level(), server_game_init(), server_make_connection(), server_quit(), server_remove_player(), server_remove_unit_full(), server_sniff_all_input(), set_ai_level(), set_command(), set_default_city_manager(), set_rulesetdir(), set_user_meta_message_string(), setting_is_free_to_change(), settings_game_load(), settings_game_reset(), settings_game_save(), settings_game_start(), settler_map_iterate(), ruledit_gui::setup(), sg_load_game(), sg_load_game(), sg_load_history(), sg_load_history(), sg_load_map(), sg_load_map(), sg_load_map_owner(), sg_load_map_owner(), sg_load_map_startpos(), sg_load_map_startpos(), sg_load_map_tiles_extras(), sg_load_map_tiles_resources(), sg_load_player_cities(), sg_load_player_cities(), sg_load_player_city(), sg_load_player_city_citizens(), sg_load_player_city_citizens(), sg_load_player_main(), sg_load_player_main(), sg_load_player_unit(), sg_load_player_unit(), sg_load_player_vision(), sg_load_player_vision(), sg_load_players(), sg_load_players(), sg_load_players_basic(), sg_load_players_basic(), sg_load_random(), sg_load_researches(), sg_load_ruleset(), sg_load_sanitycheck(), sg_load_sanitycheck(), sg_load_savefile(), sg_load_savefile(), sg_load_scenario(), sg_load_scenario(), sg_load_settings(), sg_load_settings(), sg_save_game(), sg_save_history(), sg_save_map(), sg_save_map_known(), sg_save_map_startpos(), sg_save_map_tiles_extras(), sg_save_player_cities(), sg_save_player_units(), sg_save_player_vision(), sg_save_random(), sg_save_researches(), sg_save_savefile(), sg_save_scenario(), show_connections(), diplo_wdg::show_menu(), show_new_turn_info(), show_players(), show_ruleset_info(), show_settings(), show_tech_gained_dialog(), fc_client::slot_pregame_observe(), soundset_suggestion_callback(), soundset_suggestion_response(), spaceship_calc_derived(), specialist_by_number(), specialist_count(), split_player(), spy_nuke_city(), spy_poison(), spy_steal_popup_shared(), spy_steal_shared(), spy_steal_some_maps(), srv_init(), srv_main(), srv_prepare(), srv_ready(), srv_running(), srv_scores(), start_command(), start_game(), fc_client::start_page_menu(), start_revolution(), start_turn_change_wait(), steal_a_tech(), style_by_number(), style_count(), suggest_tech_exchange(), summon_barbarians(), surrender_command(), switch_city_callback(), take_command(), tdc_plr_get(), tech_can_be_stolen(), tech_class_by_number(), tech_class_by_rule_name(), tech_transfer(), techs_have_fixed_costs(), techs_precalc_data(), terrain_array_first(), terrain_array_last(), terrain_by_number(), terrain_count(), test_unit_can_airlift_to(), texai_check_messages(), text_happiness_cities(), text_happiness_nationality(), textcalfrag(), textyear(), tile_border_source_radius_sq(), tile_border_source_strength(), tile_data_cache_new(), tile_set_owner(), tileset_background_init(), tileset_ruleset_reset(), tileset_setup_city_tiles(), tileset_suggestion_callback(), tileset_suggestion_response(), tilespec_reread(), timeout_action(), timeout_callback(), timeout_command(), timing_log_real(), toggle_ai_command(), toggle_ai_player_direct(), topology_action(), trade_base_between_cities(), trade_from_route(), transfer_city(), transform_unit(), tri_req_active_turns(), try_summon_barbarians(), turns_to_tech_loss(), uclass_by_number(), uclass_count(), unit_attack_civilian_casualties(), unit_attack_units_at_tile_result(), unit_being_aggressive(), unit_bombard_rate(), unit_bribe_cost(), unit_can_do_action_now(), unit_class_array_first(), unit_class_array_last(), unit_current_goods(), unit_description(), unit_did_action(), unit_focus_advance(), unit_gain_hitpoints(), unit_get_goods(), unit_move(), unit_move_consequences(), unit_move_to_tile_test(), unit_nuke(), unit_order_list_is_sane(), unit_survive_autoattack(), unit_type_array_first(), unit_type_array_last(), unit_virtual_create(), units_contain_cityfounder(), unitwaittime_callback(), universal_value_initial(), unleash_barbarians(), untargeted_revolution_allowed(), gov_menu::update(), update_bulbs(), fc_client::update_buttons(), update_city_activity(), update_diplomatics(), city_dialog::update_info_label(), fc_client::update_info_label(), update_intel_wonder_dialog(), update_national_activities(), update_player_tile_last_seen(), update_revolution(), fc_client::update_start_page(), update_start_page_buttons(), update_tile_knowledge(), update_timeout(), chat_listener::update_word_list(), utype_build_shield_cost(), utype_build_shield_cost_base(), utype_by_number(), utype_count(), utype_is_cityfounder(), utype_veteran_system(), victory_enabled(), wipe_unit_full(), wonder_built(), wonder_destroyed(), wonder_visible_to_player(), world_peace_update(), wrap_action(), write_init_script(), and year_suffix().

◆ wld

Definition at line 62 of file game.c.

Referenced by achievement_check(), act_sel_new_extra_tgt_callback(), act_sel_new_unit_tgt_callback(), action_auto_perf_unit_do(), action_auto_perf_unit_prob(), action_sub_target_id_for_action(), action_tgt_tile(), add_global_worklist(), add_resources(), adjust_terrain_param(), adv_calc_transform(), adv_could_be_my_zoc(), adv_could_unit_move_to_tile(), adv_danger_at(), adv_data_get(), adv_data_phase_init(), adv_unit_move(), goto_dialog::airlift_to(), chatwdg::anchor_clicked(), api_edit_create_unit_full(), api_edit_perform_action_unit_vs_city(), api_edit_perform_action_unit_vs_city_impr(), api_edit_perform_action_unit_vs_city_tech(), api_edit_perform_action_unit_vs_self(), api_edit_perform_action_unit_vs_tile(), api_edit_perform_action_unit_vs_tile_extra(), api_edit_perform_action_unit_vs_unit(), api_edit_unit_move(), api_edit_unit_teleport(), api_find_city(), api_find_tile(), api_find_tile_by_index(), api_find_unit(), api_methods_private_tile_for_outward_index(), api_methods_private_tile_next_outward_index(), api_methods_tile_city_exists_within_max_city_map(), api_methods_unit_can_upgrade(), api_methods_unit_city_can_be_built_here(), api_methods_unit_transform_problem(), api_methods_unit_type_can_exist_at_tile(), apply_cmresult_to_city(), apply_result_on_server(), apply_solution(), area_is_too_flat(), assign_continent_flood(), assign_continent_numbers(), attack(), auto_workers_player(), auto_workers_speculate_can_act_at(), base(), base_city_queue_insert(), begin_phase(), best_role_unit(), bounce_unit(), bounce_units_on_terrain_change(), build_city_callback(), build_city_callback(), build_landarea_map(), build_tile_data(), building_advisor(), butt_down_overviewcanvas(), button_down_citymap(), cai_auto_settler_cont(), cai_auto_settler_run(), cai_split_by_civil_war(), calculate_city_clusters(), calculate_want_for_paratrooper(), can_city_build_now_client(), can_create_unit_at_tile(), can_unit_move_to_tile_with_notify(), canvas_pos_to_nearest_tile(), canvas_pos_to_tile(), center_on_something(), city_dialog::change_production(), check_city_migrations_player(), check_native_area(), check_recursive_road_connect(), check_terrain_change(), check_units_single_tile(), choose_build_target(), city_build_unit(), city_desirability(), city_dialog_update_building(), city_dialog_update_supported_units(), city_gold_worth(), city_increase_size(), city_landlocked_sell_coastal_improvements(), city_map_update_all(), city_map_update_radius_sq(), city_rally_point_receive(), city_reduce_workers(), city_refresh(), city_select_coastal_callback(), city_select_coastal_callback(), city_tc_effect_refresh(), city_toggle_worker(), city_worklist_commit(), citylog_map_workers(), citymap_free_city_spot(), citymap_reserve_city_spot(), citymap_turn_init(), cityresult_fill(), civil_war_possible(), clean(), client_change_all(), client_city_tile(), client_remove_city(), client_remove_unit(), climate_change(), clipboard_send_production_packet(), cm_print_city(), cm_query_result(), cm_result_copy(), collect_eventually_buildable_targets(), combat_odds_to_astr(), compat_load_020600(), compat_load_030200(), compute_max_stats_heuristic(), contemplate_new_city(), contemplate_terrain_improvements(), city_map::context_menu(), continent_adjacency_count(), count_card_adjc_elevated_tiles(), unit_item::create_actions(), create_animals(), create_barbarian_player(), create_city(), create_city_for_player(), create_island(), create_start_positions(), create_tmap(), create_unit_menu(), create_unit_surface(), cultivate(), dai_action_value_unit_vs_city(), dai_airlift(), dai_barbarian_choose_build(), dai_caravan_goto(), dai_choose_attacker(), dai_choose_attacker_air(), dai_choose_defender_versus(), dai_choose_diplomat_offensive(), dai_choose_paratrooper(), dai_city_choose_build(), dai_city_want(), dai_consider_tile_dangerous(), dai_diplomat_bribe_nearby(), dai_diplomat_city(), dai_do_first_activities(), dai_effect_value(), dai_evaluate_tile_for_air_attack(), dai_fill_unit_param(), dai_find_strategic_airbase(), dai_gained_control(), dai_hunter_guess_best(), dai_hunter_manage(), dai_hunter_missile_want(), dai_hunter_try_launch(), dai_manage_barbarian_leader(), dai_manage_caravan(), dai_manage_cities(), dai_manage_diplomat(), dai_manage_paratrooper(), dai_manage_taxes(), dai_military_attack_barbarian(), dai_military_findjob(), dai_plr_data_get(), dai_rampage_want(), dai_unit_attack(), dai_unit_can_strike_my_unit(), dai_unit_move(), dai_wants_role_unit(), dai_wonder_city_distance(), debug_command(), destroy_extra(), diplomat_charge_movement(), disable_fog_of_war_player(), disembark1(), disembark2(), city_widget::display_list_menu(), do_attack(), do_city_migration(), do_conquer_extras(), do_disband_alternative(), do_disembark(), do_nuclear_explosion(), do_paradrop(), do_team_placement(), do_unit_conquer_city(), do_unit_embark(), do_unit_hut(), do_unit_paradrop_to(), do_unit_teleport_to(), do_upgrade_effects(), edit_buffer_copy_square(), edit_buffer_paste(), editor_get_selection_center(), enable_fog_of_war_player(), end_turn(), enter_hut(), enter_hut2(), enter_war(), establish_new_connection(), evaluate_city_name_priority(), event_after(), event_after(), event_cache_load(), event_cache_save(), execute_call(), execute_orders(), exit_find_city_dlg_callback(), expl_act_not_enabl(), explain_why_no_action_enabled(), explorer_desirable(), explorer_goto(), fair_map_island_new(), fair_map_make_huts(), fair_map_make_resources(), fair_map_place_island_team(), fill_island(), fill_parameter_part(), fill_terrain_sprite_blending(), find_a_good_partisan_spot(), find_beachhead(), find_best_city_placement(), find_best_focus_candidate(), find_best_tile_to_paradrop_to(), find_city_or_settler_near_tile(), find_closest_city(), find_dispersed_position(), find_empty_tile_nearby(), find_nearest_airbase(), find_nearest_safe_city(), find_rampage_target(), find_something_to_bomb(), find_something_to_kill(), fmfill(), found_new_tech(), frighten_hut(), frighten_hut2(), game_city_by_number(), game_free(), game_init(), game_remove_city(), game_reset(), game_unit_by_number(), gen5rec(), generate_map_indices(), generator_init_topology(), get_airlift_text(), get_continent_size(), get_discounted_reward(), get_island_surrounder(), get_lake_surrounder(), get_ocean_size(), get_random_map_position_from_state(), get_units_upgrade_info(), give_citymap_from_player_to_player(), give_distorted_map(), give_map_from_player_to_player(), give_seamap_from_player_to_player(), give_shared_vision(), goto_cmd_callback(), goto_fill_parameter_base(), goto_here_callback(), goto_is_sane(), handle_chat_msg(), handle_city_change(), handle_city_info(), handle_city_make_specialist(), handle_city_make_worker(), handle_city_name_suggestion_req(), handle_city_short_info(), handle_diplomacy_cancel_pact(), handle_early_chat_msg(), handle_edit_city_create(), handle_edit_player_vision(), handle_edit_startpos(), handle_edit_startpos(), handle_edit_startpos_full(), handle_edit_startpos_full(), handle_edit_tile(), handle_edit_tile_extra(), handle_edit_tile_terrain(), handle_edit_unit_create(), handle_edit_unit_remove(), handle_map_info(), handle_nuke_tile_info(), handle_player_diplstate(), handle_player_place_infra(), handle_set_topology(), handle_tile_info(), handle_unit_action_answer(), handle_unit_action_query(), handle_unit_actions(), handle_unit_get_actions(), handle_unit_orders(), handle_unit_packet_common(), handle_unit_sscs_set(), handle_unit_type_upgrade(), handle_worker_task(), handle_worker_task(), height_map_to_map(), hmap_pole_factor(), hut_get_limited(), huts_action(), huts_help(), illegal_action(), illegal_action_msg(), img_createmap(), immediate_destination(), impr_allows_actions(), impr_provides_buildable_extras(), impr_provides_buildable_units(), init_new_game(), init_tile_lattice(), initialize_infrastructure_cache(), initialize_isle_data(), initworld(), invasion_funct(), irrigate(), is_city_surrounded_by_our_spies(), is_latitude_req_active(), is_my_turn(), is_near_land(), is_near_land(), is_non_allied_city_adjacent(), is_refuel_tile(), is_req_active(), is_req_knowable(), is_req_unchanging(), is_resource_close(), is_temperature_type_near(), is_terrain_ecologically_wet(), is_tile_seen_adj(), is_tile_seen_cadj(), is_tile_seen_city(), is_tiny_island(), island_river_mouth_suitability(), island_river_suitability(), goto_dialog::item_selected(), kill_player(), kill_something_with(), kill_unit(), left_butt_down_overviewcanvas(), likely_native(), link_mark_tile(), load_ruleset_terrain(), local_ave_elevation(), look_for_charge(), main_map_allocate(), main_map_free(), make_fracture_map(), make_fracture_relief(), make_island(), make_land(), make_path_orders(), make_plains(), make_polar(), make_polar_land(), make_pseudofractal1_hmap(), make_relief(), make_river(), make_rivers(), make_terrains(), manage_auto_explorer(), map_calculate_borders(), map_claim_border(), map_clear_border(), map_fractal_generate(), map_generate_fair_islands(), map_is_empty(), map_know_and_see_all(), map_set_border_vision(), map_show_all(), map_show_circle(), map_signed_latitude(), map_startpos_by_number(), map_startpos_count(), map_startpos_get(), map_startpos_iter_init(), map_startpos_new(), map_startpos_remove(), map_update_border(), map_vision_update(), mapdeco_add_gotoline(), mapdeco_clear_gotoroutes(), mapdeco_remove_gotoline(), mapdeco_set_gotoroute(), mapgenerator2(), mapgenerator3(), mapgenerator4(), mapstep(), max_tile_trade(), may_unit_act_vs_city(), may_unit_act_vs_tile_extra(), may_unit_act_vs_unit(), maybe_become_veteran_real(), maybe_cancel_patrol_due_to_enemy(), maybe_make_contact(), mr_menu::menus_sensitive(), min_food_surplus_for_fastest_growth(), mine(), minimap_window_callback(), most_adjacent_ocean_type(), minimap_view::mousePressEvent(), move_unit_map_canvas(), name_new_city_popup_callback(), naval_bonus(), near_safe_tiles(), normalize_hmap_poles(), notify_conn_packet(), nuke(), objtype_get_object_from_id(), ocean_to_land_fix_rivers(), ok_for_separate_poles(), overview_to_map_pos(), overview_update_line(), package_city(), packhand_free(), paradrop(), paradrop_conquer(), paradrop_enter(), paradrop_enter_conquer(), paradrop_frighten(), paradrop_frighten_conquer(), paradrop_here_callback(), patrol_here_callback(), pillage(), pixel_border_hexa(), pixel_border_isohexa(), pixel_border_rect(), place_animal(), place_island(), place_partisans(), place_pollution(), place_starting_unit(), place_terrain(), place_unit(), plant(), player_city_by_number(), player_clear(), player_in_city_map(), player_map_free(), player_map_init(), player_restore_units(), player_unit_by_number(), city_production_model::populate(), popup_advanced_terrain_dialog(), popup_newcity_dialog(), popup_unit_upgrade_dlg(), popup_worklist_editor(), present_unit_callback(), print_mapgen_map(), process_attacker_want(), property_page_create_objects(), rand_map_pos_characteristic(), rand_map_pos_filtered(), random_movements(), real_distance_to_land(), real_menus_update(), really_give_map_from_player_to_player(), recalculate_surrounders(), refresh_airlift_button(), refresh_overview_canvas(), regenerate_lakes(), regular_move(), reinforcements_cost_and_value(), remove_city(), remove_player_from_maps(), remove_shared_vision(), remove_tiny_islands(), renormalize_hmap_poles(), request_action_details_callback(), request_move_unit_direction(), request_unit_load(), request_unit_non_action_move(), request_unit_paradrop(), request_unit_teleport(), request_unit_unload(), research_tech_lost(), resolve_city_emergency(), resolve_stack_conflicts(), right_butt_down_overviewcanvas(), right_button_down_citymap(), river_blockmark(), river_test_adjacent_highlands(), river_test_adjacent_ocean(), river_test_adjacent_river(), river_test_adjacent_swamp(), river_test_blocked(), river_test_rivergrid(), road(), role_unit_cb(), save_terrain_ruleset(), sdl_get_chance_to_win(), city_widget::select_coastal(), send_all_known_cities(), send_all_known_tiles(), send_connect_route(), send_goto_route(), send_map_info(), server_remove_unit_full(), set_all_ocean_tiles_placed(), set_global_worklist(), set_placed_near_pos(), set_sizes(), sg_extras_set_bv(), sg_extras_set_bv(), sg_extras_set_dbv(), sg_extras_set_dbv(), sg_load_map(), sg_load_map(), sg_load_map_altitude(), sg_load_map_known(), sg_load_map_known(), sg_load_map_owner(), sg_load_map_owner(), sg_load_map_startpos(), sg_load_map_startpos(), sg_load_map_tiles(), sg_load_map_tiles(), sg_load_map_tiles_extras(), sg_load_map_tiles_resources(), sg_load_map_worked(), sg_load_map_worked(), sg_load_player_cities(), sg_load_player_cities(), sg_load_player_city(), sg_load_player_city(), sg_load_player_unit(), sg_load_player_unit(), sg_load_player_units(), sg_load_player_units(), sg_load_player_vision(), sg_load_player_vision(), sg_load_player_vision_city(), sg_load_player_vision_city(), sg_load_players(), sg_load_players(), sg_load_sanitycheck(), sg_load_sanitycheck(), sg_save_map(), sg_save_map_altitude(), sg_save_map_known(), sg_save_map_owner(), sg_save_map_tiles(), sg_save_map_worked(), sg_save_player_vision(), sg_save_settings(), sg_special_set_bv(), sg_special_set_dbv(), simple_action_callback(), simple_action_callback(), mr_menu::slot_build_city(), mr_menu::slot_execute_orders(), mr_menu::slot_paradrop(), smooth_int_map(), smooth_water_depth(), srv_ready(), suicide_attack(), terrain_change_bounce_single_unit(), terrain_info_callback(), terrain_is_too_high(), texai_city_worker_task_select(), texai_tile_worker_task_select(), texai_whole_map_copy(), text_tag_init_from_sequence(), text_tag_start_sequence(), texwai_auto_settler_cont(), texwai_auto_settler_run(), texwai_split_by_civil_war(), throw_units_from_illegal_cities(), tilespec_reread(), tilespec_reread_callback(), topology_action(), topology_callback(), transfer_city(), transfer_unit(), transform_terrain(), transform_unit(), tri_req_active(), try_summon_barbarians(), uclass_need_trans_between(), unit_activities_cancel_all_illegal_area(), unit_activities_cancel_all_illegal_plr(), unit_activities_cancel_all_illegal_tile(), unit_activity_handling(), unit_activity_handling_targeted(), unit_activity_internal(), unit_activity_targeted_internal(), unit_assign_specific_activity_target(), unit_bombard(), unit_bombs_unit(), unit_can_be_retired(), unit_change_homecity_handling(), unit_convert(), unit_do_disband_trad(), unit_do_regular_move(), unit_drawn_with_city_outline(), unit_move(), unit_move_consequences(), unit_move_handling(), unit_move_pay(), unit_nuke(), unit_ordering_apply(), unit_ordering_apply(), unit_ordering_calc(), unit_perform_action(), unit_server_side_agent_set(), unit_survive_autoattack(), unit_upgrades_to(), unit_versus_unit(), unittype_def_rating_squared(), universal_never_there(), unleash_barbarians(), unpackage_short_unit(), unpackage_unit(), unit_actions::update_actions(), update_continent_cache(), update_environmental_upset(), update_map_canvas(), city_dialog::update_units(), upgrade_unit_order_targets(), upgrade_unit_prod(), ur_transform_unit(), wakeup_neighbor_sentries(), wipe_unit_full(), worker_evaluate_city_requests(), worklist_change_build_target(), wrap_action(), and ysize_callback().