summaryrefslogtreecommitdiff
path: root/src/rev.cpp.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/rev.cpp.in')
-rw-r--r--src/rev.cpp.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/rev.cpp.in b/src/rev.cpp.in
index 458f92e86..bae5c6085 100644
--- a/src/rev.cpp.in
+++ b/src/rev.cpp.in
@@ -23,6 +23,16 @@
const char _openttd_revision[] = "@@VERSION@@";
/**
+ * Let us know if current build was modified. This detection
+ * works even in the case when revision string is overriden by
+ * --revision argument.
+ * Value 0 means no modification, 1 is for unknown state
+ * (compiling from sources without any version control software)
+ * and 2 is for modified revision.
+ */
+const byte _openttd_revision_modified = @@MODIFIED@@;
+
+/**
* The NewGRF revision of OTTD:
* bits meaning.
* 28-31 major version