From d30fcd4e354325af0d2b1968cd11c9db36a3e617 Mon Sep 17 00:00:00 2001 From: michi_cc Date: Sat, 3 Dec 2011 23:40:13 +0000 Subject: (svn r23411) -Add: Company infrastructure counts for rail. --- src/economy_type.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/economy_type.h') diff --git a/src/economy_type.h b/src/economy_type.h index d648c9b09..a7169245f 100644 --- a/src/economy_type.h +++ b/src/economy_type.h @@ -201,6 +201,11 @@ static const int MIN_PRICE_MODIFIER = -8; static const int MAX_PRICE_MODIFIER = 16; static const int INVALID_PRICE_MODIFIER = MIN_PRICE_MODIFIER - 1; +/** Multiplier for how many regular track bits a tunnel/bridge counts. */ +static const uint TUNNELBRIDGE_TRACKBIT_FACTOR = 4; +/** Multiplier for how many regular track bits a level crossing counts. */ +static const uint LEVELCROSSING_TRACKBIT_FACTOR = 2; + struct CargoPayment; typedef uint32 CargoPaymentID; -- cgit v1.2.3-54-g00ecf