summaryrefslogtreecommitdiff
path: root/src/language.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/language.h')
-rw-r--r--src/language.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/language.h b/src/language.h
index 8e09599c8..d33ba8189 100644
--- a/src/language.h
+++ b/src/language.h
@@ -22,9 +22,6 @@ static const uint8 CASE_GENDER_LEN = 16; ///< The (maximum) length of a case/gen
static const uint8 MAX_NUM_GENDERS = 8; ///< Maximum number of supported genders.
static const uint8 MAX_NUM_CASES = 16; ///< Maximum number of supported cases.
-static const uint TAB_COUNT_BITS = 5; ///< The number of bits used for the amount of tabs.
-static const uint TAB_COUNT = 1 << TAB_COUNT_BITS; ///< The amount of tabs.
-
/** Header of a language file. */
struct LanguagePackHeader {
static const uint32 IDENT = 0x474E414C; ///< Identifier for OpenTTD language files, big endian for "LANG"
@@ -34,7 +31,7 @@ struct LanguagePackHeader {
char name[32]; ///< the international name of this language
char own_name[32]; ///< the localized name of this language
char isocode[16]; ///< the ISO code for the language (not country code)
- uint16 offsets[TAB_COUNT]; ///< the offsets
+ uint16 offsets[TEXT_TAB_END]; ///< the offsets
/** Thousand separator used for anything not currencies */
char digit_group_separator[8];