summaryrefslogtreecommitdiff
path: root/src/bridge.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-11-10 23:43:14 +0000
committerrubidium <rubidium@openttd.org>2010-11-10 23:43:14 +0000
commited18d02e9a18f52cff79bce4d01cbfe9faae2de4 (patch)
tree96aa45c14247e75526e67acafa2c14c46e2f9c83 /src/bridge.h
parent65e6c9fd12b0ac3fc25934c14771412a6a5538bd (diff)
downloadopenttd-ed18d02e9a18f52cff79bce4d01cbfe9faae2de4.tar.xz
(svn r21142) -Codechange: replace magic bridge length constants with proper constants (uni657)
Diffstat (limited to 'src/bridge.h')
-rw-r--r--src/bridge.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bridge.h b/src/bridge.h
index b0546669b..5f2c1db59 100644
--- a/src/bridge.h
+++ b/src/bridge.h
@@ -72,4 +72,7 @@ int CalcBridgeLenCostFactor(int x);
void ResetBridges();
+static const uint MAX_BRIDGE_LENGTH = 16; ///< Maximum length of the bridge
+static const uint MAX_BRIDGE_LENGTH_LONGBRIDGES = 100; ///< Maximum length of the bridge with longbridges enabled
+
#endif /* BRIDGE_H */