diff options
author | frosch <frosch@openttd.org> | 2017-02-26 19:39:58 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2017-02-26 19:39:58 +0000 |
commit | 9ad09627ad03030d39bd07e28c74bf91b83a0f24 (patch) | |
tree | 17e9348027ce501410980cdecc1db8ac22b84a9d /src/language.h | |
parent | b264dd2a8d71ac3fd57398e6cc23af4d5ebde046 (diff) | |
download | openttd-9ad09627ad03030d39bd07e28c74bf91b83a0f24.tar.xz |
(svn r27754) -Codechange: Add GetStringTab(), GetStringIndex() and MakeStringID() to access the structure of StringIDs.
Diffstat (limited to 'src/language.h')
-rw-r--r-- | src/language.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/language.h b/src/language.h index fed138e63..ea3069756 100644 --- a/src/language.h +++ b/src/language.h @@ -21,10 +21,8 @@ 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_SIZE_OFFSET = 0; ///< The offset for the tab size. 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_OFFSET = TAB_SIZE_BITS; ///< The offset for the tab count. 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. |