summaryrefslogtreecommitdiff
path: root/src/strgen/strgen.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-03-13 00:30:26 +0000
committerrubidium <rubidium@openttd.org>2009-03-13 00:30:26 +0000
commiteb0d43aadd6f423fa961dd81e4fdfb49ce9e92a2 (patch)
tree423a5c4f3ace7646dcd0dd867312bdd30a4ff797 /src/strgen/strgen.h
parentf6e4bc765ae9a69e3e0622724c6859d5b315c4af (diff)
downloadopenttd-eb0d43aadd6f423fa961dd81e4fdfb49ce9e92a2.tar.xz
(svn r15696) -Codechange: move the NewGRF language ID into the language file instead of maintaining a table in the code.
Diffstat (limited to 'src/strgen/strgen.h')
-rw-r--r--src/strgen/strgen.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/strgen/strgen.h b/src/strgen/strgen.h
index 93253259f..3bf104f8b 100644
--- a/src/strgen/strgen.h
+++ b/src/strgen/strgen.h
@@ -23,7 +23,8 @@ struct LanguagePackHeader {
* http://msdn.microsoft.com/en-us/library/ms776294.aspx
*/
uint16 winlangid; // windows language id
- /* byte pad[0]; // pad header to be a multiple of 4 */
+ uint8 newgrflangid; // newgrf language id
+ byte pad[3]; // pad header to be a multiple of 4
};
assert_compile(sizeof(LanguagePackHeader) % 4 == 0);