Settings related to cargo destinations. More...
#include <settings_type.h>
Data Fields | |
uint8 | mode_pax_mail |
routing mode for cargoes with TE_PASSENGERS or TE_MAIL | |
uint8 | mode_town_cargo |
routing mode for cargoes with other town effects | |
uint8 | mode_others |
routing mode for all other cargoes | |
uint8 | base_town_links [2] |
minimum number of town demand links for (0=BASE_TOWN_LINKS) all cargos except (1=BASE_TOWN_LINKS_SYMM) symmetric cargos | |
uint8 | base_ind_links [3] |
minimum number of industry demand links for (0=BASE_IND_LINKS) all cargos except (1=BASE_IND_LINKS_TOWN) town cargos and (2=BASE_IND_LINKS_SYMM) symmetric cargos | |
uint8 | city_town_links |
additional number of links for cities | |
uint8 | town_chances_town [4] |
chances a link from a town to a town has a specific destination class ( | |
uint8 | town_chances_city [4] |
chances a link from a city to a town has a specific destination class ( | |
uint8 | ind_chances [3] |
chances a link to an industry has a specific destination class ( | |
uint8 | random_dest_chance |
percentage for traffic with random destination | |
uint32 | big_town_pop [2] |
(0=BIG_TOWN_POP_MAIL) mail, (1=BIG_TOWN_POP_PAX) passenger amount to count as a big town | |
uint16 | pop_scale_town [4] |
population/cargo amount scale divisor for (0=SCALE_TOWN) all cargos (1=SCALE_TOWN_BIG) for big towns except (2=SCALE_TOWN_PAX) passengers (3=SCALE_TOWN_BIG_PAX) for big towns | |
uint16 | cargo_scale_ind [2] |
cargo amount scale divisor for (0=CARGO_SCALE_IND) all cargos except (1=CARGO_SCALE_IND_TOWN) town cargos | |
uint16 | min_weight_town [2] |
minimum link weight for (0=MIN_WEIGHT_TOWN) all cargos except (1=MIN_WEIGHT_TOWN_PAX) passengers | |
uint16 | min_weight_ind |
minimum link weight for industry links | |
uint16 | weight_scale_town [4] |
weight scale divisor for (0=SCALE_TOWN) all cargos (1=SCALE_TOWN_BIG) for big towns except (2=SCALE_TOWN_PAX) passengers (3=SCALE_TOWN_BIG_PAX) for big towns | |
uint16 | weight_scale_ind [2] |
weight scale divisor for (0=WEIGHT_SCALE_IND_PROD) produced cargo (1=WEIGHT_SCALE_IND_PILE) stockpiled cargo | |
uint32 | town_nearby_dist |
squared distance (on a 256x256 map) inside which a town is considered nearby | |
uint32 | ind_nearby_dist |
squared distance (on a 256x256 map) inside which an industry is considered nearby | |
uint16 | max_route_age |
maximum days since the last vehicle traveled a link until link expiration | |
uint16 | route_recalc_delay |
delay in ticks between recalculating the next hop of cargo packets | |
uint16 | route_recalc_chunk |
maximum amount of cargo packets to recalculate in one step | |
uint16 | max_route_penalty [2] |
maximum penalty factor based on distance, (1) base value, (2) random additional span |
Settings related to cargo destinations.
Definition at line 394 of file settings_type.h.
uint8 CargodestSettings::ind_chances[3] |
chances a link to an industry has a specific destination class (
Definition at line 403 of file settings_type.h.
Referenced by FindIndustryDestination().
uint8 CargodestSettings::town_chances_city[4] |
chances a link from a city to a town has a specific destination class (
Definition at line 402 of file settings_type.h.
Referenced by UpdateCargoLinks().
uint8 CargodestSettings::town_chances_town[4] |
chances a link from a town to a town has a specific destination class (
Definition at line 401 of file settings_type.h.
Referenced by UpdateCargoLinks().