From eb0d43aadd6f423fa961dd81e4fdfb49ce9e92a2 Mon Sep 17 00:00:00 2001 From: rubidium Date: Fri, 13 Mar 2009 00:30:26 +0000 Subject: (svn r15696) -Codechange: move the NewGRF language ID into the language file instead of maintaining a table in the code. --- src/strgen/strgen.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/strgen/strgen.h') 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); -- cgit v1.2.3-54-g00ecf