(svn r15696) -Codechange: move the NewGRF language ID into the language file instead of maintaining a table in the code.

This commit is contained in:
rubidium
2009-03-13 00:30:26 +00:00
parent aa441cd4d7
commit f1605cf475
58 changed files with 75 additions and 110 deletions

View File

@@ -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);