summaryrefslogtreecommitdiff
path: root/src/rev.cpp.in
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2008-06-03 18:35:58 +0000
committersmatz <smatz@openttd.org>2008-06-03 18:35:58 +0000
commit1f55797fe3c75ec61ea69e6fa38ca2e4d817d30e (patch)
tree72b7d141fd63dcb880f610a334390bf9c41f97b1 /src/rev.cpp.in
parent1b7fcf0171ab4bc39b6cbb6b144ab7433f72ce1e (diff)
downloadopenttd-1f55797fe3c75ec61ea69e6fa38ca2e4d817d30e.tar.xz
(svn r13375) -Add: logging of actions that could possibly cause desyncs and crashes to simplify debugging. See readme.txt for details
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