forked from 1dot13/source
-
Notifications
You must be signed in to change notification settings - Fork 0
/
GameVersion.cpp
45 lines (33 loc) · 1.09 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
#include "Types.h"
#include "GameVersion.h"
//
// Keeps track of the game version
//
#ifdef JA2EDITOR // map editor
#ifdef JA2UB
CHAR16 zProductLabel[64] = { L"JA2 1.13 Unfinished Business - Map Editor" };
#else
CHAR16 zProductLabel[64] = { L"JA2 1.13 - Map Editor" };
#endif
#elif defined JA2BETAVERSION // debug
#ifdef JA2UB
CHAR16 zProductLabel[64] = { L"Debug: JA2 1.13 Unfinished Business" };
#elif defined (JA113DEMO)
CHAR16 zProductLabel[64] = { L"Debug: JA2 1.13 Demo" };
#else
CHAR16 zProductLabel[64] = { L"Debug: JA2 1.13" };
#endif
#elif defined CRIPPLED_VERSION
CHAR16 zProductLabel[64] = { L"JA2 113 Beta-0.98" };
#else // release
#ifdef JA2UB
CHAR16 zProductLabel[64] = { L"JA2 1.13 Unfinished Business" };
#elif defined (JA113DEMO)
CHAR16 zProductLabel[64] = { L"JA2 1.13 Demo" };
#else
CHAR16 zProductLabel[64] = { L"JA2 1.13" };
#endif
#endif
CHAR8 czVersionString[16] = { "@Version@" };
CHAR16 zBuildInformation[256] = { L"@Build@" };
// SAVE_GAME_VERSION is defined in header, change it there