OpenTTD Source 20241224-master-gf74b0cf984
|
Settings related to all pathfinders. More...
#include <settings_type.h>
Data Fields | |
bool | roadveh_queue |
buggy road vehicle queueing | |
bool | forbid_90_deg |
forbid trains to make 90 deg turns | |
bool | reverse_at_signals |
whether to reverse at signals at all | |
uint8_t | wait_oneway_signal |
waitingtime in days before a oneway signal | |
uint8_t | wait_twoway_signal |
waitingtime in days before a twoway signal | |
bool | reserve_paths |
always reserve paths regardless of signal type. | |
uint8_t | wait_for_pbs_path |
how long to wait for a path reservation. | |
uint8_t | path_backoff_interval |
ticks between checks for a free path. | |
YAPFSettings | yapf |
pathfinder settings for the yet another pathfinder | |
Settings related to all pathfinders.
Definition at line 464 of file settings_type.h.
bool PathfinderSettings::forbid_90_deg |
forbid trains to make 90 deg turns
Definition at line 466 of file settings_type.h.
Referenced by AfterLoadGame(), CmdBuildSingleSignal(), ExtendTrainReservation(), FollowTrainReservation(), CYapfCostRailT< Types >::PfCalcCost(), YapfTrainCheckReverse(), YapfTrainChooseTrack(), YapfTrainFindNearestDepot(), and YapfTrainFindNearestSafeTile().
uint8_t PathfinderSettings::path_backoff_interval |
ticks between checks for a free path.
Definition at line 474 of file settings_type.h.
Referenced by CheckNextTrainTile(), and TrainController().
bool PathfinderSettings::reserve_paths |
always reserve paths regardless of signal type.
Definition at line 472 of file settings_type.h.
Referenced by CheckTrainStayInDepot(), and ReverseTrainDirection().
bool PathfinderSettings::reverse_at_signals |
whether to reverse at signals at all
Definition at line 468 of file settings_type.h.
Referenced by AfterLoadGame(), and TrainController().
bool PathfinderSettings::roadveh_queue |
buggy road vehicle queueing
Definition at line 465 of file settings_type.h.
Referenced by RoadFindPathToDest().
uint8_t PathfinderSettings::wait_for_pbs_path |
how long to wait for a path reservation.
Definition at line 473 of file settings_type.h.
Referenced by AfterLoadGame().
uint8_t PathfinderSettings::wait_oneway_signal |
waitingtime in days before a oneway signal
Definition at line 469 of file settings_type.h.
Referenced by AfterLoadGame(), and TrainController().
uint8_t PathfinderSettings::wait_twoway_signal |
waitingtime in days before a twoway signal
Definition at line 470 of file settings_type.h.
Referenced by AfterLoadGame(), and TrainController().
YAPFSettings PathfinderSettings::yapf |
pathfinder settings for the yet another pathfinder
Definition at line 476 of file settings_type.h.
Referenced by CheckIfTrainNeedsService(), YapfRoadVehicleChooseTrack(), and YapfRoadVehicleFindNearestDepot().