00001 /* $Id$ */ 00002 00003 /* 00004 * This file is part of OpenTTD. 00005 * OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2. 00006 * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 00007 * See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>. 00008 */ 00009 00012 #ifndef STRGEN_H 00013 #define STRGEN_H 00014 00016 struct LanguagePackHeader { 00017 uint32 ident; 00018 uint32 version; 00019 char name[32]; 00020 char own_name[32]; 00021 char isocode[16]; 00022 uint16 offsets[32]; 00023 00025 char digit_group_separator[8]; 00027 char digit_group_separator_currency[8]; 00029 char digit_decimal_separator[8]; 00030 byte plural_form; 00031 byte text_dir; 00032 00040 uint16 winlangid; 00041 uint8 newgrflangid; 00042 byte pad[3]; 00043 }; 00044 00045 assert_compile(sizeof(LanguagePackHeader) % 4 == 0); 00046 00047 #endif /* STRGEN_H */