summaryrefslogtreecommitdiff
path: root/src/company_type.h
diff options
context:
space:
mode:
authorterkhen <terkhen@openttd.org>2011-04-17 18:42:17 +0000
committerterkhen <terkhen@openttd.org>2011-04-17 18:42:17 +0000
commit10caf391a1b6de33e1ac03236b2744adc9a2b2c5 (patch)
treee15e81245ef9d18ae217a50ad0b276692213a725 /src/company_type.h
parente874f0e16e5ddaff3c5f40f419f31aedc7226897 (diff)
downloadopenttd-10caf391a1b6de33e1ac03236b2744adc9a2b2c5.tar.xz
(svn r22343) -Change: Remove pixel limiter for query strings.
Diffstat (limited to 'src/company_type.h')
-rw-r--r--src/company_type.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/company_type.h b/src/company_type.h
index 88949b9ad..922b63364 100644
--- a/src/company_type.h
+++ b/src/company_type.h
@@ -37,12 +37,10 @@ enum Owner {
};
DECLARE_POSTFIX_INCREMENT(Owner)
-static const uint MAX_LENGTH_PRESIDENT_NAME_CHARS = 32; ///< The maximum length of a president name in characters including '\0'
-static const uint MAX_LENGTH_PRESIDENT_NAME_PIXELS = 94; ///< The maximum length of a president name in pixels
-static const uint MAX_LENGTH_COMPANY_NAME_CHARS = 32; ///< The maximum length of a company name in characters including '\0'
-static const uint MAX_LENGTH_COMPANY_NAME_PIXELS = 150; ///< The maximum length of a company name in pixels
+static const uint MAX_LENGTH_PRESIDENT_NAME_CHARS = 32; ///< The maximum length of a president name in characters including '\0'
+static const uint MAX_LENGTH_COMPANY_NAME_CHARS = 32; ///< The maximum length of a company name in characters including '\0'
-static const uint MAX_HISTORY_MONTHS = 24; ///< The maximum number of months kept as performance's history
+static const uint 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> {};