|
@@ -35,13 +35,21 @@ bool IsReleasedVersion()
|
|
|
*
|
|
|
* <modified> shows a "M", if the binary is made from modified source code.
|
|
|
*/
|
|
|
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.
|
|
|
*/
|
|
|
const char _openttd_build_date[] = __DATE__ " " __TIME__;
|
|
|
|
|
@@ -59,12 +67,14 @@ const char _openttd_revision_year[] = "$
|
|
|
* Let us know if current build was modified. This detection
|
|
|
* works even in the case when revision string is overridden 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.
|
|
|
*
|
|
|
* Ginever patchpack uses value 3 for hg unmodified and 4 for hg modified
|
|
|
*/
|
|
|
const byte _openttd_revision_modified = ${REV_MODIFIED};
|
|
|
|
|
|
/**
|
|
|
* Indicate whether this is a tagged version.
|
|
|
* If this is non-0, then _openttd_revision is the name of the tag,
|