mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +02:00
Move main executable source to its own directory (#248)
* Move main executable files to their own directory * Adapt the build to the new file structure ... and fix some weird #include's that were relying on the project root being an include directory.
This commit is contained in:
@@ -0,0 +1,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
|
||||
Reference in New Issue
Block a user