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.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/vehicle_type.h b/src/vehicle_type.h
index 79495cd1c..6a9d7c060 100644
--- a/src/vehicle_type.h
+++ b/src/vehicle_type.h
@@ -56,4 +56,9 @@ enum DepotCommand {
DEPOT_COMMAND_MASK = 0xF,
};
+enum {
+ MAX_LENGTH_VEHICLE_NAME_BYTES = 31, ///< The maximum length of a vehicle name in bytes including '\0'
+ MAX_LENGTH_VEHICLE_NAME_PIXELS = 150, ///< The maximum length of a vehicle name in pixels
+};
+
#endif /* VEHICLE_TYPE_H */