From 06a02499947eb97d6ecc842ac4e69d545cc2c3f2 Mon Sep 17 00:00:00 2001 From: Wanne Date: Fri, 20 Jun 2008 10:35:51 +0000 Subject: [PATCH] I just added a comment to builddefines.h for building the editor: You should build the map editor in "Release" mode and not "MapEditor" mode. You also have to enable the 2 defines in builddefines.h for the map editor. git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2228 3b4a5df2-a311-0410-b5c6-a8a6f20db521 --- GameVersion.cpp | 8 ++++---- builddefines.h | 9 +++++++-- ja2_2005Express.vcproj | 8 ++++---- 3 files changed, 15 insertions(+), 10 deletions(-) diff --git a/GameVersion.cpp b/GameVersion.cpp index 690f4654..86e4deac 100644 --- a/GameVersion.cpp +++ b/GameVersion.cpp @@ -13,12 +13,12 @@ #ifdef JA2EDITOR //MAP EDITOR BUILD VERSION -CHAR16 zVersionLabel[256] = { L"Map Editor v1.13.2222" }; +CHAR16 zVersionLabel[256] = { L"Map Editor v1.13.2227" }; #elif defined JA2BETAVERSION //BETA/TEST BUILD VERSION -CHAR16 zVersionLabel[256] = { L"Debug v1.13.2222" }; +CHAR16 zVersionLabel[256] = { L"Debug v1.13.2227" }; #elif defined CRIPPLED_VERSION @@ -28,11 +28,11 @@ CHAR16 zVersionLabel[256] = { L"Beta v. 0.98" }; #else //RELEASE BUILD VERSION - CHAR16 zVersionLabel[256] = { L"Release v1.13.2222" }; + CHAR16 zVersionLabel[256] = { L"Release v1.13.2227" }; #endif -CHAR8 czVersionNumber[16] = { "Build 08.06.08" }; //YY.MM.DD +CHAR8 czVersionNumber[16] = { "Build 08.06.20" }; //YY.MM.DD CHAR16 zTrackingNumber[16] = { L"Z" }; diff --git a/builddefines.h b/builddefines.h index 8447fc03..275067e4 100644 --- a/builddefines.h +++ b/builddefines.h @@ -3,13 +3,18 @@ #include "Language Defines.h" -// Remove comment to build Beta version (with lot of debug infos) including the Editor +// ------------------------------------- +// Remove comment of the 2 defines to build a exe including the Map Editor! +// Build the exe with "Release" and not "MapEditor". +// Then you have to make a shortcut of the EXE adding -EDITORAUTO as a starting parameter. //#define JA2BETAVERSION +//#define JA2EDITOR +// ------------------------------------- + // Normal test version //#define JA2TESTVERSION -//#define JA2EDITOR //#define SGP_DEBUG diff --git a/ja2_2005Express.vcproj b/ja2_2005Express.vcproj index 13839674..7e0160f7 100644 --- a/ja2_2005Express.vcproj +++ b/ja2_2005Express.vcproj @@ -1,7 +1,7 @@