From 72b9a847dd17d54ee21e7dec20c6fad115c726d4 Mon Sep 17 00:00:00 2001 From: Wanne Date: Sun, 24 Feb 2008 17:55:49 +0000 Subject: [PATCH] - suppressed all the deprecated insecure functions warnings for VS 2005: Project -> Properties -> Linker -> Command Line -> Additional options: /D "_CRT_SECURE_NO_DEPRECATE" - Enabled PLAY_INTRO (defined in ja2.ini) property in source code git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@1834 3b4a5df2-a311-0410-b5c6-a8a6f20db521 --- Console/Console_2005Express.vcproj | 5 +++-- Editor/Editor_2005Express.vcproj | 5 +++-- JA2.vcproj | 2 +- Laptop/Laptop_2005Express.vcproj | 5 +++-- Standard Gaming Platform/SGP_2005Express.vcproj | 5 +++-- Standard Gaming Platform/sgp.cpp | 3 +-- Strategic/Strategic_2005Express.vcproj | 5 +++-- Tactical/Tactical_2005Express.vcproj | 5 +++-- TacticalAI/TacticalAI_2005Express.vcproj | 5 +++-- TileEngine/TileEngine_2005Express.vcproj | 5 +++-- Utils/Utils_2005Express.vcproj | 5 +++-- ja2_2005Express.vcproj | 9 +++++---- lua/lua_2005Express.vcproj | 5 +++-- 13 files changed, 37 insertions(+), 27 deletions(-) diff --git a/Console/Console_2005Express.vcproj b/Console/Console_2005Express.vcproj index c3c7a5585..ab04aea2d 100644 --- a/Console/Console_2005Express.vcproj +++ b/Console/Console_2005Express.vcproj @@ -1,7 +1,7 @@ diff --git a/JA2.vcproj b/JA2.vcproj index 9045ee3ed..49e8205c6 100644 --- a/JA2.vcproj +++ b/JA2.vcproj @@ -43,7 +43,7 @@ diff --git a/Standard Gaming Platform/SGP_2005Express.vcproj b/Standard Gaming Platform/SGP_2005Express.vcproj index f7038fda1..18706a8c8 100644 --- a/Standard Gaming Platform/SGP_2005Express.vcproj +++ b/Standard Gaming Platform/SGP_2005Express.vcproj @@ -1,7 +1,7 @@  diff --git a/Standard Gaming Platform/sgp.cpp b/Standard Gaming Platform/sgp.cpp index 2b49128ec..2f7e629b5 100644 --- a/Standard Gaming Platform/sgp.cpp +++ b/Standard Gaming Platform/sgp.cpp @@ -1038,8 +1038,7 @@ void GetRuntimeSettings( ) iScreenMode = (int) GetPrivateProfileInt( "Ja2 Settings","SCREEN_MODE_WINDOWED", iScreenMode, INIFile ); // WANNE: Should we play the intro? - //iPlayIntro = (int) GetPrivateProfileInt( "Ja2 Settings","PLAY_INTRO", iPlayIntro, INIFile ); - iPlayIntro = 1; + iPlayIntro = (int) GetPrivateProfileInt( "Ja2 Settings","PLAY_INTRO", iPlayIntro, INIFile ); } void ShutdownWithErrorBox(CHAR8 *pcMessage) diff --git a/Strategic/Strategic_2005Express.vcproj b/Strategic/Strategic_2005Express.vcproj index 0629f18b7..f8cdd372a 100644 --- a/Strategic/Strategic_2005Express.vcproj +++ b/Strategic/Strategic_2005Express.vcproj @@ -1,7 +1,7 @@  diff --git a/Tactical/Tactical_2005Express.vcproj b/Tactical/Tactical_2005Express.vcproj index 7c42b095a..18d5907c2 100644 --- a/Tactical/Tactical_2005Express.vcproj +++ b/Tactical/Tactical_2005Express.vcproj @@ -1,7 +1,7 @@  diff --git a/TacticalAI/TacticalAI_2005Express.vcproj b/TacticalAI/TacticalAI_2005Express.vcproj index c1932a423..b3238626f 100644 --- a/TacticalAI/TacticalAI_2005Express.vcproj +++ b/TacticalAI/TacticalAI_2005Express.vcproj @@ -1,7 +1,7 @@  diff --git a/TileEngine/TileEngine_2005Express.vcproj b/TileEngine/TileEngine_2005Express.vcproj index 67430f7f0..fcca275c2 100644 --- a/TileEngine/TileEngine_2005Express.vcproj +++ b/TileEngine/TileEngine_2005Express.vcproj @@ -1,7 +1,7 @@  diff --git a/Utils/Utils_2005Express.vcproj b/Utils/Utils_2005Express.vcproj index a782266b0..3603baa71 100644 --- a/Utils/Utils_2005Express.vcproj +++ b/Utils/Utils_2005Express.vcproj @@ -1,7 +1,7 @@  diff --git a/ja2_2005Express.vcproj b/ja2_2005Express.vcproj index 3ef1a4876..ec912c969 100644 --- a/ja2_2005Express.vcproj +++ b/ja2_2005Express.vcproj @@ -1,7 +1,7 @@ @@ -65,7 +66,7 @@