Freeciv-3.2
|
#include <unittype.h>
Definition at line 500 of file unittype.h.
struct { ... } unit_type::adv |
void* unit_type::ais[FREECIV_AI_MOD_LAST] |
Definition at line 588 of file unittype.h.
int unit_type::attack_strength |
Definition at line 515 of file unittype.h.
Referenced by cr_entry_attack(), get_tooltip_unit(), handle_ruleset_unit(), help_update_unit_type(), edit_utype::refresh(), edit_utype::set_attack_value(), help_widget::set_topic_unit(), and help_widget::uclass_max_values().
int unit_type::bombard_rate |
Definition at line 547 of file unittype.h.
Referenced by handle_ruleset_unit(), helptext_unit(), help_widget::uclass_max_values(), and unit_bombard_rate().
struct combat_bonus_list* unit_type::bonuses |
Definition at line 526 of file unittype.h.
Referenced by handle_ruleset_unit_bonus(), helptext_unit(), and unit_types_init().
int unit_type::build_cost |
Definition at line 512 of file unittype.h.
Referenced by handle_ruleset_unit(), edit_utype::refresh(), edit_utype::set_bcost_value(), and help_widget::uclass_max_values().
struct requirement_vector unit_type::build_reqs |
Definition at line 520 of file unittype.h.
Referenced by tab_unit::edit_reqs(), handle_ruleset_unit(), helptext_unit(), unit_types_init(), and worklist_item_postpone_req_vec().
struct { ... } unit_type::cache |
Referenced by assess_danger().
bv_unit_classes unit_type::cargo |
Definition at line 558 of file unittype.h.
Referenced by can_unit_type_transport(), handle_ruleset_unit(), and invasion_funct().
int unit_type::city_size |
Definition at line 550 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 552 of file unittype.h.
Referenced by actres_possible(), city_unit_slots_available(), and handle_ruleset_unit().
int unit_type::convert_time |
Definition at line 531 of file unittype.h.
Referenced by actres_get_act_time(), handle_ruleset_unit(), helptext_unit(), and help_widget::uclass_max_values().
Definition at line 530 of file unittype.h.
Referenced by handle_ruleset_unit(), helptext_unit(), and unit_can_convert().
Definition at line 582 of file unittype.h.
Referenced by assess_danger().
int unit_type::defense_strength |
Definition at line 516 of file unittype.h.
Referenced by base_get_defense_power(), cr_entry_defense(), dai_gothere_bodyguard(), get_tooltip_unit(), handle_ruleset_unit(), help_update_unit_type(), helptext_unit(), edit_utype::refresh(), edit_utype::set_defense_value(), help_widget::set_topic_unit(), and help_widget::uclass_max_values().
bv_unit_classes unit_type::disembarks |
Definition at line 567 of file unittype.h.
Referenced by handle_ruleset_unit(), and helptext_unit().
bv_unit_classes unit_type::embarks |
Definition at line 564 of file unittype.h.
Referenced by handle_ruleset_unit(), and helptext_unit().
int unit_type::firepower |
Definition at line 525 of file unittype.h.
Referenced by adv_unit_def_rating_basic(), base_assess_defense_unit(), get_tooltip_unit(), handle_ruleset_unit(), help_update_unit_type(), edit_utype::refresh(), edit_utype::set_firepower(), help_widget::set_topic_unit(), and help_widget::uclass_max_values().
bv_unit_type_flags unit_type::flags |
Definition at line 534 of file unittype.h.
Referenced by edit_utype::closeEvent(), edit_utype::edit_utype(), and handle_ruleset_unit().
int unit_type::fuel |
Definition at line 532 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 506 of file unittype.h.
Referenced by edit_utype::gfx_tag_alt_given(), handle_ruleset_unit(), and edit_utype::refresh().
char unit_type::graphic_alt2[MAX_LEN_NAME] |
Definition at line 507 of file unittype.h.
Referenced by edit_utype::gfx_tag_alt2_given(), handle_ruleset_unit(), and edit_utype::refresh().
char unit_type::graphic_str[MAX_LEN_NAME] |
Definition at line 505 of file unittype.h.
Referenced by edit_utype::gfx_tag_given(), handle_ruleset_unit(), and edit_utype::refresh().
int unit_type::happy_cost |
Definition at line 537 of file unittype.h.
Referenced by handle_ruleset_unit(), helptext_unit_upkeep_str(), help_widget::set_topic_unit(), and help_widget::uclass_max_values().
Definition at line 571 of file unittype.h.
Referenced by handle_ruleset_unit(), helptext_unit(), production_help(), and unit_types_init().
int unit_type::hp |
Definition at line 524 of file unittype.h.
Referenced by actres_possible(), dai_evaluate_tile_for_air_attack(), dai_find_strategic_airbase(), dai_rampage_want(), do_heal_unit(), find_nearest_airbase(), get_tooltip_unit(), handle_ruleset_unit(), help_update_unit_type(), unit_hud_selector::hp_filter(), hp_gain_coord(), edit_utype::refresh(), request_unit_return(), edit_utype::set_hitpoints(), help_widget::set_topic_unit(), transform_unit(), help_widget::uclass_max_values(), unit_bombard_rate(), unit_bribe_cost(), unit_gain_hitpoints(), unit_restore_hitpoints(), unit_virtual_create(), and utype_move_rate().
bool unit_type::igwall |
Definition at line 574 of file unittype.h.
Referenced by adv_data_phase_init(), and adv_units_ruleset_init().
Unit_type_id unit_type::item_number |
Definition at line 501 of file unittype.h.
Referenced by unit_types_init().
int unit_type::max_defense_mp_bonus_pct |
Definition at line 579 of file unittype.h.
Referenced by assess_danger().
int unit_type::move_rate |
Definition at line 517 of file unittype.h.
Referenced by units_select::create_pixmap(), dai_choose_help_wonder(), dai_fill_unit_param(), dai_gothere_bodyguard(), get_activity_rate(), get_tooltip_unit(), handle_ruleset_unit(), help_update_unit_type(), unit_hud_selector::hp_filter(), pft_fill_amphibious_parameter(), edit_utype::refresh(), edit_utype::set_move_rate(), help_widget::set_topic_unit(), single_invader(), help_widget::uclass_max_values(), unit_activity_astr(), unit_bribe_cost(), hud_units::update_actions(), and utype_move_rate().
struct name_translation unit_type::name |
Definition at line 502 of file unittype.h.
Referenced by handle_ruleset_unit(), and tab_unit::name_given().
Definition at line 529 of file unittype.h.
Referenced by can_upgrade_unittype(), city_gold_worth(), get_tooltip_unit(), handle_ruleset_unit(), help_update_unit_type(), helptext_unit(), popup_unit_info(), sanity_check_ruleset_data(), and help_widget::set_topic_unit().
int unit_type::paratroopers_range |
Definition at line 541 of file unittype.h.
Referenced by actres_possible(), expl_act_not_enabl(), find_best_tile_to_paradrop_to(), handle_ruleset_unit(), and helptext_unit().
int unit_type::pop_cost |
Definition at line 513 of file unittype.h.
Referenced by domestic_advisor_choose_build(), handle_ruleset_unit(), helptext_unit(), help_widget::uclass_max_values(), unit_foodbox_cost(), and unit_pop_value().
bv_unit_type_roles unit_type::roles |
Definition at line 535 of file unittype.h.
Referenced by handle_ruleset_unit().
bool unit_type::ruledit_disabled |
Definition at line 503 of file unittype.h.
Referenced by tab_unit::add_now(), tab_unit::delete_now(), tab_unit::name_given(), and unit_types_init().
void* unit_type::ruledit_dlg |
Definition at line 504 of file unittype.h.
Referenced by edit_utype::closeEvent(), tab_unit::delete_now(), tab_unit::edit_now(), and unit_types_init().
Definition at line 583 of file unittype.h.
Referenced by assess_danger().
char unit_type::sound_fight[MAX_LEN_NAME] |
Definition at line 510 of file unittype.h.
Referenced by handle_ruleset_unit(), edit_utype::refresh(), and edit_utype::sound_fight_tag_given().
char unit_type::sound_fight_alt[MAX_LEN_NAME] |
Definition at line 511 of file unittype.h.
Referenced by handle_ruleset_unit(), edit_utype::refresh(), and edit_utype::sound_fight_tag_alt_given().
char unit_type::sound_move[MAX_LEN_NAME] |
Definition at line 508 of file unittype.h.
Referenced by handle_ruleset_unit(), edit_utype::refresh(), and edit_utype::sound_move_tag_given().
char unit_type::sound_move_alt[MAX_LEN_NAME] |
Definition at line 509 of file unittype.h.
Referenced by handle_ruleset_unit(), edit_utype::refresh(), and edit_utype::sound_move_tag_alt_given().
bv_unit_classes unit_type::targets |
Definition at line 561 of file unittype.h.
Referenced by handle_ruleset_unit(), helptext_unit(), and pf_attack_possible().
enum transp_def_type unit_type::tp_defense |
Definition at line 554 of file unittype.h.
Referenced by handle_ruleset_unit().
int unit_type::transport_capacity |
Definition at line 523 of file unittype.h.
Referenced by 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 556 of file unittype.h.
Referenced by adv_data_phase_init(), handle_ruleset_unit(), help_widget::set_topic_unit(), and help_widget::uclass_max_values().
int unit_type::unknown_move_cost |
Definition at line 518 of file unittype.h.
Referenced by pf_danger_map_iterate(), pf_fuel_map_iterate(), pf_normal_map_iterate(), and pf_pos_hash_val().
Definition at line 538 of file unittype.h.
Referenced by city_improvement_upkeep(), 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 544 of file unittype.h.
Referenced by ap_dipl_battle_win(), decrease_unit_hp_smooth(), diplomat_escape_full(), diplomat_success_vs_defender(), handle_ruleset_unit(), helptext_unit(), and unit_types_init().
int unit_type::vision_radius_sq |
Definition at line 522 of file unittype.h.
Referenced by explorer_desirable(), get_tooltip_unit(), handle_ruleset_unit(), help_update_unit_type(), help_widget::uclass_max_values(), and unit_vision_range_modifiers().
enum vision_layer unit_type::vlayer |
Definition at line 569 of file unittype.h.
Referenced by construct_move_data_list(), get_unit_vision_at(), handle_ruleset_unit(), helptext_unit(), is_hiding_unit(), and unit_is_on_layer().
bool unit_type::worker |
Definition at line 575 of file unittype.h.
Referenced by auto_settlers_player(), can_unit_do_autosettlers(), and handle_ruleset_unit().