diff --git a/src/rev.cpp.in b/src/rev.cpp.in --- a/src/rev.cpp.in +++ b/src/rev.cpp.in @@ -38,7 +38,15 @@ bool IsReleasedVersion() const char _openttd_revision[] = "${REV_VERSION}"; /** - * The text version of OpenTTD's build date. + * The text version of OpenTTD's build date in short format (without the time). + * Updating the build date in this file is the safest as it generally gets + * updated for each revision in contrary to most other files that only see + * updates when they are actually changed themselves. + */ +const char _openttd_build_date_short[] = __DATE__; + +/** + * The text version of OpenTTD's build date and time. * Updating the build date in this file is the safest as it generally gets * updated for each revision in contrary to most other files that only see * updates when they are actually changed themselves. @@ -62,6 +70,8 @@ const char _openttd_revision_year[] = "$ * Value 0 means no modification, 1 is for unknown state * (compiling from sources without any version control software) * and 2 is for modified revision. + * + * Ginever patchpack uses value 3 for hg unmodified and 4 for hg modified */ const byte _openttd_revision_modified = ${REV_MODIFIED};