![]() |
Freeciv21
Develop your civilization from humble roots to a global empire
|
#include <map_types.h>
Collaboration diagram for civ_map:Public Attributes | |
| int | topology_id |
| enum direction8 | valid_dirs [8] |
| enum direction8 | cardinal_dirs [8] |
| int | num_valid_dirs |
| int | num_cardinal_dirs |
| struct iter_index * | iterate_outwards_indices |
| int | num_iterate_outwards_indices |
| int | xsize |
| int | ysize |
| int | num_continents |
| int | num_oceans |
| struct tile * | tiles |
| QHash< struct tile *, struct startpos * > * | startpos_table |
| union { | |
| struct { | |
| enum mapsize_type mapsize | |
| int size | |
| int tilesperplayer | |
| int seed_setting | |
| int seed | |
| int riches | |
| int huts | |
| int huts_absolute | |
| int animals | |
| int landpercent | |
| enum map_generator generator | |
| enum map_startpos startpos | |
| bool tinyisles | |
| bool separatepoles | |
| int flatpoles | |
| bool single_pole | |
| bool alltemperate | |
| int temperature | |
| int wetness | |
| int steepness | |
| bool ocean_resources | |
| bool have_huts | |
| bool have_resources | |
| enum team_placement team_placement | |
| } server | |
| }; | |
Definition at line 67 of file map_types.h.
| union { ... } |
| bool civ_map::alltemperate |
Definition at line 98 of file map_types.h.
| int civ_map::animals |
Definition at line 90 of file map_types.h.
| enum direction8 civ_map::cardinal_dirs[8] |
Definition at line 69 of file map_types.h.
Referenced by fair_map_island_new(), and map_init_topology().
| int civ_map::flatpoles |
Definition at line 96 of file map_types.h.
| enum map_generator civ_map::generator |
Definition at line 91 of file map_types.h.
| bool civ_map::have_huts |
Definition at line 103 of file map_types.h.
| bool civ_map::have_resources |
Definition at line 104 of file map_types.h.
| int civ_map::huts |
Definition at line 87 of file map_types.h.
| int civ_map::huts_absolute |
Definition at line 88 of file map_types.h.
| struct iter_index* civ_map::iterate_outwards_indices |
Definition at line 71 of file map_types.h.
Referenced by api_methods_private_tile_for_outward_index(), api_methods_private_tile_next_outward_index(), generate_map_indices(), map_free(), and map_init().
| int civ_map::landpercent |
Definition at line 91 of file map_types.h.
| enum mapsize_type civ_map::mapsize |
Definition at line 77 of file map_types.h.
| int civ_map::num_cardinal_dirs |
Definition at line 70 of file map_types.h.
Referenced by fair_map_island_new(), and map_init_topology().
| int civ_map::num_continents |
Definition at line 74 of file map_types.h.
Referenced by achievement_check(), adv_data_get(), adv_data_phase_init(), assign_continent_numbers(), create_start_positions(), dai_plr_data_get(), handle_tile_info(), initialize_isle_data(), make_island(), and map_init().
| int civ_map::num_iterate_outwards_indices |
Definition at line 72 of file map_types.h.
Referenced by api_methods_private_tile_for_outward_index(), api_methods_private_tile_next_outward_index(), fair_map_place_island_team(), and generate_map_indices().
| int civ_map::num_oceans |
Definition at line 75 of file map_types.h.
Referenced by adv_data_get(), adv_data_phase_init(), assign_continent_numbers(), dai_plr_data_get(), map_init(), recalculate_lake_surrounders(), and regenerate_lakes().
| int civ_map::num_valid_dirs |
Definition at line 70 of file map_types.h.
Referenced by fair_map_island_new(), fair_map_make_resources(), likely_native(), map_init_topology(), and most_adjacent_ocean_type().
| bool civ_map::ocean_resources |
Definition at line 102 of file map_types.h.
| int civ_map::riches |
Definition at line 86 of file map_types.h.
| int civ_map::seed |
Definition at line 85 of file map_types.h.
| int civ_map::seed_setting |
Definition at line 84 of file map_types.h.
| bool civ_map::separatepoles |
Definition at line 95 of file map_types.h.
| struct { ... } civ_map::server |
Referenced by add_resources(), adjust_terrain_param(), compat_load_020600(), create_animals(), create_tmap(), do_team_placement(), fair_map_island_new(), fair_map_make_huts(), fair_map_make_resources(), generator_init_topology(), hmap_pole_factor(), huts_action(), huts_help(), init_new_game(), load_ruleset_terrain(), make_fracture_hmap(), make_fracture_relief(), make_land(), make_pseudofractal_hmap(), make_random_hmap(), make_relief(), make_rivers(), map_colatitude(), map_generate(), map_generate_island(), map_generate_island_2or3(), map_generate_island_single(), map_generate_island_variable(), map_init(), ok_for_separate_poles(), save_terrain_ruleset(), send_to_metaserver(), set_sizes(), sg_extras_set(), sg_load_map(), sg_load_map_tiles_extras(), sg_load_map_tiles_resources(), sg_save_map(), sg_save_settings(), sg_special_set(), srv_ready(), topology_callback(), and ysize_callback().
| bool civ_map::single_pole |
Definition at line 97 of file map_types.h.
| int civ_map::size |
Definition at line 82 of file map_types.h.
| enum map_startpos civ_map::startpos |
Definition at line 91 of file map_types.h.
Definition at line 77 of file map_types.h.
Referenced by edithand_send_initial_packets(), generate_players(), init_new_game(), is_valid_start_pos(), map_allocate(), map_free(), map_init(), map_startpos_count(), map_startpos_get(), map_startpos_new(), map_startpos_remove(), sg_save_map_startpos(), and update_nations_with_startpos().
| int civ_map::steepness |
Definition at line 101 of file map_types.h.
| enum team_placement civ_map::team_placement |
Definition at line 104 of file map_types.h.
| int civ_map::temperature |
Definition at line 99 of file map_types.h.
| struct tile* civ_map::tiles |
Definition at line 76 of file map_types.h.
Referenced by base_native_pos_to_tile(), index_to_tile(), map_allocate(), map_calculate_borders(), map_free(), map_init(), map_is_empty(), map_pos_to_tile(), native_pos_to_tile(), rand_map_pos_filtered(), texai_tile_info_recv(), and tile_virtual_check().
| int civ_map::tilesperplayer |
Definition at line 83 of file map_types.h.
| bool civ_map::tinyisles |
Definition at line 94 of file map_types.h.
| int civ_map::topology_id |
Definition at line 68 of file map_types.h.
Referenced by establish_new_connection(), handle_map_info(), handle_set_topology(), make_fracture_hmap(), map_init(), send_map_info(), tilespec_reread(), and tilespec_reread_callback().
| enum direction8 civ_map::valid_dirs[8] |
Definition at line 68 of file map_types.h.
Referenced by fair_map_island_new(), fair_map_make_resources(), and map_init_topology().
| int civ_map::wetness |
Definition at line 100 of file map_types.h.
| int civ_map::xsize |
Definition at line 73 of file map_types.h.
Referenced by base_map_distance_vector(), base_native_pos_to_tile(), calculate_overview_dimensions(), center_on_something(), city_waste(), create_animals(), create_island(), fair_map_copy(), fair_map_island_new(), fair_map_pos_tile(), fair_map_tile_border(), fmfill(), gen5rec(), generate_map_indices(), generator_init_topology(), get_mapview_scroll_window(), get_random_map_position_from_state(), handle_map_info(), is_border_tile(), is_normal_map_pos(), make_fracture_hmap(), make_island(), make_pseudofractal_hmap(), map_allocate(), map_generate_island_2or3(), map_generate_island_single(), map_generate_island_variable(), map_init(), map_init_topology(), map_num_tiles(), mapimg_create(), nearest_real_tile(), normalize_gui_pos(), place_starting_unit(), rand_map_pos(), mr_menu::save_image(), send_all_known_tiles(), send_map_info(), set_sizes(), sg_load_map_owner(), sg_load_map_worked(), sg_load_player_vision(), sg_save_map_owner(), sg_save_map_worked(), sg_save_player_vision(), trade_base_between_cities(), update_environmental_upset(), and ysize_callback().
| int civ_map::ysize |
Definition at line 73 of file map_types.h.
Referenced by base_map_distance_vector(), base_native_pos_to_tile(), calculate_overview_dimensions(), center_on_something(), city_waste(), create_animals(), create_island(), create_tmap(), fair_map_copy(), fair_map_island_new(), fair_map_pos_tile(), fair_map_tile_border(), fmfill(), gen5rec(), generate_map_indices(), generator_init_topology(), get_mapview_scroll_window(), get_random_map_position_from_state(), handle_map_info(), is_border_tile(), is_normal_map_pos(), make_fracture_hmap(), make_island(), make_pseudofractal_hmap(), map_allocate(), map_generate_island_2or3(), map_generate_island_single(), map_generate_island_variable(), map_init(), map_init_topology(), map_num_tiles(), mapimg_create(), mapsize_callback(), nearest_real_tile(), normalize_gui_pos(), place_starting_unit(), rand_map_pos(), mr_menu::save_image(), send_map_info(), set_sizes(), sg_load_map_owner(), sg_load_map_worked(), sg_load_player_vision(), sg_save_map_owner(), sg_save_map_worked(), sg_save_player_vision(), topology_callback(), trade_base_between_cities(), update_environmental_upset(), and xsize_callback().