summaryrefslogtreecommitdiff
path: root/src/strgen/strgen.h
diff options
context:
space:
mode:
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