OpenTTD Source  20241108-master-g80f628063a
LinkGraphSettings Struct Reference

Public Member Functions

DistributionType GetDistributionType (CargoID cargo) const
 

Data Fields

uint16_t recalc_time
 time (in days) for recalculating each link graph component.
 
uint16_t recalc_interval
 time (in days) between subsequent checks for link graphs to be calculated.
 
DistributionType distribution_pax
 distribution type for passengers
 
DistributionType distribution_mail
 distribution type for mail
 
DistributionType distribution_armoured
 distribution type for armoured cargo class
 
DistributionType distribution_default
 distribution type for all other goods
 
uint8_t accuracy
 accuracy when calculating things on the link graph. low accuracy => low running time
 
uint8_t demand_size
 influence of supply ("station size") on the demand function
 
uint8_t demand_distance
 influence of distance between stations on the demand function
 
uint8_t short_path_saturation
 percentage up to which short paths are saturated before saturating most capacious paths
 

Detailed Description

Definition at line 542 of file settings_type.h.


The documentation for this struct was generated from the following file: