summaryrefslogtreecommitdiff
path: root/src/settings_type.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-08-02 22:53:51 +0000
committerrubidium <rubidium@openttd.org>2008-08-02 22:53:51 +0000
commit10d8fb64569ec2c7728066ec80e0cdd837b12296 (patch)
tree3b2e49932212ce694bdf113cf512aa35e41046eb /src/settings_type.h
parent33898d49bb511e62f8cb6e2f6e4b08074ddb73f3 (diff)
downloadopenttd-10d8fb64569ec2c7728066ec80e0cdd837b12296.tar.xz
(svn r13952) -Add [YAPP]: Trains now reserve paths trough PBS signals. Bump savegame version. (michi_cc)
Diffstat (limited to 'src/settings_type.h')
-rw-r--r--src/settings_type.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/settings_type.h b/src/settings_type.h
index 493e60118..c7341cd5a 100644
--- a/src/settings_type.h
+++ b/src/settings_type.h
@@ -244,6 +244,10 @@ struct PathfinderSettings {
byte wait_oneway_signal; ///< waitingtime in days before a oneway signal
byte wait_twoway_signal; ///< waitingtime in days before a twoway signal
+ bool reserve_paths; ///< always reserve paths regardless of signal type.
+ byte wait_for_pbs_path; ///< how long to wait for a path reservation.
+ byte path_backoff_interval; ///< ticks between checks for a free path.
+
OPFSettings opf; ///< pathfinder settings for the old pathfinder
NPFSettings npf; ///< pathfinder settings for the new pathfinder
YAPFSettings yapf; ///< pathfinder settings for the yet another pathfinder