summaryrefslogtreecommitdiff
path: root/src/company_type.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/company_type.h')
-rw-r--r--src/company_type.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/company_type.h b/src/company_type.h
index 997cc40a1..db190797b 100644
--- a/src/company_type.h
+++ b/src/company_type.h
@@ -37,6 +37,10 @@ enum {
MAX_LENGTH_COMPANY_NAME_PIXELS = 150, ///< The maximum length of a company name in pixels
};
+enum {
+ MAX_HISTORY_MONTHS = 24, ///< The maximum number of months kept as performance's history
+};
+
/** Define basic enum properties */
template <> struct EnumPropsT<Owner> : MakeEnumPropsT<Owner, byte, OWNER_BEGIN, OWNER_END, INVALID_OWNER> {};
typedef TinyEnumT<Owner> OwnerByte;