forked from yasumitsu/ja2-1.13-source-mirror
-
Notifications
You must be signed in to change notification settings - Fork 0
/
GameVersion.cpp
62 lines (50 loc) · 1.75 KB
/
GameVersion.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#ifdef PRECOMPILEDHEADERS
#include "JA2 All.h"
#else
#include "Types.h"
#include "GameVersion.h"
#endif
//
// Keeps track of the game version
//
// ------------------------------
// MAP EDITOR (Release and Debug) BUILD VERSION
// ------------------------------
#ifdef JA2EDITOR
#ifdef JA2UB
CHAR16 zVersionLabel[256] = { L"Unfinished Business - Map Editor v1.13 (Development Build)" };
#else
CHAR16 zVersionLabel[256] = { L"Map Editor v1.13 (Development Build)" };
#endif
// ------------------------------
// DEBUG BUILD VERSIONS
// ------------------------------
#elif defined JA2BETAVERSION
//DEBUG BUILD VERSION
#ifdef JA2UB
CHAR16 zVersionLabel[256] = { L"Debug: Unfinished Business - v1.13 (Development Build)" };
#elif defined (JA113DEMO)
CHAR16 zVersionLabel[256] = { L"Debug: JA2 Demo - v1.13 (Development Build)" };
#else
CHAR16 zVersionLabel[256] = { L"Debug: v1.13 (Development Build)" };
#endif
#elif defined CRIPPLED_VERSION
//RELEASE BUILD VERSION s
CHAR16 zVersionLabel[256] = { L"Beta v. 0.98" };
// ------------------------------
// RELEASE BUILD VERSIONS
// ------------------------------
#else
//RELEASE BUILD VERSION
#ifdef JA2UB
CHAR16 zVersionLabel[256] = { L"Release Unfinished Business - v1.13 (Development Build)" };
#elif defined (JA113DEMO)
CHAR16 zVersionLabel[256] = { L"Release JA2 Demo - v1.13 (Development Build)" };
#else
CHAR16 zVersionLabel[256] = { L"Release v1.13 (Development Build)" };
#endif
#endif
CHAR8 czVersionNumber[16] = { "Build 19.08.24" }; //YY.MM.DD
CHAR16 zTrackingNumber[16] = { L"Z" };
CHAR16 zRevisionNumber[16] = { L"Revision 8692" };
// SAVE_GAME_VERSION is defined in header, change it there