# strgen.h

Go to the documentation of this file.

    00001 /* $Id: strgen.h 15696 2009-03-13 00:30:26Z 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   uint8 newgrflangid; // newgrf language id
    00027   byte pad[3];        // pad header to be a multiple of 4
    00028 };
    00029
    00030 assert_compile(sizeof(LanguagePackHeader) % 4 == 0);
    00031
    00032 #endif /* STRGEN_H */