Freeciv-3.2
|
#include <unit.h>
union { ... } unit |
Definition at line 228 of file unit.h.
Referenced by act_sel_done_primary(), client_unit_init_act_prob_cache(), create_advances_list(), create_improvements_list(), diplomat_queue_handle_primary(), diplomat_queue_handle_primary(), popup_action_selection(), popup_sabotage_dialog(), popup_sabotage_dialog(), spy_steal_popup_shared(), spy_steal_shared(), unit_virtual_create(), and unit_virtual_destroy().
Definition at line 203 of file unit.h.
Referenced by action_decision_handle(), action_decision_request(), ask_server_for_actions(), execute_orders(), handle_unit_packet_common(), handle_unit_sscs_set(), package_unit(), sg_load_player_unit(), sg_load_player_unit(), sg_save_player_units(), unit_move(), unit_move_handling(), unit_virtual_create(), and unpackage_unit().
enum action_decision unit::action_decision_want |
Definition at line 202 of file unit.h.
Referenced by execute_orders(), handle_unit_packet_common(), handle_unit_sscs_set(), package_unit(), sg_load_player_unit(), sg_load_player_unit(), sg_save_player_units(), should_ask_server_for_actions(), tileset_lookup_sprite_tags(), unit_move(), unit_move_handling(), unit_virtual_create(), and unpackage_unit().
time_t unit::action_timestamp |
Definition at line 245 of file unit.h.
Referenced by unit_can_do_action_now(), unit_did_action(), and unit_virtual_create().
int unit::action_turn |
Definition at line 246 of file unit.h.
Referenced by unit_can_do_action_now(), unit_did_action(), and unit_virtual_create().
enum unit_activity unit::activity |
Definition at line 157 of file unit.h.
Referenced by unit_hud_selector::activity_filter(), adv_follow_path(), adv_settlers_road_bonus(), auto_settler_setup_work(), auto_settlers_player(), begin_phase(), calc_activity(), can_unit_continue_current_activity(), can_unit_move_to_tile_with_notify(), can_units_do_activity(), can_units_do_activity_targeted(), check_unit_activity(), clear_unit_orders(), climate_change(), compat_post_load_030100(), create_unit_menu(), dai_manage_airunit(), dai_manage_military(), dai_military_attack(), dai_unit_goto_constrained(), dai_unit_new_task(), do_explore(), do_move_unit(), execute_orders(), expl_act_not_enabl(), fill_unit_sprite_array(), finalize_unit_phase_beginning(), find_best_focus_candidate(), get_fortified_defense_power(), get_unit_tile_pillage_set(), handle_player_diplstate(), handle_unit_change_activity(), handle_unit_change_activity_real(), handle_unit_orders(), handle_unit_packet_common(), handle_unit_sscs_set(), is_activity_on_tile(), is_unit_activity_on_tile(), package_short_unit(), package_unit(), place_partisans(), player_can_place_extra(), present_unit_callback(), real_unit_log(), request_unit_fortify(), request_unit_move_done(), request_unit_sentry(), select_tgt_extra(), select_tgt_unit(), set_unit_activity_internal(), sg_load_players(), sg_load_players(), sg_save_player_units(), terrain_change_bounce_single_unit(), texai_tile_worker_task_select(), total_activity(), unit_activity_astr(), unit_activity_dependencies(), unit_activity_internal(), unit_activity_targeted_internal(), unit_can_move_to_tile(), unit_can_teleport_to_tile(), unit_focus_advance(), unit_focus_update(), unit_restore_hitpoints(), unit_upgrade_info(), unit_upgrade_test(), units_orders_city_dlg_callback(), units_report_command_callback(), unpackage_short_unit(), unpackage_unit(), update_unit_activity(), upgrade_server_side_agent(), usdlg_check_unit_activity(), usdlg_cmd_cursor_changed(), usdlg_cmd_exec_unit(), wakeup_sentried_units(), and unittype_item::wheelEvent().
int unit::activity_count |
Definition at line 162 of file unit.h.
Referenced by calc_activity(), finalize_unit_phase_beginning(), handle_unit_packet_common(), package_unit(), set_unit_activity(), set_unit_activity_internal(), set_unit_activity_targeted(), sg_load_player_unit(), sg_load_player_unit(), sg_save_player_units(), total_activity(), unpackage_unit(), and update_unit_activity().
struct extra_type* unit::activity_target |
Definition at line 164 of file unit.h.
Referenced by actres_possible(), adv_follow_path(), adv_settlers_road_bonus(), calc_activity(), can_unit_continue_current_activity(), climate_change(), compat_post_load_030100(), fill_unit_sprite_array(), finalize_unit_phase_beginning(), get_unit_tile_pillage_set(), handle_unit_change_activity_real(), handle_unit_packet_common(), package_short_unit(), package_unit(), set_unit_activity_internal(), set_unit_activity_targeted(), sg_load_players(), sg_load_players(), sg_save_player_units(), total_activity(), unit_activity_astr(), unit_activity_internal(), unit_activity_targeted_internal(), unpackage_short_unit(), unpackage_unit(), and update_unit_activity().
Definition at line 236 of file unit.h.
Referenced by adv_unit_new_task(), auto_settler_setup_work(), citymap_turn_init(), dai_unit_new_task(), find_something_to_kill(), handle_unit_change_activity_real(), unit_virtual_create(), and unit_virtual_destroy().
void* unit::ais[FREECIV_AI_MOD_LAST] |
Definition at line 237 of file unit.h.
Referenced by unit_ai_data(), and unit_set_ai_data().
bool unit::asking_city_name |
Definition at line 225 of file unit.h.
Referenced by cancel_city(), finish_city(), handle_city_name_suggestion_info(), and unpackage_unit().
int unit::battlegroup |
Definition at line 191 of file unit.h.
Referenced by fill_unit_sprite_array(), handle_unit_packet_common(), handle_unit_sscs_set(), key_unit_assign_battlegroup(), package_unit(), sg_load_player_unit(), sg_load_player_unit(), sg_save_player_units(), tileset_lookup_sprite_tags(), unit_change_battlegroup(), unit_register_battlegroup(), unit_virtual_create(), and unpackage_unit().
int unit::birth_turn |
Definition at line 207 of file unit.h.
Referenced by dai_is_unit_tired_waiting_boat(), package_unit(), sg_load_player_unit(), sg_load_player_unit(), sg_save_player_units(), unit_change_owner(), unit_virtual_create(), and unpackage_unit().
struct goods_type* unit::carrying |
Definition at line 186 of file unit.h.
Referenced by do_unit_establish_trade(), get_act_sel_action_custom_text(), package_unit(), real_menus_update(), sg_load_player_unit(), sg_save_player_units(), unit_get_goods(), unit_virtual_create(), and unpackage_unit().
enum unit_activity unit::changed_from |
Definition at line 168 of file unit.h.
Referenced by finalize_unit_phase_beginning(), package_unit(), set_unit_activity(), set_unit_activity_targeted(), sg_load_player_unit(), sg_load_player_unit(), sg_save_player_units(), unit_forget_last_activity(), and unpackage_unit().
int unit::changed_from_count |
Definition at line 169 of file unit.h.
Referenced by finalize_unit_phase_beginning(), package_unit(), set_unit_activity(), set_unit_activity_targeted(), sg_load_player_unit(), sg_load_player_unit(), sg_save_player_units(), and unpackage_unit().
struct extra_type* unit::changed_from_target |
Definition at line 170 of file unit.h.
Referenced by finalize_unit_phase_beginning(), package_unit(), set_unit_activity_targeted(), sg_load_player_unit(), sg_load_player_unit(), sg_save_player_units(), and unpackage_unit().
struct { ... } unit::client |
Referenced by act_sel_done_primary(), cancel_city(), client_unit_init_act_prob_cache(), create_advances_list(), create_improvements_list(), current_focus_append(), diplomat_queue_handle_primary(), diplomat_queue_handle_primary(), fill_unit_sprite_array(), find_best_focus_candidate(), find_nearest_unit(), finish_city(), handle_city_name_suggestion_info(), handle_player_diplstate(), handle_start_phase(), handle_unit_info(), handle_unit_packet_common(), handle_unit_remove(), handle_unit_short_info(), key_unit_unload_all(), player_clear(), popup_action_selection(), popup_sabotage_dialog(), popup_sabotage_dialog(), real_menus_update(), real_science_report_dialog_update(), request_unit_move_done(), request_units_wait(), spy_steal_popup_shared(), spy_steal_shared(), toggle_unit_color(), unit_focus_advance(), unit_focus_set_status(), unit_virtual_create(), unit_virtual_destroy(), unpackage_short_unit(), and unpackage_unit().
int unit::color_index |
Definition at line 223 of file unit.h.
Referenced by toggle_unit_color().
bool unit::colored |
Definition at line 222 of file unit.h.
Referenced by handle_start_phase(), toggle_unit_color(), and unit_virtual_create().
int unit::current_form_turn |
Definition at line 208 of file unit.h.
Referenced by package_unit(), sg_load_player_unit(), sg_load_player_unit(), sg_save_player_units(), transform_unit(), unit_change_owner(), unit_virtual_create(), and unpackage_unit().
bool unit::debug |
Definition at line 234 of file unit.h.
Referenced by dai_auto_settler_run(), debug_command(), and unit_virtual_create().
bool unit::done_moving |
Definition at line 181 of file unit.h.
Referenced by execute_orders(), find_best_focus_candidate(), find_nearest_unit(), handle_edit_unit(), handle_unit_orders(), handle_unit_packet_common(), objbind_get_value_from_object(), objbind_pack_current_values(), package_unit(), set_unit_activity_internal(), sg_load_player_unit(), sg_load_player_unit(), sg_save_player_units(), unit_focus_update(), unit_move(), unit_restore_movepoints(), unit_virtual_create(), and unpackage_unit().
bool unit::dying |
Definition at line 250 of file unit.h.
Referenced by collect_ransom(), kill_unit(), map_change_seen(), remove_city(), server_remove_unit_full(), transfer_city_units(), transfer_unit(), unit_virtual_create(), and wipe_unit_full().
enum direction8 unit::facing |
Definition at line 142 of file unit.h.
Referenced by api_edit_unit_turn(), api_methods_unit_orientation_get(), do_attack(), fill_unit_sprite_array(), handle_unit_packet_common(), move_unit_map_canvas(), package_short_unit(), package_unit(), redraw_unit_info_label(), sg_load_player_unit(), sg_load_player_unit(), sg_save_player_units(), unit_bombard(), unit_move(), unit_virtual_create(), units_orders_city_dlg_callback(), unpackage_short_unit(), and unpackage_unit().
enum unit_focus_status unit::focus_status |
Definition at line 214 of file unit.h.
Referenced by current_focus_append(), find_best_focus_candidate(), find_nearest_unit(), handle_player_diplstate(), key_unit_unload_all(), request_unit_move_done(), request_units_wait(), unit_focus_advance(), unit_focus_set_status(), and unit_virtual_create().
int unit::fuel |
Definition at line 153 of file unit.h.
Referenced by adv_unit_execute_path(), units_select::create_pixmap(), dai_manage_airunit(), fill_unit_sprite_array(), handle_edit_unit(), handle_unit_packet_common(), objbind_get_value_from_object(), objbind_pack_current_values(), package_unit(), pft_fill_unit_default_parameter(), player_restore_units(), sg_load_player_unit(), sg_load_player_unit(), sg_save_player_units(), unit_activity_astr(), unit_change_owner(), unit_virtual_create(), unpackage_unit(), and hud_units::update_actions().
Definition at line 155 of file unit.h.
Referenced by adv_follow_path(), auto_settler_setup_work(), citymap_turn_init(), dai_auto_settler_run(), dai_data_phase_begin(), dai_fill_unit_param(), dai_gothere(), dai_is_unit_tired_waiting_boat(), dai_manage_airunit(), dai_manage_caravan(), dai_manage_diplomat(), dai_military_attack(), dai_unit_new_task(), explorer_goto(), free_unit_orders(), handle_unit_change_activity_real(), handle_unit_orders(), handle_unit_packet_common(), immediate_destination(), invasion_funct(), package_unit(), player_restore_units(), popit(), popit(), fc_client::popup_tile_info(), real_unit_log(), sg_load_player_unit(), sg_load_player_unit(), sg_save_player_units(), unit_plans_clear(), unit_virtual_create(), and unpackage_unit().
bool unit::has_orders |
Definition at line 193 of file unit.h.
Referenced by base_transporter_for_unit(), city_create_unit(), compat_post_load_030100(), execute_orders(), free_unit_orders(), handle_unit_orders(), handle_unit_packet_common(), package_unit(), sg_load_player_unit(), sg_load_player_unit(), sg_save_player_units(), unit_has_orders(), unit_virtual_create(), and unpackage_unit().
int unit::homecity |
Definition at line 146 of file unit.h.
Referenced by api_edit_create_unit_full(), caravan_evaluate_notransit(), caravan_evaluate_withtransit(), caravan_find_best_destination(), caravan_find_best_destination_notransit(), caravan_find_best_destination_withtransit(), city_packet_common(), city_unit_unhappiness(), client_remove_unit(), cowt_callback(), create_city(), create_present_supported_units_widget_list(), dai_caravan_can_trade_cities_diff_cont(), dai_evaluate_tile_for_air_attack(), dai_find_strategic_airbase(), dai_is_unit_tired_waiting_boat(), dai_manage_caravan(), dai_military_defend(), dai_spend_gold(), dai_unit_make_homecity(), do_capture_units(), do_unit_change_homecity(), do_unit_establish_trade(), do_unit_make_homeless(), edit_buffer_copy(), expl_act_not_enabl(), goto_dialog::fill_tab(), find_something_to_kill(), game_remove_unit(), get_unit_info_label_text2(), get_units_report_data(), gui_refresh_unit_city_dialogs(), handle_edit_unit_create(), handle_unit_packet_common(), map_unit_homecity_enqueue(), middle_supported_unit_release(), package_unit(), place_unit(), player_restore_units(), popup_action_selection(), popup_info_text(), qtg_refresh_unit_city_dialogs(), real_menus_update(), refresh_unit_city_dialogs(), server_remove_unit_full(), sg_load_player_unit(), sg_load_player_unit(), sg_load_player_units(), sg_load_player_units(), sg_save_player_units(), mr_menu::slot_autocaravan(), supported_unit_activate_close_callback(), supported_unit_activate_close_callback(), supported_unit_callback(), supported_unit_callback(), supported_unit_middle_callback(), transfer_city(), transfer_city_units(), transform_unit(), unit_bribe_cost(), unit_can_est_trade_route_here(), unit_change_homecity_handling(), unit_change_owner(), unit_description(), unit_food_upkeep(), unit_gain_hitpoints(), unit_get_goods(), unit_move_consequences(), unit_virtual_create(), unit_virtual_prepare(), units_orders_city_dlg_callback(), units_report_update(), unpackage_unit(), hud_units::update_actions(), units_reports::update_units(), and usdlg_get_unit_descr().
int unit::hp |
Definition at line 151 of file unit.h.
Referenced by actres_possible(), adv_unit_att_rating(), adv_unit_def_rating_basic(), adv_unit_execute_path(), base_assess_defense_unit(), combat_odds_to_astr(), combat_veterans(), create_present_supported_units_widget_list(), dai_choose_defender_versus(), dai_evaluate_tile_for_air_attack(), dai_find_strategic_airbase(), dai_gothere_bodyguard(), dai_manage_hitpoint_recovery(), dai_manage_paratrooper(), dai_military_attack(), dai_military_findjob(), dai_rampage_want(), do_attack(), edit_buffer_copy(), fill_unit_sprite_array(), find_best_tile_to_paradrop_to(), find_nearest_airbase(), get_defense_rating(), handle_edit_unit(), handle_unit_packet_common(), has_defense(), unit_hud_selector::hp_filter(), hud_unit_combat::hud_unit_combat(), move_unit_map_canvas(), objbind_get_value_from_object(), objbind_pack_current_values(), package_short_unit(), package_unit(), units_select::paint(), player_restore_units(), popup_advanced_terrain_dialog(), request_unit_return(), sg_load_player_unit(), sg_load_player_unit(), sg_save_player_units(), transform_unit(), unit_att_rating_now(), unit_bombard(), unit_bombard_rate(), unit_bombs_unit(), unit_bribe_cost(), unit_change_owner(), unit_def_rating(), unit_gain_hitpoints(), unit_move_rate(), unit_restore_hitpoints(), unit_select_dialog_popup(), unit_versus_unit(), unit_virtual_create(), unit_virtual_prepare(), unit_win_chance(), unpackage_short_unit(), unpackage_unit(), and hud_units::update_actions().
int unit::id |
Definition at line 145 of file unit.h.
Referenced by action_auto_perf_unit_do(), action_decision_handle(), action_decision_maybe_auto(), action_selection_refresh(), action_sub_target_id_for_action(), adv_unit_execute_path(), adv_unit_move(), agents_unit_changed(), agents_unit_new(), agents_unit_remove(), 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(), ask_server_for_actions(), auto_settler_setup_work(), caravan_optimize_callback(), cause_a_unit_changed_for_agent(), check_units_single_tile(), city_create_unit(), city_dialog_update_present_units(), city_dialog_update_supported_units(), citymap_turn_init(), client_remove_unit(), create_present_supported_units_widget_list(), create_unit_menu(), current_focus_remove(), cycle_enemy_units(), dai_airlift(), dai_auto_settler_run(), dai_caravan_goto(), dai_diplomat_bribe_nearby(), dai_diplomat_city(), dai_do_build_city(), dai_hunter_manage(), dai_hunter_try_launch(), dai_manage_airunit(), dai_manage_caravan(), dai_manage_military(), dai_manage_paratrooper(), dai_military_attack(), dai_should_we_air_attack_tile(), dai_unit_attack(), dai_unit_make_homecity(), dai_unit_move(), dai_unit_new_task(), dai_upgrade_units(), decrease_unit_hp_smooth(), unit_item::disband(), do_attack(), do_capture_units(), do_disband_alternative(), do_unit_act_sel_vs(), do_unit_paradrop_to(), do_unit_teleport_to(), do_wipe_units(), execute_orders(), expl_act_not_enabl(), find_best_city_placement(), find_something_to_kill(), finish_city(), game_remove_unit(), goto_map_unit(), handle_edit_player_vision(), handle_edit_unit_create(), handle_tile_info(), handle_unit_actions(), handle_unit_get_actions(), handle_unit_orders(), handle_unit_packet_common(), handle_unit_remove(), handle_unit_sscs_set(), handle_unit_type_upgrade(), idex_register_unit(), idex_unregister_unit(), immediate_destination(), key_unit_action_select(), key_unit_assign_battlegroup(), make_path_orders(), move_unit_map_canvas(), non_allied_not_listed_at(), objbind_get_value_from_object(), objbind_pack_current_values(), occupy_move(), package_short_unit(), package_unit(), place_unit(), player_restore_units(), popup_action_selection(), popup_bribe_dialog(), popup_bribe_dialog(), popup_incite_dialog(), popup_incite_dialog(), popup_pillage_dialog(), popup_sabotage_dialog(), popup_sabotage_dialog(), popup_upgrade_dialog(), present_unit_callback(), put_one_tile(), random_movements(), real_bodyguard_log(), real_unit_log(), request_move_unit_direction(), request_new_unit_activity_targeted(), request_orders_cleared(), request_unit_airlift(), request_unit_build_city(), request_unit_caravan_action(), request_unit_change_homecity(), request_unit_disband(), request_unit_non_action_move(), request_unit_ssa_set(), request_unit_upgrade(), select_tgt_extra(), select_tgt_unit(), send_connect_route(), send_path_orders(), server_remove_unit_full(), set_unit_icon(), settler_evaluate_city_requests(), settler_evaluate_improvements(), sg_load_player_unit(), sg_load_player_unit(), sg_load_player_units(), sg_load_player_units(), sg_load_sanitycheck(), sg_load_sanitycheck(), sg_save_player_units(), mr_menu::slot_delayed_goto(), supported_unit_callback(), choice_dialog::switch_target(), texai_unit_destroyed(), texai_unit_info_recv(), texai_unit_move_seen(), texai_unit_update(), text_tag_initv(), text_tag_start_sequence(), tgt_extra_change_callback(), tgt_unit_change_callback(), throw_units_from_illegal_cities(), transfer_city(), transfer_unit(), unit_activity_astr(), unit_activity_handling_targeted(), unit_def_rating(), unit_description(), unit_do_disband_trad(), unit_enter_hut(), unit_food_upkeep(), unit_foodbox_cost(), unit_goes_out_of_sight(), unit_is_virtual(), unit_link(), unit_list_compare(), unit_list_find(), unit_move(), unit_move_consequences(), unit_move_data_get(), unit_move_handling(), unit_select_dialog_popup(), unit_survive_autoattack(), unit_virtual_create(), unpackage_short_unit(), unpackage_unit(), upkeep_kill_unit(), usdlg_get_unit_descr(), and usdlg_tab_append_units().
int unit::index |
Definition at line 195 of file unit.h.
Referenced by action_auto_perf_unit_do(), action_selection_refresh(), execute_orders(), handle_unit_orders(), handle_unit_packet_common(), mapdeco_set_gotoroute(), package_unit(), popup_action_selection(), sg_load_player_unit(), sg_load_player_unit(), sg_save_player_units(), show_unit_orders(), and unpackage_unit().
int unit::length |
Definition at line 195 of file unit.h.
Referenced by city_create_unit(), compat_post_load_030100(), execute_orders(), free_unit_orders(), handle_unit_orders(), handle_unit_packet_common(), mapdeco_set_gotoroute(), package_unit(), sg_load_player_unit(), sg_load_player_unit(), sg_load_sanitycheck(), sg_load_sanitycheck(), sg_save_player_units(), show_unit_orders(), and unpackage_unit().
struct unit_order* unit::list |
Definition at line 198 of file unit.h.
Referenced by city_create_unit(), compat_post_load_030100(), execute_orders(), free_unit_orders(), handle_unit_orders(), handle_unit_packet_common(), mapdeco_set_gotoroute(), package_unit(), sg_load_player_unit(), sg_load_player_unit(), sg_load_sanitycheck(), sg_load_sanitycheck(), sg_save_player_units(), show_unit_orders(), and unpackage_unit().
bool unit::moved |
Definition at line 173 of file unit.h.
Referenced by dai_find_strategic_airbase(), dai_manage_hitpoint_recovery(), do_attack(), handle_edit_unit(), handle_unit_packet_common(), objbind_get_value_from_object(), objbind_pack_current_values(), remove_city(), sg_load_player_unit(), sg_load_player_unit(), sg_save_player_units(), unit_gain_hitpoints(), unit_move(), unit_restore_hitpoints(), unit_virtual_create(), and unit_virtual_prepare().
int unit::moves_left |
Definition at line 150 of file unit.h.
Referenced by action_mp_full_makes_legal(), action_success_pay_mp(), action_success_target_pay_mp(), adv_follow_path(), adv_unit_execute_path(), adv_unit_move(), api_edit_create_unit_full(), auto_settler_setup_work(), auto_settlers_player(), caravan_evaluate_withtransit(), caravan_find_best_destination(), caravan_find_best_destination_withtransit(), caravan_optimize_withtransit(), units_select::create_pixmap(), create_unit(), create_unit_full(), dai_auto_settler_run(), dai_caravan_goto(), dai_diplomat_bribe_nearby(), dai_diplomat_city(), dai_find_strategic_airbase(), dai_gothere(), dai_manage_airunit(), dai_manage_diplomat(), dai_manage_military(), dai_manage_paratrooper(), dai_manage_unit(), dai_military_attack(), dai_military_rampage(), dai_unit_bodyguard_move(), dai_unit_can_strike_my_unit(), dai_unit_goto_constrained(), dai_unit_move(), do_airline(), do_attack(), do_expel_unit(), execute_orders(), fill_unit_sprite_array(), find_best_focus_candidate(), find_nearest_airbase(), find_nearest_unit(), find_rampage_target(), find_something_to_bomb(), get_activity_rate_this_turn(), get_attack_power(), goto_fill_parameter_full(), handle_edit_unit(), handle_unit_orders(), handle_unit_packet_common(), handle_unit_server_side_agent_set(), unit_hud_selector::hp_filter(), manage_auto_explorer(), objbind_get_value_from_object(), objbind_pack_current_values(), occupy_move(), package_unit(), pf_fuel_map_iterate(), pft_fill_unit_default_parameter(), player_is_watching(), player_restore_units(), quickselect(), random_movements(), set_unit_activity_internal(), sg_load_player_unit(), sg_load_player_unit(), sg_save_player_units(), teleport_unit_to_city(), test_unit_can_airlift_to(), transform_unit(), unit_activity_astr(), unit_att_rating_now(), unit_change_owner(), unit_focus_update(), unit_move(), unit_restore_movepoints(), unit_survive_autoattack(), unit_tired_attack_string(), unit_virtual_create(), unit_virtual_prepare(), unpackage_unit(), and hud_units::update_actions().
struct unit_move_data* unit::moving |
Definition at line 247 of file unit.h.
Referenced by send_unit_info(), server_remove_unit_full(), unit_goes_out_of_sight(), and unit_move_data_get().
Definition at line 144 of file unit.h.
Referenced by city_create_unit(), handle_unit_packet_common(), sg_load_player_unit(), sg_load_player_unit(), unit_change_owner(), unit_nationality(), unit_virtual_create(), unpackage_short_unit(), and unpackage_unit().
bool unit::occupied |
Definition at line 219 of file unit.h.
Referenced by fill_unit_sprite_array(), handle_unit_packet_common(), real_menus_update(), unpackage_short_unit(), and unpackage_unit().
int unit::ord_city |
Definition at line 242 of file unit.h.
Referenced by sg_load_player_unit(), sg_load_player_unit(), sg_save_player_units(), unit_ordering_calc(), and unit_virtual_create().
int unit::ord_map |
Definition at line 241 of file unit.h.
Referenced by compar_unit_ord_map(), sg_load_player_unit(), sg_load_player_unit(), sg_save_player_units(), unit_ordering_calc(), and unit_virtual_create().
struct { ... } unit::orders |
Referenced by city_create_unit(), compat_post_load_030100(), execute_orders(), fill_unit_sprite_array(), free_unit_orders(), handle_unit_orders(), handle_unit_packet_common(), mapdeco_set_gotoroute(), package_unit(), sg_load_player_unit(), sg_load_player_unit(), sg_load_sanitycheck(), sg_load_sanitycheck(), sg_save_player_units(), show_unit_orders(), unpackage_unit(), and wakeup_neighbor_sentries().
Definition at line 143 of file unit.h.
Referenced by dai_is_unit_tired_waiting_boat(), dai_upgrade_units(), explorer_desirable(), handle_unit_get_actions(), need_war_player_hlp(), search_homecity_for_caravan(), texai_unit_destruction_recv(), unit_change_homecity_handling(), unit_virtual_create(), and hud_units::update_actions().
bool unit::paradropped |
Definition at line 174 of file unit.h.
Referenced by action_hard_reqs_actor(), do_paradrop(), handle_unit_packet_common(), package_unit(), sg_load_player_unit(), sg_load_player_unit(), sg_save_player_units(), unit_change_owner(), unit_restore_hitpoints(), unit_virtual_create(), and unpackage_unit().
int unit::refcount |
Definition at line 141 of file unit.h.
Referenced by unit_virtual_create(), and unit_virtual_destroy().
Definition at line 253 of file unit.h.
Referenced by server_remove_unit_full(), unit_set_removal_callback(), unit_unset_removal_callback(), and unit_virtual_create().
bool unit::repeat |
Definition at line 196 of file unit.h.
Referenced by execute_orders(), fill_unit_sprite_array(), handle_unit_orders(), handle_unit_packet_common(), mapdeco_set_gotoroute(), package_unit(), sg_load_player_unit(), sg_load_player_unit(), sg_save_player_units(), show_unit_orders(), and unpackage_unit().
struct { ... } unit::server |
Referenced by adv_unit_new_task(), auto_settler_setup_work(), city_balance_treasury_units(), citymap_turn_init(), collect_ransom(), compar_unit_ord_map(), dai_auto_settler_run(), dai_unit_new_task(), debug_command(), handle_unit_change_activity_real(), kill_unit(), map_change_seen(), place_unit(), player_balance_treasury_units(), player_balance_treasury_units_and_buildings(), remove_city(), send_unit_info(), server_game_free(), server_remove_unit_full(), sg_load_player_unit(), sg_load_player_unit(), sg_load_player_units(), sg_load_player_units(), sg_save_player_units(), transfer_city_units(), transfer_unit(), uk_rem_gold_callback(), unit_ai_data(), unit_can_do_action_now(), unit_change_homecity_handling(), unit_did_action(), unit_goes_out_of_sight(), unit_move_by_data(), unit_move_data_get(), unit_ordering_calc(), unit_refresh_vision(), unit_set_ai_data(), unit_set_removal_callback(), unit_unset_removal_callback(), unit_virtual_create(), unit_virtual_destroy(), update_city_activity(), update_national_activities(), and wipe_unit_full().
enum server_side_agent unit::ssa_controller |
Definition at line 172 of file unit.h.
Referenced by auto_settlers_player(), clear_unit_orders(), do_explore(), do_move_unit(), fill_unit_sprite_array(), find_best_focus_candidate(), find_nearest_unit(), handle_unit_packet_common(), handle_unit_server_side_agent_set(), package_unit(), real_menus_update(), sg_load_player_unit(), sg_load_player_unit(), sg_save_player_units(), unit_activity_dependencies(), unit_focus_advance(), unit_focus_update(), unit_move(), unit_server_side_agent_set(), unit_virtual_create(), unpackage_unit(), and upgrade_server_side_agent().
bool unit::stay |
Definition at line 205 of file unit.h.
Referenced by api_edit_unit_moving_allow(), api_edit_unit_moving_disallow(), handle_edit_unit(), handle_unit_packet_common(), objbind_get_value_from_object(), objbind_pack_current_values(), package_unit(), sg_load_player_unit(), sg_save_player_units(), unit_move_to_tile_test(), unit_virtual_create(), and unpackage_unit().
Definition at line 140 of file unit.h.
Referenced by action_prob_vs_city_full(), actres_possible(), adv_unit_move(), begin_turn(), cycle_enemy_units(), dai_action_value_unit_vs_city(), dai_auto_settler_run(), dai_caravan_goto(), dai_choose_defender_versus(), dai_find_boat_for_unit(), dai_manage_diplomat(), dai_manage_hitpoint_recovery(), dai_manage_paratrooper(), dai_military_attack_barbarian(), dai_military_findjob(), dai_set_defenders(), dai_unit_move(), do_airline(), do_attack(), find_something_to_kill(), goto_dialog::go_to_city(), goto_city_callback(), goto_cmd_callback(), hud_unit_combat::hud_unit_combat(), is_action_enabled_unit_on_city_full(), is_action_possible(), is_action_possible_on_city(), is_citytile_req_active(), unit_hud_selector::island_filter(), choice_dialog::next_unit(), place_unit(), choice_dialog::prev_unit(), qtg_refresh_unit_city_dialogs(), regen_turns(), search_homecity_for_caravan(), choice_dialog::set_layout(), mr_menu::slot_execute_orders(), choice_dialog::switch_target(), texai_unit_destruction_recv(), texai_unit_moved_recv(), transfer_unit(), unit_activity_handling_targeted(), unit_bombard(), unit_change_homecity_handling(), unit_tile_set(), hud_units::update_actions(), and choice_dialog::update_dialog().
int unit::transported_by |
Definition at line 216 of file unit.h.
Referenced by handle_unit_info(), handle_unit_packet_common(), handle_unit_remove(), handle_unit_short_info(), player_clear(), unit_virtual_create(), unpackage_short_unit(), and unpackage_unit().
Definition at line 183 of file unit.h.
Referenced by api_methods_unit_transporter(), fill_parameter_part(), unit_can_load(), unit_conquer_city(), unit_transform_result(), unit_upgrade_info(), and unit_virtual_create().
struct unit_list* unit::transporting |
Definition at line 184 of file unit.h.
Referenced by api_methods_private_unit_cargo_list_head(), can_player_see_hypotetic_units_at(), can_type_transport_units_cargo(), dai_hunter_try_launch(), unit_virtual_create(), and unit_virtual_destroy().
Definition at line 148 of file unit.h.
Referenced by city_dialog_update_supported_units(), city_distribute_surplus_shields(), city_populate(), city_support(), city_total_unit_gold_upkeep(), create_unit_surface(), dai_calc_data(), dai_unit_make_homecity(), get_economy_report_units_data(), get_units_report_data(), handle_unit_packet_common(), handle_unit_remove(), package_unit(), sg_load_player_unit(), sg_load_player_unit(), unit_item::unit_item(), unit_upkeep_astr(), unit_virtual_create(), units_report_update(), unpackage_unit(), update_city_activity(), update_national_activities(), update_unit_upkeep(), and units_reports::update_units().
Definition at line 256 of file unit.h.
Referenced by city_balance_treasury_units(), player_balance_treasury_units(), player_balance_treasury_units_and_buildings(), uk_rem_gold_callback(), unit_virtual_create(), update_city_activity(), and update_national_activities().
Definition at line 139 of file unit.h.
Referenced by action_maybe_possible_actor_unit(), can_attack_from_non_native(), can_attack_non_native(), can_attack_non_native_hard_reqs(), can_type_transport_units_cargo(), city_build_unit(), city_create_unit(), count_my_units(), disband_city(), do_attack(), find_nearest_unit(), handle_unit_packet_common(), has_player_unit_type(), unit_hud_selector::hp_filter(), hud_unit_combat::hud_unit_combat(), multiairlift(), remove_city(), texai_unit_info_recv(), tgt_city_local_utype(), transform_unit(), unit_hud_selector::type_filter(), unit_hud_selector::unit_hud_selector(), unit_type_get(), unit_virtual_create(), units_report_command_callback(), hud_units::update_actions(), and unittype_item::wheelEvent().
int unit::veteran |
Definition at line 152 of file unit.h.
Referenced by adv_unit_att_rating(), base_get_defense_power(), combat_odds_to_astr(), create_present_supported_units_widget_list(), dai_choose_defender_versus(), dai_find_strategic_airbase(), dai_gothere_bodyguard(), do_attack(), edit_buffer_copy(), eval_hunter_want(), fill_unit_sprite_array(), get_activity_rate(), get_attack_power(), get_virtual_defense_power(), handle_edit_unit(), handle_unit_packet_common(), maybe_become_veteran_real(), move_unit_map_canvas(), notify_unit_experience(), objbind_get_value_from_object(), objbind_pack_current_values(), package_short_unit(), package_unit(), popup_advanced_terrain_dialog(), redraw_unit_info_label(), sg_load_player_unit(), sg_load_player_unit(), sg_save_player_units(), transform_unit(), unit_att_rating_now(), unit_bribe_cost(), unit_change_owner(), unit_description(), unit_move_rate(), unit_select_dialog_popup(), unit_veteran_level_string(), unit_virtual_create(), unpackage_short_unit(), and ur_transform_unit().
bool unit::vigilant |
Definition at line 197 of file unit.h.
Referenced by city_create_unit(), execute_orders(), handle_unit_orders(), handle_unit_packet_common(), package_unit(), sg_load_player_unit(), sg_load_player_unit(), sg_save_player_units(), unpackage_unit(), and wakeup_neighbor_sentries().
Definition at line 244 of file unit.h.
Referenced by place_unit(), server_game_free(), server_remove_unit_full(), sg_load_player_units(), sg_load_player_units(), unit_change_homecity_handling(), unit_move_by_data(), unit_move_data_get(), unit_refresh_vision(), and unit_virtual_create().