summaryrefslogtreecommitdiff
path: root/variables.h
diff options
context:
space:
mode:
authormatthijs <matthijs@openttd.org>2005-04-04 17:53:39 +0000
committermatthijs <matthijs@openttd.org>2005-04-04 17:53:39 +0000
commit6c825df8f76442acf61f0c2f01620bdbff8a776f (patch)
tree99922c71839c7787413ed4d520b38e4542cb1267 /variables.h
parent00c819c0d5e2e64717d6c7968f477cb4642a94d5 (diff)
downloadopenttd-6c825df8f76442acf61f0c2f01620bdbff8a776f.tar.xz
(svn r2147) - Add: [NPF] Give red presignal exit signals a different (higher) penalty, to discourage trains from waiting at presignal exits.
Diffstat (limited to 'variables.h')
-rw-r--r--variables.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/variables.h b/variables.h
index dc9ed347f..c1f977ec1 100644
--- a/variables.h
+++ b/variables.h
@@ -195,7 +195,8 @@ typedef struct Patches {
/* New Path Finding */
bool new_pathfinding_all; /* Use the newest pathfinding algorithm for all */
- uint32 npf_rail_firstred_penalty; /* The penalty for when the first signal is red */
+ uint32 npf_rail_firstred_penalty; /* The penalty for when the first signal is red (and it is not an exit or combo signal) */
+ uint32 npf_rail_firstred_exit_penalty; /* The penalty for when the first signal is red (and it is an exit or combo signal) */
uint32 npf_rail_lastred_penalty; /* The penalty for when the last signal is red */
uint32 npf_rail_station_penalty; /* The penalty for station tiles */
uint32 npf_rail_slope_penalty; /* The penalty for sloping upwards */