00001 /* $Id: strgen.h 14618 2008-11-24 18:53:17Z rubidium $ */ 00002 00005 #ifndef STRGEN_H 00006 #define STRGEN_H 00007 00008 struct LanguagePackHeader { 00009 uint32 ident; // 32-bits identifier 00010 uint32 version; // 32-bits of auto generated version info which is basically a hash of strings.h 00011 char name[32]; // the international name of this language 00012 char own_name[32]; // the localized name of this language 00013 char isocode[16]; // the ISO code for the language (not country code) 00014 uint16 offsets[32]; // the offsets 00015 byte plural_form; // plural form index 00016 byte text_dir; // default direction of the text 00025 uint16 winlangid; // windows language id 00026 /* byte pad[0]; // pad header to be a multiple of 4 */ 00027 }; 00028 00029 assert_compile(sizeof(LanguagePackHeader) % 4 == 0); 00030 00031 #endif /* STRGEN_H */