diff --git a/src/rct2.h b/src/rct2.h index 5f10548f66..9421c31888 100644 --- a/src/rct2.h +++ b/src/rct2.h @@ -80,6 +80,7 @@ typedef utf16* utf16string; #define OPENRCT2_TIMESTAMP __DATE__ " " __TIME__ // The following constants are for automated build servers +#define OPENRCT2_BUILD_NUMBER "" #define OPENRCT2_BUILD_SERVER "" #define OPENRCT2_BRANCH "develop" #define OPENRCT2_COMMIT_SHA1 "" diff --git a/src/title.c b/src/title.c index c1b2334f82..ec557ab74b 100644 --- a/src/title.c +++ b/src/title.c @@ -376,6 +376,8 @@ static void DrawOpenRCT2(int x, int y) sprintf(buffer, "%c%c%c%s, v%s", FORMAT_MEDIUMFONT, FORMAT_OUTLINE, FORMAT_WHITE, OPENRCT2_NAME, OPENRCT2_VERSION); if (!str_is_null_or_empty(OPENRCT2_BRANCH)) sprintf(strchr(buffer, 0), "-%s", OPENRCT2_BRANCH); + if (!str_is_null_or_empty(OPENRCT2_BUILD_NUMBER)) + sprintf(strchr(buffer, 0), " build %s", OPENRCT2_BUILD_NUMBER); if (!str_is_null_or_empty(OPENRCT2_COMMIT_SHA1_SHORT)) sprintf(strchr(buffer, 0), " (%s)", OPENRCT2_COMMIT_SHA1_SHORT); if (!str_is_null_or_empty(OPENRCT2_BUILD_SERVER))