summaryrefslogtreecommitdiff
path: root/src/rev.cpp.in
diff options
context:
space:
mode:
authorNiels Martin Hansen <nielsm@indvikleren.dk>2019-02-10 18:01:30 +0100
committerCharles Pigott <charlespigott@googlemail.com>2019-02-12 21:32:43 +0000
commit46d97239c4aaead07e61f676fa88268b5b5208fa (patch)
tree3066405f23277f8aab0d743cd1e4e13603f83668 /src/rev.cpp.in
parent412e6132b60ad5db8912643befb0b895f4e11710 (diff)
downloadopenttd-46d97239c4aaead07e61f676fa88268b5b5208fa.tar.xz
Codechange: Include flag for whether a build is of a tagged revision
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 3c68e18eb..b4855d4cc 100644
--- a/src/rev.cpp.in
+++ b/src/rev.cpp.in
@@ -63,6 +63,13 @@ const char _openttd_revision_hash[] = "!!GITHASH!!";
const byte _openttd_revision_modified = !!MODIFIED!!;
/**
+ * Indicate whether this is a tagged version.
+ * If this is non-0, then _openttd_revision is the name of the tag,
+ * and the version is likely a beta, release candidate, or real release.
+ */
+const byte _openttd_revision_tagged = !!ISTAG!!;
+
+/**
* The NewGRF revision of OTTD:
* bits meaning.
* 28-31 major version