File diff r22548:e350bbe3b5af → r22549:21c2f1153122
src/language.h
Show inline comments
 
@@ -22,9 +22,6 @@ static const uint8 CASE_GENDER_LEN = 16;
 
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];