From ca3e8582e3d8e3b7c0674b48bbd0d3fd91bb242a Mon Sep 17 00:00:00 2001 From: Scott Ehlert Date: Mon, 8 May 2006 04:13:37 +0000 Subject: [PATCH] Added missing files to MSVC8 project (libraries.h and libraries.cpp) Fixed some MSVC8 errors with new files Bumped version --- amxmodx/amxmodx.h | 2 +- amxmodx/libraries.cpp | 4 ++-- amxmodx/msvc8/amxmodx_mm.vcproj | 8 ++++++++ amxmodx/version.rc | 8 ++++---- 4 files changed, 15 insertions(+), 7 deletions(-) diff --git a/amxmodx/amxmodx.h b/amxmodx/amxmodx.h index 88196c4b..030048f2 100755 --- a/amxmodx/amxmodx.h +++ b/amxmodx/amxmodx.h @@ -73,7 +73,7 @@ #define AMXXLOG_Log g_log.Log #define AMXXLOG_Error g_log.LogError -#define AMX_VERSION "1.72" +#define AMX_VERSION "1.75" extern AMX_NATIVE_INFO core_Natives[]; extern AMX_NATIVE_INFO time_Natives[]; diff --git a/amxmodx/libraries.cpp b/amxmodx/libraries.cpp index 7a650362..214d19cd 100644 --- a/amxmodx/libraries.cpp +++ b/amxmodx/libraries.cpp @@ -68,9 +68,9 @@ bool DecodeLibCmdString(const char *str, LibDecoder &dec) dec.param2 = NULL; } else { dec.buffer = strdup(str); - char *p = strchr(str, '_'); + char *p = const_cast(strchr(str, '_')); while (p && (*(p+1) != '_')) - p = strchr(str, '_'); + p = const_cast(strchr(str, '_')); if (!p || !*(p+1)) return false; *p = '\0'; diff --git a/amxmodx/msvc8/amxmodx_mm.vcproj b/amxmodx/msvc8/amxmodx_mm.vcproj index a2faf470..5b99ba7c 100644 --- a/amxmodx/msvc8/amxmodx_mm.vcproj +++ b/amxmodx/msvc8/amxmodx_mm.vcproj @@ -577,6 +577,10 @@ /> + + @@ -746,6 +750,10 @@ RelativePath="..\format.h" > + + diff --git a/amxmodx/version.rc b/amxmodx/version.rc index ff47896d..1c536ba4 100755 --- a/amxmodx/version.rc +++ b/amxmodx/version.rc @@ -26,8 +26,8 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US // VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,7,2,0 - PRODUCTVERSION 1,7,2,0 + FILEVERSION 1,7,5,0 + PRODUCTVERSION 1,7,5,0 FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS 0x1L @@ -44,12 +44,12 @@ BEGIN BEGIN VALUE "Comments", "AMX Mod X" VALUE "FileDescription", "AMX Mod X" - VALUE "FileVersion", "1.72" + VALUE "FileVersion", "1.75" VALUE "InternalName", "amxmodx" VALUE "LegalCopyright", "Copyright (c) 2004-2006, AMX Mod X Dev Team" VALUE "OriginalFilename", "amxmodx_mm.dll" VALUE "ProductName", "AMX Mod X" - VALUE "ProductVersion", "1.72" + VALUE "ProductVersion", "1.75" END END BLOCK "VarFileInfo"