summaryrefslogtreecommitdiff
path: root/src/player_type.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/player_type.h')
-rw-r--r--src/player_type.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/player_type.h b/src/player_type.h
index bf33923be..79d92f691 100644
--- a/src/player_type.h
+++ b/src/player_type.h
@@ -30,6 +30,11 @@ enum Owner {
};
DECLARE_POSTFIX_INCREMENT(Owner);
+enum {
+ MAX_LENGTH_PRESIDENT_NAME = 31, ///< The maximum length for a president's name
+ MAX_LENGTH_COMPANY_NAME = 31, ///< The maximum length for a company's name
+};
+
/** Define basic enum properties */
template <> struct EnumPropsT<Owner> : MakeEnumPropsT<Owner, byte, OWNER_BEGIN, OWNER_END, INVALID_OWNER> {};
typedef TinyEnumT<Owner> OwnerByte;