added MILESTONE

This commit is contained in:
sr0 2016-01-08 13:51:39 +01:00
parent 584cade086
commit 725869c951
2 changed files with 4 additions and 2 deletions

View File

@ -80,10 +80,10 @@ namespace Components
Utils::Hook::Set<char*>(0x6431D1, "data");
// UI version string
Utils::Hook::Set<char*>(0x43F73B, "iw4x IW4x: r" REVISION_STR);
Utils::Hook::Set<char*>(0x43F73B, "iw4x IW4x: r" REVISION_STR "-" MILESTONE);
// console version string
Utils::Hook::Set<char*>(0x4B12BB, "iw4x IW4x r" REVISION_STR " (built " __DATE__ " " __TIME__ ")");
Utils::Hook::Set<char*>(0x4B12BB, "iw4x IW4x r" REVISION_STR "-" MILESTONE " (built " __DATE__ " " __TIME__ ")");
// version string
Utils::Hook::Set<char*>(0x60BD56, "iw4x IW4x (r" REVISION_STR ")");

View File

@ -4,6 +4,8 @@
#define STRINGIZE_(x) #x
#define STRINGIZE(x) STRINGIZE_(x)
#define MILESTONE "alpha"
#define REVISION_STR STRINGIZE(REVISION)
#define VERSION 4,2,REVISION
#define VERSION_STR "4.2." REVISION_STR