mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
Using kill all enemies cheat via ALT + o caused reading MercPtrs from index 254 when its last element is at 253
63 lines
1.8 KiB
C++
63 lines
1.8 KiB
C++
#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 22.11.04" }; //YY.MM.DD
|
|
CHAR16 zTrackingNumber[16] = { L"Z" };
|
|
CHAR16 zRevisionNumber[16] = { L"Revision 9404" };
|
|
|
|
// SAVE_GAME_VERSION is defined in header, change it there
|