summaryrefslogtreecommitdiff
path: root/src/settings_type.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-08-02 22:51:23 +0000
committerrubidium <rubidium@openttd.org>2008-08-02 22:51:23 +0000
commitecc509195a75f67a06bfb4b0c74100bb29d07986 (patch)
tree2f2a53054931bc9d6aed327ba48b1805e8aa268f /src/settings_type.h
parent8c7983727ee173866ae7e9c4d6a679e5cf31781e (diff)
downloadopenttd-ecc509195a75f67a06bfb4b0c74100bb29d07986.tar.xz
(svn r13942) -Codechange [YAPP]: Add a penalty for double slips to YAPF. (michi_cc)
Diffstat (limited to 'src/settings_type.h')
-rw-r--r--src/settings_type.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/settings_type.h b/src/settings_type.h
index 80e5960d6..d2d3a183f 100644
--- a/src/settings_type.h
+++ b/src/settings_type.h
@@ -220,6 +220,7 @@ struct YAPFSettings {
int32 rail_look_ahead_signal_p2; ///< constant in polynomial penalty function
uint32 rail_pbs_cross_penalty; ///< penalty for crossing a reserved tile
uint32 rail_pbs_signal_back_penalty; ///< penalty for passing a pbs signal from the backside
+ uint32 rail_doubleslip_penalty; ///< penalty for passing a double slip switch
uint32 rail_longer_platform_penalty; ///< penalty for longer station platform than train
uint32 rail_longer_platform_per_tile_penalty; ///< penalty for longer station platform than train (per tile)