![]() |
Freeciv21
Develop your civilization from humble roots to a global empire
|
#include <unittype.h>
Collaboration diagram for unit_type:Definition at line 465 of file unittype.h.
| struct { ... } unit_type::adv |
| void* unit_type::ais[FREECIV_AI_MOD_LAST] |
Definition at line 554 of file unittype.h.
Referenced by utype_ai_data(), and utype_set_ai_data().
| int unit_type::attack_strength |
Definition at line 479 of file unittype.h.
Referenced by action_actor_utype_hard_reqs_ok_full(), base_get_attack_power(), build_cost_balanced(), calculate_want_for_paratrooper(), can_attack_non_native(), cr_entry_attack(), dai_barbarian_choose_build(), dai_set_defenders(), dai_unit_attack_desirability(), dai_unit_defence_desirability(), get_tooltip_unit(), handle_ruleset_unit(), popup_info_text(), help_widget::set_topic_unit(), help_widget::uclass_max_values(), and utype_values_string().
| int unit_type::bombard_rate |
Definition at line 512 of file unittype.h.
Referenced by action_actor_utype_hard_reqs_ok_full(), handle_ruleset_unit(), helptext_unit(), help_widget::uclass_max_values(), and unit_bombs_unit().
| struct combat_bonus_list* unit_type::bonuses |
Definition at line 491 of file unittype.h.
Referenced by dai_wants_defender_against(), defense_multiplication(), handle_ruleset_unit_bonus(), helptext_unit(), move_type_from_extra(), save_combat_bonuses(), unit_type_free(), and unit_types_init().
| int unit_type::build_cost |
Definition at line 476 of file unittype.h.
Referenced by handle_ruleset_unit(), help_widget::uclass_max_values(), utype_build_shield_cost(), and utype_build_shield_cost_base().
| struct requirement_vector unit_type::build_reqs |
Definition at line 484 of file unittype.h.
Referenced by can_city_build_unit_direct(), can_player_build_unit_direct(), handle_ruleset_unit(), helptext_unit(), unit_type_free(), unit_types_init(), utype_needs_improvement(), and worklist_item_postpone_req_vec().
| struct { ... } unit_type::cache |
Referenced by assess_danger(), dai_unit_defence_desirability(), defense_multiplication(), and move_type_from_extra().
| bv_unit_classes unit_type::cargo |
Definition at line 521 of file unittype.h.
Referenced by can_unit_type_transport(), and handle_ruleset_unit().
| int unit_type::city_size |
Definition at line 515 of file unittype.h.
Referenced by city_build(), handle_ruleset_unit(), helptext_unit(), and help_widget::uclass_max_values().
| int unit_type::city_slots |
Definition at line 517 of file unittype.h.
Referenced by can_city_build_unit_direct(), city_unit_slots_available(), and handle_ruleset_unit().
| int unit_type::convert_time |
Definition at line 496 of file unittype.h.
Referenced by action_get_act_time(), handle_ruleset_unit(), helptext_unit(), and help_widget::uclass_max_values().
| const struct unit_type* unit_type::converted_to |
Definition at line 495 of file unittype.h.
Referenced by action_actor_utype_hard_reqs_ok_full(), converting_fuel_rescue(), handle_ruleset_unit(), helptext_unit(), unit_can_convert(), and unit_convert().
| int unit_type::defense_mp_bonuses_pct[U_LAST] |
Definition at line 545 of file unittype.h.
Referenced by assess_danger(), defense_multiplication(), and move_type_from_extra().
| int unit_type::defense_strength |
Definition at line 480 of file unittype.h.
Referenced by base_get_defense_power(), build_cost_balanced(), calculate_want_for_paratrooper(), cr_entry_defense(), dai_gothere_bodyguard(), dai_set_defenders(), dai_unit_attack_desirability(), dai_unit_defence_desirability(), get_tooltip_unit(), get_virtual_defense_power(), handle_ruleset_unit(), helptext_unit(), military_advisor_choose_build(), popup_info_text(), help_widget::set_topic_unit(), help_widget::uclass_max_values(), and utype_values_string().
| bv_unit_classes unit_type::disembarks |
Definition at line 530 of file unittype.h.
Referenced by handle_ruleset_unit(), helptext_unit(), and utype_can_freely_unload().
| bv_unit_classes unit_type::embarks |
Definition at line 527 of file unittype.h.
Referenced by handle_ruleset_unit(), helptext_unit(), and utype_can_freely_load().
| int unit_type::firepower |
Definition at line 490 of file unittype.h.
Referenced by adv_unit_def_rating_basic(), adv_unittype_att_rating(), base_assess_defense_unit(), dai_unit_attack_desirability(), dai_unit_defence_desirability(), get_modified_firepower(), get_tooltip_unit(), handle_ruleset_unit(), popup_info_text(), help_widget::set_topic_unit(), help_widget::uclass_max_values(), unit_def_rating(), and unittype_def_rating_squared().
| bv_unit_type_flags unit_type::flags |
Definition at line 499 of file unittype.h.
Referenced by handle_ruleset_unit(), utype_has_flag(), and utype_upkeep_cost().
| int unit_type::fuel |
Definition at line 497 of file unittype.h.
Referenced by handle_ruleset_unit(), and help_widget::uclass_max_values().
| char unit_type::graphic_alt[MAX_LEN_NAME] |
Definition at line 471 of file unittype.h.
Referenced by handle_ruleset_unit(), and tileset_setup_unit_type().
| char unit_type::graphic_str[MAX_LEN_NAME] |
Definition at line 470 of file unittype.h.
Referenced by handle_ruleset_unit(), and tileset_setup_unit_type().
| int unit_type::happy_cost |
Definition at line 502 of file unittype.h.
Referenced by handle_ruleset_unit(), helptext_unit_upkeep_str(), help_widget::set_topic_unit(), help_widget::uclass_max_values(), and utype_happy_cost().
| QVector<QString>* unit_type::helptext |
Definition at line 534 of file unittype.h.
Referenced by handle_ruleset_unit(), helptext_unit(), unit_type_free(), and unit_types_init().
| int unit_type::hp |
Definition at line 489 of file unittype.h.
Referenced by dai_evaluate_tile_for_air_attack(), dai_gothere_bodyguard(), dai_manage_hitpoint_recovery(), dai_military_findjob(), dai_rampage_want(), dai_unit_attack_desirability(), dai_unit_defence_desirability(), do_heal_unit(), get_tooltip_unit(), handle_edit_unit(), handle_ruleset_unit(), unit_hud_selector::hp_filter(), hp_gain_coord(), is_losing_hp(), pft_fill_utype_default_parameter(), popup_info_text(), help_widget::set_topic_unit(), transform_unit(), help_widget::uclass_max_values(), unit_bombs_unit(), unit_bribe_cost(), unit_def_rating(), unit_restore_hitpoints(), unit_type_is_losing_hp(), unit_virtual_create(), unittype_def_rating_squared(), and utype_move_rate().
| bool unit_type::igwall |
Definition at line 537 of file unittype.h.
Referenced by dai_unit_attack_desirability().
| Unit_type_id unit_type::item_number |
Definition at line 466 of file unittype.h.
Referenced by unit_types_init(), and utype_number().
| int unit_type::max_defense_mp_pct |
Definition at line 542 of file unittype.h.
Referenced by assess_danger(), dai_unit_defence_desirability(), and move_type_from_extra().
| int unit_type::move_rate |
Definition at line 481 of file unittype.h.
Referenced by calculate_want_for_paratrooper(), dai_choose_diplomat_offensive(), dai_choose_help_wonder(), dai_fill_unit_param(), dai_gothere_bodyguard(), dai_unit_attack_desirability(), dai_unit_defence_desirability(), get_activity_rate(), get_tooltip_unit(), handle_ruleset_unit(), unit_hud_selector::hp_filter(), invasion_funct(), pft_fill_amphibious_parameter(), pft_fill_utype_default_parameter(), help_widget::set_topic_unit(), help_widget::uclass_max_values(), unit_bribe_cost(), hud_units::update_actions(), utype_move_rate(), and utype_values_string().
| struct name_translation unit_type::name |
Definition at line 466 of file unittype.h.
Referenced by handle_ruleset_unit(), tab_unit::initialize_new_utype(), tab_unit::name_given(), tab_unit::update_utype_info(), utype_name_translation(), and utype_rule_name().
| const struct unit_type* unit_type::obsoleted_by |
Definition at line 494 of file unittype.h.
Referenced by action_actor_utype_hard_reqs_ok_full(), can_city_build_unit_now(), can_player_build_unit_later(), can_player_build_unit_now(), can_upgrade_unittype(), city_gold_worth(), get_tooltip_unit(), handle_ruleset_unit(), helptext_unit(), sanity_check_ruleset_data(), help_widget::set_topic_unit(), and unit_upgrades_to().
| int unit_type::paratroopers_mr_req |
Definition at line 550 of file unittype.h.
| int unit_type::paratroopers_mr_sub |
Definition at line 551 of file unittype.h.
| int unit_type::paratroopers_range |
Definition at line 506 of file unittype.h.
Referenced by action_not_enabled_reason(), assess_danger_unit(), calculate_want_for_paratrooper(), find_best_tile_to_paradrop_to(), handle_ruleset_unit(), and helptext_unit().
| int unit_type::pop_cost |
Definition at line 477 of file unittype.h.
Referenced by dai_spend_gold(), domestic_advisor_choose_build(), handle_ruleset_unit(), helptext_unit(), help_widget::uclass_max_values(), unit_foodbox_cost(), and utype_pop_value().
| struct advance* unit_type::require_advance |
Definition at line 484 of file unittype.h.
Referenced by can_player_build_unit_direct(), dai_choose_diplomat_defensive(), dai_wants_role_unit(), find_best_city_placement(), get_tooltip_unit(), handle_ruleset_unit(), helptext_building(), edit_utype::refresh(), edit_utype::req_menu(), help_widget::set_topic_unit(), and worklist_change_build_target().
| bv_unit_type_roles unit_type::roles |
Definition at line 500 of file unittype.h.
Referenced by handle_ruleset_unit(), and utype_has_role().
| struct { ... } unit_type::rscompat_cache |
| bool unit_type::ruledit_disabled |
Definition at line 468 of file unittype.h.
Referenced by tab_unit::delete_now(), tab_unit::name_given(), and unit_types_init().
| char unit_type::sound_fight[MAX_LEN_NAME] |
Definition at line 474 of file unittype.h.
Referenced by handle_ruleset_unit().
| char unit_type::sound_fight_alt[MAX_LEN_NAME] |
Definition at line 475 of file unittype.h.
Referenced by handle_ruleset_unit().
| char unit_type::sound_move[MAX_LEN_NAME] |
Definition at line 472 of file unittype.h.
Referenced by handle_ruleset_unit().
| char unit_type::sound_move_alt[MAX_LEN_NAME] |
Definition at line 473 of file unittype.h.
Referenced by handle_ruleset_unit().
| bv_unit_classes unit_type::targets |
Definition at line 524 of file unittype.h.
Referenced by handle_ruleset_unit(), helptext_unit(), is_unit_reachable_by_unit(), and pf_attack_possible().
| int unit_type::transport_capacity |
Definition at line 488 of file unittype.h.
Referenced by action_actor_utype_hard_reqs_ok_full(), can_type_transport_units_cargo(), can_unit_type_transport(), get_transporter_capacity(), handle_ruleset_unit(), and helptext_unit().
| struct unit_class* unit_type::uclass |
Definition at line 519 of file unittype.h.
Referenced by handle_ruleset_unit(), help_widget::set_topic_unit(), and help_widget::uclass_max_values().
| int unit_type::unknown_move_cost |
Definition at line 482 of file unittype.h.
Referenced by operator==(), pf_danger_map_iterate(), pf_fuel_map_iterate(), and pf_normal_map_iterate().
| int unit_type::upkeep[O_LAST] |
Definition at line 503 of file unittype.h.
Referenced by city_distribute_surplus_shields(), handle_ruleset_unit(), helptext_unit_upkeep_str(), help_widget::set_topic_unit(), help_widget::uclass_max_values(), and utype_upkeep_cost().
| struct veteran_system* unit_type::veteran |
Definition at line 509 of file unittype.h.
Referenced by edit_buffer_copy(), handle_ruleset_unit(), helptext_unit(), unit_type_free(), unit_types_init(), unittype_def_rating_squared(), unpackage_unit(), and utype_veteran_system().
| int unit_type::vision_radius_sq |
Definition at line 487 of file unittype.h.
Referenced by explorer_desirable(), get_tooltip_unit(), get_unit_vision_at(), handle_edit_unit_create(), handle_ruleset_unit(), help_widget::set_topic_unit(), and help_widget::uclass_max_values().
| enum vision_layer unit_type::vlayer |
Definition at line 530 of file unittype.h.
Referenced by can_player_see_unit_at(), handle_ruleset_unit(), helptext_unit(), is_hiding_unit(), and unit_move().
| bool unit_type::worker |
Definition at line 538 of file unittype.h.
Referenced by auto_settlers_player(), can_unit_do_autosettlers(), and handle_ruleset_unit().