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
This commit is contained in:
Wanne
2008-06-20 10:35:51 +00:00
parent 6be5f313db
commit 06a0249994
3 changed files with 15 additions and 10 deletions
+4 -4
View File
@@ -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" };
+7 -2
View File
@@ -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
+4 -4
View File
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
ProjectType="Visual C++"
Version="8.00"
Version="8,00"
Name="ja2_2005Express"
ProjectGUID="{F44669E7-74AC-444B-B75F-F16F4B9F0265}"
RootNamespace="ja2_2005Express"
@@ -66,7 +66,7 @@
<Tool
Name="VCLinkerTool"
AdditionalDependencies="Winmm.lib .\Multiplayer\raknet\RakNetLibStaticDebug.lib ws2_32.lib"
OutputFile="$(OutDir)\ja2_debug_new_en.exe"
OutputFile="$(OutDir)\ja2_debug_2227_en.exe"
LinkIncremental="2"
GenerateDebugInformation="true"
SubSystem="2"
@@ -145,7 +145,7 @@
<Tool
Name="VCLinkerTool"
AdditionalDependencies="Winmm.lib .\Multiplayer\raknet\RakNetLibStatic.lib ws2_32.lib"
OutputFile="$(OutDir)\ja2_release_2207_en.exe"
OutputFile="$(OutDir)\ja2_release_2227_en.exe"
LinkIncremental="1"
GenerateDebugInformation="true"
GenerateMapFile="true"
@@ -232,7 +232,7 @@
<Tool
Name="VCLinkerTool"
AdditionalDependencies="Winmm.lib .\Multiplayer\raknet\RakNetLibStaticDebug.lib ws2_32.lib"
OutputFile="$(OutDir)\Map Editor MP.exe"
OutputFile="$(OutDir)\Map Editor_2222.exe"
LinkIncremental="2"
GenerateDebugInformation="true"
SubSystem="2"