summaryrefslogtreecommitdiff
path: root/src/signs_type.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-08-13 06:05:01 +0000
committerrubidium <rubidium@openttd.org>2008-08-13 06:05:01 +0000
commitc816cc37fd01eb9b0842fd22cf5e79473d338c9f (patch)
treedd64aeafae6994a4ed4e2d23a71d62db7de1668f /src/signs_type.h
parent688267ad524c955567924294d0e066379994773b (diff)
downloadopenttd-c816cc37fd01eb9b0842fd22cf5e79473d338c9f.tar.xz
(svn r14063) -Codechange: replace some "magic" constants with enumified constants.
Diffstat (limited to 'src/signs_type.h')
-rw-r--r--src/signs_type.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/signs_type.h b/src/signs_type.h
index 7f1dc5f4f..1757a96ef 100644
--- a/src/signs_type.h
+++ b/src/signs_type.h
@@ -10,6 +10,9 @@ struct Sign;
enum {
INVALID_SIGN = 0xFFFF,
+
+ MAX_LENGTH_SIGN_NAME_BYTES = 31, ///< The maximum length of a sign name in bytes including '\0'
+ MAX_LENGTH_SIGN_NAME_PIXELS = 255, ///< The maximum length of a sign name in pixels
};
#endif /* SIGNS_TYPE_H */