![]() |
Freeciv21
Develop your civilization from humble roots to a global empire
|
#include <terrain.h>
Collaboration diagram for terrain:Public Attributes | |
| int | item_number |
| struct name_translation | name |
| bool | ruledit_disabled |
| char | graphic_str [MAX_LEN_NAME] |
| char | graphic_alt [MAX_LEN_NAME] |
| char | identifier |
| char | identifier_load |
| enum terrain_class | tclass |
| int | movement_cost |
| int | defense_bonus |
| int | output [O_LAST] |
| struct extra_type ** | resources |
| int | road_output_incr_pct [O_LAST] |
| int | base_time |
| int | road_time |
| int | cultivate_time |
| int | plant_time |
| struct terrain * | irrigation_result |
| int | irrigation_food_incr |
| int | irrigation_time |
| struct terrain * | mining_result |
| int | mining_shield_incr |
| int | mining_time |
| int | placing_time |
| struct terrain * | transform_result |
| int | transform_time |
| int | clean_pollution_time |
| int | clean_fallout_time |
| int | pillage_time |
| const struct unit_type * | animal |
| struct terrain * | warmer_wetter_result |
| struct terrain * | warmer_drier_result |
| struct terrain * | cooler_wetter_result |
| struct terrain * | cooler_drier_result |
| int | property [MG_COUNT] |
| bv_unit_classes | native_to |
| bv_terrain_flags | flags |
| struct rgbcolor * | rgb |
| QVector< QString > * | helptext |
| const struct unit_type* terrain::animal |
Definition at line 216 of file terrain.h.
Referenced by animal_for_terrain(), handle_ruleset_terrain(), and terrains_init().
| int terrain::base_time |
Definition at line 193 of file terrain.h.
Referenced by handle_ruleset_terrain(), helptext_terrain(), is_native_tile_to_extra(), help_widget::set_topic_terrain(), sg_special_set(), terrain_extra_build_time(), and help_widget::terrain_max_values().
| int terrain::clean_fallout_time |
Definition at line 213 of file terrain.h.
Referenced by handle_ruleset_terrain(), terrain_extra_removal_time(), and help_widget::terrain_max_values().
| int terrain::clean_pollution_time |
Definition at line 212 of file terrain.h.
Referenced by handle_ruleset_terrain(), terrain_extra_removal_time(), and help_widget::terrain_max_values().
| struct terrain * terrain::cooler_drier_result |
Definition at line 220 of file terrain.h.
Referenced by climate_change().
| struct terrain* terrain::cooler_wetter_result |
Definition at line 220 of file terrain.h.
Referenced by climate_change().
| int terrain::cultivate_time |
Definition at line 196 of file terrain.h.
Referenced by handle_ruleset_terrain(), help_widget::set_topic_terrain(), and tile_activity_time().
| int terrain::defense_bonus |
Definition at line 186 of file terrain.h.
Referenced by find_best_tile_to_paradrop_to(), handle_ruleset_terrain(), popup_terrain_info(), help_widget::set_topic_terrain(), and help_widget::terrain_max_values().
| bv_terrain_flags terrain::flags |
Definition at line 238 of file terrain.h.
Referenced by handle_ruleset_terrain().
| char terrain::graphic_alt[MAX_LEN_NAME] |
Definition at line 175 of file terrain.h.
Referenced by handle_ruleset_terrain(), freeciv::layer_terrain::initialize_terrain(), and make_tag_terrain_list().
| char terrain::graphic_str[MAX_LEN_NAME] |
Definition at line 174 of file terrain.h.
Referenced by handle_ruleset_terrain(), freeciv::layer_terrain::initialize_terrain(), and make_tag_terrain_list().
| QVector<QString>* terrain::helptext |
Definition at line 242 of file terrain.h.
Referenced by handle_ruleset_terrain(), and helptext_terrain().
| char terrain::identifier |
Definition at line 177 of file terrain.h.
Referenced by terrain2char(), and terrain_identifier().
| char terrain::identifier_load |
Definition at line 178 of file terrain.h.
Referenced by sg_load_savefile(), and page_load::slot_selection_changed().
| int terrain::irrigation_food_incr |
Definition at line 201 of file terrain.h.
Referenced by city_tile_output(), extra_bonus_for_terrain(), handle_ruleset_terrain(), and help_widget::terrain_max_values().
| struct terrain* terrain::irrigation_result |
Definition at line 200 of file terrain.h.
Referenced by adv_calc_irrigate_transform(), can_unit_do_activity(), can_unit_do_connect(), handle_ruleset_terrain(), is_native_tile_to_extra(), mr_menu::menus_sensitive(), next_extra_for_tile(), help_widget::set_topic_terrain(), sg_special_set(), terrain_can_support_alteration(), tile_cultivate(), and tile_irrigate().
| int terrain::irrigation_time |
Definition at line 202 of file terrain.h.
Referenced by handle_ruleset_terrain(), terrain_extra_build_time(), and help_widget::terrain_max_values().
| int terrain::item_number |
Definition at line 171 of file terrain.h.
Referenced by terrain_number(), and terrains_init().
| struct terrain* terrain::mining_result |
Definition at line 204 of file terrain.h.
Referenced by adv_calc_mine_transform(), can_unit_do_activity(), handle_ruleset_terrain(), is_native_tile_to_extra(), mr_menu::menus_sensitive(), next_extra_for_tile(), help_widget::set_topic_terrain(), sg_special_set(), terrain_can_support_alteration(), tile_mine(), and tile_plant().
| int terrain::mining_shield_incr |
Definition at line 205 of file terrain.h.
Referenced by city_tile_output(), extra_bonus_for_terrain(), handle_ruleset_terrain(), and help_widget::terrain_max_values().
| int terrain::mining_time |
Definition at line 206 of file terrain.h.
Referenced by handle_ruleset_terrain(), help_widget::set_topic_terrain(), terrain_extra_build_time(), and help_widget::terrain_max_values().
| int terrain::movement_cost |
Definition at line 185 of file terrain.h.
Referenced by handle_ruleset_terrain(), popup_terrain_info(), help_widget::set_topic_terrain(), and help_widget::terrain_max_values().
| struct name_translation terrain::name |
Definition at line 171 of file terrain.h.
Referenced by handle_ruleset_terrain(), tab_terrains::initialize_new_terrain(), tab_terrains::name_given(), terrain_name_translation(), terrain_rule_name(), and tab_terrains::update_terrain_info().
| bv_unit_classes terrain::native_to |
Definition at line 236 of file terrain.h.
Referenced by handle_ruleset_terrain(), and is_native_to_class().
| int terrain::output[O_LAST] |
Definition at line 188 of file terrain.h.
Referenced by city_tile_output(), extra_bonus_for_terrain(), handle_ruleset_terrain(), help_widget::set_topic_terrain(), and help_widget::terrain_max_values().
| int terrain::pillage_time |
Definition at line 214 of file terrain.h.
Referenced by handle_ruleset_terrain(), terrain_extra_removal_time(), and help_widget::terrain_max_values().
| int terrain::placing_time |
Definition at line 208 of file terrain.h.
Referenced by handle_ruleset_terrain().
| int terrain::plant_time |
Definition at line 198 of file terrain.h.
Referenced by handle_ruleset_terrain(), help_widget::set_topic_terrain(), and tile_activity_time().
| int terrain::property[MG_COUNT] |
Definition at line 232 of file terrain.h.
Referenced by count_terrain_property_near_tile(), is_tiny_island(), make_rivers(), most_shallow_ocean(), pick_ocean(), and pick_terrain().
| struct extra_type** terrain::resources |
Definition at line 190 of file terrain.h.
Referenced by add_resources(), fair_map_make_resources(), handle_ruleset_terrain(), help_widget::set_topic_terrain(), and terrain_has_resource().
| struct rgbcolor* terrain::rgb |
Definition at line 240 of file terrain.h.
Referenced by get_terrain_color(), handle_ruleset_terrain(), imgcolor_terrain(), page_load::slot_selection_changed(), and terrains_init().
| int terrain::road_output_incr_pct[O_LAST] |
Definition at line 192 of file terrain.h.
Referenced by extra_bonus_for_terrain(), handle_ruleset_terrain(), helptext_road_bonus_str(), and help_widget::terrain_max_values().
| int terrain::road_time |
Definition at line 194 of file terrain.h.
Referenced by handle_ruleset_terrain(), helptext_terrain(), is_native_tile_to_extra(), help_widget::set_topic_terrain(), sg_special_set(), terrain_can_support_alteration(), terrain_extra_build_time(), and help_widget::terrain_max_values().
| bool terrain::ruledit_disabled |
Definition at line 173 of file terrain.h.
Referenced by tab_terrains::delete_now(), tab_terrains::name_given(), and terrains_init().
| enum terrain_class terrain::tclass |
Definition at line 178 of file terrain.h.
Referenced by count_terrain_class_near_tile(), handle_ruleset_terrain(), is_terrain_class_card_near(), is_terrain_class_near_tile(), and terrain_class_name_translation().
| struct terrain* terrain::transform_result |
Definition at line 210 of file terrain.h.
Referenced by adv_calc_transform(), handle_ruleset_terrain(), mr_menu::menus_sensitive(), help_widget::set_topic_terrain(), and tile_transform().
| int terrain::transform_time |
Definition at line 211 of file terrain.h.
Referenced by handle_ruleset_terrain(), help_widget::set_topic_terrain(), help_widget::terrain_max_values(), and tile_activity_time().
| struct terrain * terrain::warmer_drier_result |
Definition at line 219 of file terrain.h.
Referenced by climate_change().
| struct terrain* terrain::warmer_wetter_result |
Definition at line 219 of file terrain.h.
Referenced by climate_change().