Freeciv-3.3
|
#include <time.h>
#include "randseed.h"
#include "shared.h"
#include "timing.h"
#include "connection.h"
#include "fc_types.h"
#include "packets.h"
#include "traits.h"
Go to the source code of this file.
Data Structures | |
struct | user_flag |
struct | civ_game |
Enumerations | |
enum | debug_globals { DEBUG_FERRIES , DEBUG_LAST } |
enum | city_names_mode { CNM_NO_RESTRICTIONS = 0 , CNM_PLAYER_UNIQUE , CNM_GLOBAL_UNIQUE , CNM_NO_STEALING } |
enum | barbarians_rate { BARBS_DISABLED = 0 , BARBS_HUTS_ONLY , BARBS_NORMAL , BARBS_FREQUENT , BARBS_HORDES } |
enum | autosave_type { AS_TURN = 0 , AS_GAME_OVER , AS_QUITIDLE , AS_INTERRUPT , AS_TIMER } |
enum | scorelog_level { SL_ALL = 0 , SL_HUMANS } |
Functions | |
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) |
int | civ_population (const struct player *pplayer) |
struct city * | game_city_by_name (const char *name) |
struct city * | game_city_by_number (int id) |
struct unit * | game_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 | initialize_globals (void) |
bool | is_player_phase (const struct player *pplayer, int phase) |
const char * | population_to_text (int thousand_citizen) |
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) |
static void | set_ruleset_compat_mode (bool active) |
static bool | is_ruleset_compat_mode (void) |
Variables | |
struct civ_game | game |
bool | _ruleset_compat_mode |
#define GAME_DEFAULT_AIRLIFTINGSTYLE AIRLIFTING_CLASSICAL |
#define GAME_DEFAULT_ALLOWED_CITY_NAMES CNM_PLAYER_UNIQUE |
#define GAME_DEFAULT_AUTOSAVES (1 << AS_TURN | 1 << AS_GAME_OVER | 1 << AS_QUITIDLE | 1 << AS_INTERRUPT) |
#define GAME_DEFAULT_BARBARIANRATE BARBS_NORMAL |
#define GAME_DEFAULT_BORDERS BORDERS_ENABLED |
#define GAME_DEFAULT_CARAVAN_BONUS_STYLE CBS_CLASSIC |
#define GAME_DEFAULT_DIPLOMACY DIPLO_FOR_ALL |
#define GAME_DEFAULT_HAPPYBORDERS HB_NATIONAL |
#define GAME_DEFAULT_MAX_PLAYERS MAX_NUM_PLAYERS |
#define GAME_DEFAULT_PERSISTENTREADY PERSISTENTR_DISABLED |
#define GAME_DEFAULT_PLRCOLORMODE PLRCOL_PLR_ORDER |
#define GAME_DEFAULT_REVEALMAP REVEAL_MAP_NONE |
#define GAME_DEFAULT_REVOLENTYPE REVOLEN_RANDOM |
#define GAME_DEFAULT_SCOREFILE "freeciv-score.log" |
#define GAME_DEFAULT_SKILL_LEVEL AI_LEVEL_EASY |
#define GAME_DEFAULT_TRADE_REVENUE_STYLE TRS_CLASSIC |
#define GAME_DEFAULT_VICTORY_CONDITIONS (1 << VC_SPACERACE | 1 << VC_ALLIED) |
#define GAME_MAX_AIFILL GAME_MAX_MAX_PLAYERS |
#define GAME_MAX_EVENT_CACHE_TURNS (GAME_MAX_END_TURN + 1) |
#define GAME_MAX_FIRST_TIMEOUT GAME_MAX_TIMEOUT |
#define GAME_MAX_MAX_PLAYERS MAX_NUM_PLAYERS |
#define GAME_MAX_MAXCONNECTIONSPERHOST MAX_NUM_CONNECTIONS |
#define GAME_MAX_MGR_DISTANCE (1 + CITY_MAP_MAX_RADIUS) |
#define GAME_MAX_MIN_PLAYERS MAX_NUM_PLAYERS |
#define GAME_MAX_ONSETBARBARIAN GAME_MAX_END_TURN |
#define GAME_MAX_RAPTUREDELAY 99 /* 99 practicaly disables rapturing */ |
#define GAME_MAX_SEED (MAX_UINT32 >> 1) |
#define GAME_MAX_UNITWAITTIME GAME_MAX_TIMEOUT |
#define GAME_MIN_MGR_DISTANCE (0 - CITY_MAP_MAX_RADIUS) |
#define RS_DEFAULT_CITY_RADIUS_SQ CITY_MAP_DEFAULT_RADIUS_SQ |
#define RS_MAX_BASE_BRIBE_COST RS_MAX_VALUE |
#define RS_MAX_CITIES_MIN_DIST RS_MAX_VALUE |
#define RS_MAX_CITY_CENTER_OUTPUT RS_MAX_VALUE |
#define RS_MAX_CITY_RADIUS_SQ CITY_MAP_MAX_RADIUS_SQ |
#define RS_MAX_GRANARY_FOOD_INC RS_MAX_VALUE |
#define RS_MAX_ILLNESS_BASE_FACTOR RS_MAX_VALUE |
#define RS_MAX_INCITE_BASE_COST RS_MAX_VALUE |
#define RS_MAX_INCITE_IMPROVEMENT_FCT RS_MAX_VALUE |
#define RS_MAX_INCITE_TOTAL_FCT RS_MAX_VALUE |
#define RS_MAX_INCITE_UNIT_FCT RS_MAX_VALUE |
#define RS_MAX_RANSOM_GOLD RS_MAX_VALUE |
#define RS_MAX_UPGRADE_VETERAN_LOSS MAX_VET_LEVELS |
#define RS_MIN_BORDER_RADIUS_SQ_CITY_PERMANENT (-CITY_MAP_MAX_RADIUS_SQ) |
#define RS_MIN_CITY_RADIUS_SQ CITY_MAP_MIN_RADIUS_SQ |
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().
Return timeout value for the current turn.
Definition at line 853 of file game.c.
Referenced by begin_phase(), check_for_full_turn_done(), get_seconds_to_turndone(), get_timeout_label_text(), handle_new_year(), handle_timeout_info(), increase_timeout_because_unit_moved(), real_timer_callback(), send_game_info(), server_sniff_all_input(), set_seconds_to_turndone(), unit_move(), and update_timeout_label().
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().
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().
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().
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().
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().
Remove city from game.
Definition at line 184 of file game.c.
Referenced by client_remove_city(), player_clear(), and remove_city().
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().
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().
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().
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().
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 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 wonder information.
Definition at line 688 of file game.c.
Referenced by sg_load_players(), and sg_load_players().
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().
Get ruleset compat mode indicator
Definition at line 370 of file game.h.
Referenced by gen_action_name_update_cb(), and unit_type_flag_id_name_update_cb().
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().
Set ruleset compat mode indicator
Definition at line 362 of file game.h.
Referenced by load_rulesets().
Free user flag.
Definition at line 838 of file game.c.
Referenced by extra_flags_free(), impr_flags_free(), unit_class_flags_free(), unit_type_flags_free(), user_tech_flags_free(), and user_terrain_flags_free().
Initialize user flag.
Definition at line 829 of file game.c.
Referenced by user_extra_flags_init(), user_impr_flags_init(), user_tech_flags_init(), user_terrain_flags_init(), user_unit_class_flags_init(), and user_unit_type_flags_init().
|
extern |
Definition at line 66 of file game.c.
Referenced by is_ruleset_compat_mode(), and set_ruleset_compat_mode().
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().