summaryrefslogtreecommitdiff
path: root/src/strgen/strgen.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-11-07 18:35:59 +0000
committerrubidium <rubidium@openttd.org>2010-11-07 18:35:59 +0000
commit28ed77c35421310fdcc8c4b02ea363a8d22ef02e (patch)
tree5af19f2f81f62f4718c17b2db4a6991bdf1be63d /src/strgen/strgen.h
parenta89fed21c78df05b18e30dcb72cef60331d24556 (diff)
downloadopenttd-28ed77c35421310fdcc8c4b02ea363a8d22ef02e.tar.xz
(svn r21113) -Codechange: remove the amount of places where the language pack identifier magic value is
Diffstat (limited to 'src/strgen/strgen.h')
-rw-r--r--src/strgen/strgen.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/strgen/strgen.h b/src/strgen/strgen.h
index 40c5f2031..ecaeb05ff 100644
--- a/src/strgen/strgen.h
+++ b/src/strgen/strgen.h
@@ -14,6 +14,8 @@
/** Header of a language file. */
struct LanguagePackHeader {
+ static const uint32 IDENT = 0x474E414C; ///< Identifier for OpenTTD language files, big endian for "LANG"
+
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