summaryrefslogtreecommitdiff
path: root/src/depot_type.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-05-12 20:50:10 +0000
committerrubidium <rubidium@openttd.org>2010-05-12 20:50:10 +0000
commit1a5d7b34d8788340f348dc51a3809155b50b2595 (patch)
tree085f25035601ee9209149d209595d593e5baee51 /src/depot_type.h
parente91165ef6e907c7868ecf994c91b16bc9960fbf9 (diff)
downloadopenttd-1a5d7b34d8788340f348dc51a3809155b50b2595.tar.xz
(svn r19801) -Add [FS#3691]: custom naming of depots. Based on work by sbr
Diffstat (limited to 'src/depot_type.h')
-rw-r--r--src/depot_type.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/depot_type.h b/src/depot_type.h
index 2d55f5978..ab6013e13 100644
--- a/src/depot_type.h
+++ b/src/depot_type.h
@@ -15,4 +15,7 @@
typedef uint16 DepotID;
struct Depot;
+static const uint MAX_LENGTH_DEPOT_NAME_BYTES = 31; ///< The maximum length of a depot name in bytes including '\0'
+static const uint MAX_LENGTH_DEPOT_NAME_PIXELS = 180; ///< The maximum length of a depot name in pixels
+
#endif /* DEPOT_TYPE_H */