summaryrefslogtreecommitdiff
path: root/src/rev.cpp.in
diff options
context:
space:
mode:
authorPatric Stout <truebrain@openttd.org>2021-09-11 15:34:46 +0200
committerGitHub <noreply@github.com>2021-09-11 15:34:46 +0200
commita8641ea44a9c218a57abe84be7f38f0e19834bb3 (patch)
tree8a35898cbfa1ba2ea4a67e7ab30f53ec4333c05a /src/rev.cpp.in
parent9e85f407337f47fc0b1d338229398354865f1c16 (diff)
downloadopenttd-a8641ea44a9c218a57abe84be7f38f0e19834bb3.tar.xz
Add: support filtering content entries for patchpacks (#9541)
This changes nothing for us, but allows patchpacks to add the right pieces of code to start filtering content entries on patchpack only entries.
Diffstat (limited to 'src/rev.cpp.in')
-rw-r--r--src/rev.cpp.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/rev.cpp.in b/src/rev.cpp.in
index 337519ee2..3b8e68f95 100644
--- a/src/rev.cpp.in
+++ b/src/rev.cpp.in
@@ -73,6 +73,13 @@ const byte _openttd_revision_modified = ${REV_MODIFIED};
const byte _openttd_revision_tagged = ${REV_ISTAG};
/**
+ * To check compatibility of BaNaNaS content, this version string is used.
+ * It should never contain things like "beta", but only the release version
+ * we are compatible with.
+ */
+const char _openttd_content_version[] = "${REV_MAJOR}.${REV_MINOR}";
+
+/**
* The NewGRF revision of OTTD:
* bits meaning.
* 24-31 major version + 16