![]() |
Freeciv21
Develop your civilization from humble roots to a global empire
|
#include <improvement.h>
Collaboration diagram for impr_type:Public Attributes | |
| Impr_type_id | item_number |
| struct name_translation | name |
| bool | ruledit_disabled |
| char | graphic_str [MAX_LEN_NAME] |
| char | graphic_alt [MAX_LEN_NAME] |
| struct requirement_vector | reqs |
| struct requirement_vector | obsolete_by |
| int | build_cost |
| int | upkeep |
| int | sabotage |
| enum impr_genus_id | genus |
| bv_impr_flags | flags |
| QVector< QString > * | helptext |
| char | soundtag [MAX_LEN_NAME] |
| char | soundtag_alt [MAX_LEN_NAME] |
| bool | allows_units |
| bool | allows_extras |
| bool | prevents_disaster |
| bool | protects_vs_actions |
Definition at line 59 of file improvement.h.
| bool impr_type::allows_extras |
Definition at line 79 of file improvement.h.
Referenced by impr_provides_buildable_extras().
| bool impr_type::allows_units |
Definition at line 78 of file improvement.h.
Referenced by impr_provides_buildable_units().
| int impr_type::build_cost |
Definition at line 68 of file improvement.h.
Referenced by handle_ruleset_building(), impr_base_build_shield_cost(), impr_build_shield_cost(), impr_estimate_build_shield_cost(), impr_sell_gold(), load_ruleset_buildings(), and name_and_sort_items().
| bv_impr_flags impr_type::flags |
Definition at line 72 of file improvement.h.
Referenced by handle_ruleset_building(), improvement_has_flag(), and load_ruleset_buildings().
| enum impr_genus_id impr_type::genus |
Definition at line 70 of file improvement.h.
Referenced by handle_ruleset_building(), impr_contra_genus(), is_great_wonder(), is_improvement(), is_req_active(), is_small_wonder(), is_special_improvement(), and load_ruleset_buildings().
| char impr_type::graphic_alt[MAX_LEN_NAME] |
Definition at line 65 of file improvement.h.
Referenced by handle_ruleset_building(), load_ruleset_buildings(), and tileset_setup_impr_type().
| char impr_type::graphic_str[MAX_LEN_NAME] |
Definition at line 64 of file improvement.h.
Referenced by handle_ruleset_building(), load_ruleset_buildings(), and tileset_setup_impr_type().
| QVector<QString>* impr_type::helptext |
Definition at line 73 of file improvement.h.
Referenced by handle_ruleset_building(), helptext_building(), improvement_free(), and load_ruleset_buildings().
| Impr_type_id impr_type::item_number |
Definition at line 60 of file improvement.h.
Referenced by improvement_number(), and improvements_init().
| struct name_translation impr_type::name |
Definition at line 60 of file improvement.h.
Referenced by handle_ruleset_building(), improvement_name_translation(), improvement_rule_name(), tab_building::initialize_new_bldg(), load_building_names(), tab_building::name_given(), and tab_building::update_bldg_info().
| struct requirement_vector impr_type::obsolete_by |
Definition at line 65 of file improvement.h.
Referenced by adjust_improvement_wants_by_effects(), can_improvement_go_obsolete(), dont_want_tech_obsoleting_impr(), get_tooltip_improvement(), handle_ruleset_building(), helptext_building(), improvement_free(), improvement_obsolete(), improvement_replacement(), improvements_init(), load_ruleset_buildings(), and help_widget::set_topic_building().
| bool impr_type::prevents_disaster |
Definition at line 80 of file improvement.h.
Referenced by impr_prevents_disaster().
| bool impr_type::protects_vs_actions |
Definition at line 81 of file improvement.h.
Referenced by impr_protects_vs_actions().
| struct requirement_vector impr_type::reqs |
Definition at line 65 of file improvement.h.
Referenced by adjust_wants_for_reqs(), can_city_build_improvement_direct(), can_city_build_improvement_later(), can_player_build_improvement_direct(), can_player_build_improvement_later(), dai_can_requirement_be_met_in_city(), dai_wants_defender_against(), dai_wants_role_unit(), tab_building::edit_reqs(), handle_ruleset_building(), helptext_building(), impr_prevents_disaster(), impr_provides_buildable_extras(), improvement_free(), improvements_init(), load_ruleset_buildings(), help_widget::set_topic_building(), and worklist_item_postpone_req_vec().
| bool impr_type::ruledit_disabled |
Definition at line 62 of file improvement.h.
Referenced by tab_building::delete_now(), improvements_init(), and tab_building::name_given().
| int impr_type::sabotage |
Definition at line 70 of file improvement.h.
Referenced by diplomat_sabotage(), handle_ruleset_building(), and load_ruleset_buildings().
| char impr_type::soundtag[MAX_LEN_NAME] |
Definition at line 74 of file improvement.h.
Referenced by handle_ruleset_building(), and load_ruleset_buildings().
| char impr_type::soundtag_alt[MAX_LEN_NAME] |
Definition at line 75 of file improvement.h.
Referenced by handle_ruleset_building(), and load_ruleset_buildings().
| int impr_type::upkeep |
Definition at line 69 of file improvement.h.
Referenced by city_improvement_upkeep(), get_tooltip_improvement(), handle_ruleset_building(), load_ruleset_buildings(), and help_widget::set_topic_building().