diff options
author | rubidium <rubidium@openttd.org> | 2008-11-24 11:20:07 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-11-24 11:20:07 +0000 |
commit | 0f6583216b943901654503915763fe68eead50bf (patch) | |
tree | 06db0fdfd075a09707a8c1308125fb4ce774b75f /src/strgen/strgen.cpp | |
parent | 965d0428bd25ff7eb6307a5c521a8cce67cf470e (diff) | |
download | openttd-0f6583216b943901654503915763fe68eead50bf.tar.xz |
(svn r14617) -Change: unduplicate the languagepack(header).
Diffstat (limited to 'src/strgen/strgen.cpp')
-rw-r--r-- | src/strgen/strgen.cpp | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/src/strgen/strgen.cpp b/src/strgen/strgen.cpp index ccf4c1398..298597311 100644 --- a/src/strgen/strgen.cpp +++ b/src/strgen/strgen.cpp @@ -7,6 +7,7 @@ #include "../core/endian_func.hpp" #include "../string_func.h" #include "../strings_type.h" +#include "strgen.h" #include "../table/control_codes.h" #include <stdio.h> @@ -35,18 +36,6 @@ typedef void (*ParseCmdProc)(char *buf, int value); -struct LanguagePackHeader { - uint32 ident; // 32-bits identifier - uint32 version; // 32-bits of auto generated version info which is basically a hash of strings.h - 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[32]; // the offsets - byte plural_form; // plural form index - byte text_dir; // default direction of the text - byte pad[2]; // pad header to be a multiple of 4 -}; - struct CmdStruct { const char *cmd; ParseCmdProc proc; |