summaryrefslogtreecommitdiff
path: root/src/vehicle_type.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vehicle_type.h')
-rw-r--r--src/vehicle_type.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vehicle_type.h b/src/vehicle_type.h
index 4b4150a63..32c79421d 100644
--- a/src/vehicle_type.h
+++ b/src/vehicle_type.h
@@ -67,6 +67,9 @@ enum DepotCommand {
static const uint MAX_LENGTH_VEHICLE_NAME_CHARS = 32; ///< The maximum length of a vehicle name in characters including '\0'
static const uint MAX_LENGTH_VEHICLE_NAME_PIXELS = 150; ///< The maximum length of a vehicle name in pixels
+/** The length of a vehicle in tile units. */
+static const uint VEHICLE_LENGTH = 8;
+
/** Vehicle acceleration models. */
enum AccelerationModel {
AM_ORIGINAL,