From 647afe10c83e428f823f4306b96b2a957ebf5bd4 Mon Sep 17 00:00:00 2001 From: Wanne Date: Fri, 21 Nov 2008 22:15:22 +0000 Subject: [PATCH] Added VS 2008 solution and project files To compile with VS 2008 you have to disable the fist line in "Standard Gaming Platform\input.cpp". Just look for comment "// VS2008" git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2426 3b4a5df2-a311-0410-b5c6-a8a6f20db521 --- Console/Console_VS2008.vcproj | 801 ++++++++++++++ Editor/Editor_VS2008.vcproj | 624 +++++++++++ Language Defines.h | 8 +- Laptop/Laptop_VS2008.vcproj | 892 +++++++++++++++ Standard Gaming Platform/SGP_VS2008.vcproj | 836 ++++++++++++++ Standard Gaming Platform/input.cpp | 5 +- Strategic/Strategic_VS2008.vcproj | 764 +++++++++++++ Tactical/Tactical_VS2008.vcproj | 1140 ++++++++++++++++++++ TacticalAI/TacticalAI_VS2008.vcproj | 496 +++++++++ TileEngine/TileEngine_VS2008.vcproj | 724 +++++++++++++ Utils/Utils_VS2008.vcproj | 810 ++++++++++++++ builddefines.h | 1 + ja2_2005Express.vcproj | 2 +- ja2_VS2008.sln | 184 ++++ ja2_VS2008.vcproj | 1048 ++++++++++++++++++ ja2_VS2008.vsprops | 13 + ja2_VS2008Debug.vsprops | 11 + ja2_VS2008Editor.vsprops | 11 + lua/lua_VS2008.vcproj | 464 ++++++++ 19 files changed, 8828 insertions(+), 6 deletions(-) create mode 100644 Console/Console_VS2008.vcproj create mode 100644 Editor/Editor_VS2008.vcproj create mode 100644 Laptop/Laptop_VS2008.vcproj create mode 100644 Standard Gaming Platform/SGP_VS2008.vcproj create mode 100644 Strategic/Strategic_VS2008.vcproj create mode 100644 Tactical/Tactical_VS2008.vcproj create mode 100644 TacticalAI/TacticalAI_VS2008.vcproj create mode 100644 TileEngine/TileEngine_VS2008.vcproj create mode 100644 Utils/Utils_VS2008.vcproj create mode 100644 ja2_VS2008.sln create mode 100644 ja2_VS2008.vcproj create mode 100644 ja2_VS2008.vsprops create mode 100644 ja2_VS2008Debug.vsprops create mode 100644 ja2_VS2008Editor.vsprops create mode 100644 lua/lua_VS2008.vcproj diff --git a/Console/Console_VS2008.vcproj b/Console/Console_VS2008.vcproj new file mode 100644 index 00000000..119b24a8 --- /dev/null +++ b/Console/Console_VS2008.vcproj @@ -0,0 +1,801 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Editor/Editor_VS2008.vcproj b/Editor/Editor_VS2008.vcproj new file mode 100644 index 00000000..3c19021f --- /dev/null +++ b/Editor/Editor_VS2008.vcproj @@ -0,0 +1,624 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Language Defines.h b/Language Defines.h index d11a97ca..7b11a3f8 100644 --- a/Language Defines.h +++ b/Language Defines.h @@ -18,6 +18,7 @@ * (2006-10-10, Sergeant_Kolja) */ + #if !defined(ENGLISH) && !defined(GERMAN) && !defined(RUSSIAN) && !defined(DUTCH) && !defined(POLISH) && !defined(FRENCH) && !defined(ITALIAN) && !defined(TAIWANESE) && !defined(CHINESE) /* please set one manually here (by uncommenting) if not willingly to set Workspace wide */ #define ENGLISH @@ -28,10 +29,11 @@ //#define FRENCH //#define ITALIAN //#define TAIWANESE - -// If we like to build chinese version, we also have to define WINFONTS //#define CHINESE -//#define WINFONTS + +#ifdef CHINESE + #define WINFONTS +#endif #endif diff --git a/Laptop/Laptop_VS2008.vcproj b/Laptop/Laptop_VS2008.vcproj new file mode 100644 index 00000000..ed015451 --- /dev/null +++ b/Laptop/Laptop_VS2008.vcproj @@ -0,0 +1,892 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Standard Gaming Platform/SGP_VS2008.vcproj b/Standard Gaming Platform/SGP_VS2008.vcproj new file mode 100644 index 00000000..ad371da4 --- /dev/null +++ b/Standard Gaming Platform/SGP_VS2008.vcproj @@ -0,0 +1,836 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Standard Gaming Platform/input.cpp b/Standard Gaming Platform/input.cpp index 0e517f85..36b71def 100644 --- a/Standard Gaming Platform/input.cpp +++ b/Standard Gaming Platform/input.cpp @@ -1,5 +1,6 @@ -//It make trouble in vs2008, uncomment it if you need it -#define _WIN32_WINNT WINVER//dnl this should be defined globaly on project +// VS2008: If compiling with VS2008 disable the next line! +#define _WIN32_WINNT WINVER + #ifdef JA2_PRECOMPILED_HEADERS #include "JA2 SGP ALL.H" #elif defined( WIZ8_PRECOMPILED_HEADERS ) diff --git a/Strategic/Strategic_VS2008.vcproj b/Strategic/Strategic_VS2008.vcproj new file mode 100644 index 00000000..2191bbb3 --- /dev/null +++ b/Strategic/Strategic_VS2008.vcproj @@ -0,0 +1,764 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Tactical/Tactical_VS2008.vcproj b/Tactical/Tactical_VS2008.vcproj new file mode 100644 index 00000000..08d4407f --- /dev/null +++ b/Tactical/Tactical_VS2008.vcproj @@ -0,0 +1,1140 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/TacticalAI/TacticalAI_VS2008.vcproj b/TacticalAI/TacticalAI_VS2008.vcproj new file mode 100644 index 00000000..78975800 --- /dev/null +++ b/TacticalAI/TacticalAI_VS2008.vcproj @@ -0,0 +1,496 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/TileEngine/TileEngine_VS2008.vcproj b/TileEngine/TileEngine_VS2008.vcproj new file mode 100644 index 00000000..91673a59 --- /dev/null +++ b/TileEngine/TileEngine_VS2008.vcproj @@ -0,0 +1,724 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Utils/Utils_VS2008.vcproj b/Utils/Utils_VS2008.vcproj new file mode 100644 index 00000000..a523f9bf --- /dev/null +++ b/Utils/Utils_VS2008.vcproj @@ -0,0 +1,810 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/builddefines.h b/builddefines.h index 2e598dd2..e69f9c48 100644 --- a/builddefines.h +++ b/builddefines.h @@ -3,6 +3,7 @@ #include "Language Defines.h" + // Map Editor version - you should use the MapEditor configuration instead of messing with these defines (ChrisL) //#define JA2BETAVERSION //#define JA2EDITOR diff --git a/ja2_2005Express.vcproj b/ja2_2005Express.vcproj index 32b4d37e..a6cee13d 100644 --- a/ja2_2005Express.vcproj +++ b/ja2_2005Express.vcproj @@ -99,7 +99,7 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ja2_VS2008.vsprops b/ja2_VS2008.vsprops new file mode 100644 index 00000000..6b8c4be8 --- /dev/null +++ b/ja2_VS2008.vsprops @@ -0,0 +1,13 @@ + + + + diff --git a/ja2_VS2008Debug.vsprops b/ja2_VS2008Debug.vsprops new file mode 100644 index 00000000..f0268c82 --- /dev/null +++ b/ja2_VS2008Debug.vsprops @@ -0,0 +1,11 @@ + + + + diff --git a/ja2_VS2008Editor.vsprops b/ja2_VS2008Editor.vsprops new file mode 100644 index 00000000..221626a7 --- /dev/null +++ b/ja2_VS2008Editor.vsprops @@ -0,0 +1,11 @@ + + + + diff --git a/lua/lua_VS2008.vcproj b/lua/lua_VS2008.vcproj new file mode 100644 index 00000000..2b658e88 --- /dev/null +++ b/lua/lua_VS2008.vcproj @@ -0,0 +1,464 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +