Codechange: Include flag for whether a build is of a tagged revision
This commit is contained in:
committed by
Charles Pigott
parent
412e6132b6
commit
46d97239c4
@@ -62,6 +62,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.
|
||||
|
||||
@@ -16,6 +16,7 @@ extern const char _openttd_revision[];
|
||||
extern const char _openttd_build_date[];
|
||||
extern const char _openttd_revision_hash[];
|
||||
extern const byte _openttd_revision_modified;
|
||||
extern const byte _openttd_revision_tagged;
|
||||
extern const uint32 _openttd_newgrf_version;
|
||||
|
||||
bool IsReleasedVersion();
|
||||
|
||||
Reference in New Issue
Block a user