summaryrefslogtreecommitdiff
path: root/src/economy_type.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/economy_type.h')
-rw-r--r--src/economy_type.h5
1 files changed, 5 insertions, 0 deletions
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;