diff options
author | frosch <frosch@openttd.org> | 2017-02-26 19:40:53 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2017-02-26 19:40:53 +0000 |
commit | a56e2bccd0bbeac71e3fa4c406ae5ec5f8e578a8 (patch) | |
tree | 921d348a0938d086c0b7036bedc1e84df7264316 /src/language.h | |
parent | f4da8ece0ce02d6fe3dac6f8adc147e8a3d095a3 (diff) | |
download | openttd-a56e2bccd0bbeac71e3fa4c406ae5ec5f8e578a8.tar.xz |
(svn r27756) -Codechange: Add StringTab enum
Diffstat (limited to 'src/language.h')
-rw-r--r-- | src/language.h | 5 |
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]; |