summaryrefslogtreecommitdiff
path: root/variables.h
diff options
context:
space:
mode:
authormatthijs <matthijs@openttd.org>2005-03-08 19:54:10 +0000
committermatthijs <matthijs@openttd.org>2005-03-08 19:54:10 +0000
commit232e41f2ff867bd1281c76ec3037d11cb5db0e65 (patch)
tree7d68f4e80ab28c8986de0bee20322d0bddcad0c9 /variables.h
parentd781d7ec000c99dc5ce7ed15e68c56ef582d0e22 (diff)
downloadopenttd-232e41f2ff867bd1281c76ec3037d11cb5db0e65.tar.xz
(svn r1963) - Add: [NPF] Penalty for a red signal that is the last signal on the path.
- Add: [NPF] NPFGetFlag() and NPFSetFlag() to wrap NPF node flag handling
Diffstat (limited to 'variables.h')
-rw-r--r--variables.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/variables.h b/variables.h
index 1f7dbf587..ecc525749 100644
--- a/variables.h
+++ b/variables.h
@@ -193,6 +193,7 @@ typedef struct Patches {
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_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 */