diff options
author | frosch <frosch@openttd.org> | 2017-02-26 19:40:32 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2017-02-26 19:40:32 +0000 |
commit | f4da8ece0ce02d6fe3dac6f8adc147e8a3d095a3 (patch) | |
tree | 8a2c1ca7a961cc1df6588bd0c360ef8eb182d72a /src/language.h | |
parent | 9ad09627ad03030d39bd07e28c74bf91b83a0f24 (diff) | |
download | openttd-f4da8ece0ce02d6fe3dac6f8adc147e8a3d095a3.tar.xz |
(svn r27755) -Codechange: Move TAB_SIZE to strings_type.h and use it consistently.
Diffstat (limited to 'src/language.h')
-rw-r--r-- | src/language.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/language.h b/src/language.h index ea3069756..8e09599c8 100644 --- a/src/language.h +++ b/src/language.h @@ -16,13 +16,12 @@ #ifdef WITH_ICU_SORT #include <unicode/coll.h> #endif /* WITH_ICU_SORT */ +#include "strings_type.h" static const uint8 CASE_GENDER_LEN = 16; ///< The (maximum) length of a case/gender string. 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_SIZE_BITS = 11; ///< The number of bits used for the tab size. -static const uint TAB_SIZE = 1 << TAB_SIZE_BITS; ///< The number of values in a tab. 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. |