From e51368d8170991c8c68cbba36c7471aa840cc286 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Tue, 18 Sep 2007 20:40:08 +0000 Subject: [PATCH] more importing from 1.5.0 --HG-- branch : sourcemm-1.6.0 extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/branches/sourcemm-1.6.0%40424 --- modules.versions | 2 +- sourcemm/CSmmAPI.cpp | 1 + sourcemm/sourcemm.h | 6 ++++++ sourcemm/svn_version.h | 10 +++++----- 4 files changed, 13 insertions(+), 6 deletions(-) diff --git a/modules.versions b/modules.versions index bd3da7d..09c1485 100644 --- a/modules.versions +++ b/modules.versions @@ -1,7 +1,7 @@ [PRODUCT] major = 1 minor = 6 -revision = 2 +revision = 0 [sourcemm] folder = sourcemm diff --git a/sourcemm/CSmmAPI.cpp b/sourcemm/CSmmAPI.cpp index 8f9d34d..0bd8dd4 100644 --- a/sourcemm/CSmmAPI.cpp +++ b/sourcemm/CSmmAPI.cpp @@ -668,6 +668,7 @@ const char *CSmmAPI::GetUserMessage(int index, int *size) return msg->name; } + int CSmmAPI::GetVSPVersion() { return g_VspVersion; diff --git a/sourcemm/sourcemm.h b/sourcemm/sourcemm.h index a82fa3c..33b0c40 100644 --- a/sourcemm/sourcemm.h +++ b/sourcemm/sourcemm.h @@ -117,6 +117,12 @@ extern PluginId g_PLID; /** @brief ServerGameDLL version that is currently loaded */ extern int g_GameDllVersion; +/** @brief Highest IServerPluginCallbacks version that is supported by engine */ +extern int g_VspVersion; + +/** @brief IServerGameClients version the mod uses */ +extern int g_GameClientsVersion; + extern bool bGameInit; /** @brief Global CallClass for IServerGameDLL */ diff --git a/sourcemm/svn_version.h b/sourcemm/svn_version.h index faeca49..2d7e2fa 100644 --- a/sourcemm/svn_version.h +++ b/sourcemm/svn_version.h @@ -3,11 +3,11 @@ #ifndef _INCLUDE_SVN_VERSION_H_ #define _INCLUDE_SVN_VERSION_H_ -#define SVN_PRODUCT_VERSION "1.4.2" +#define SVN_PRODUCT_VERSION "1.6.0" -#define SVN_REVISION 414 -#define SVN_REVISION_STRING "414" -#define SVN_FILE_VERSION 1,4,2,414 -#define SVN_FILE_VERSION_STRING "1.4.2.414" +#define SVN_REVISION 423 +#define SVN_REVISION_STRING "423" +#define SVN_FILE_VERSION 1,6,0,423 +#define SVN_FILE_VERSION_STRING "1.6.0.423" #endif //_INCLUDE_SVN_VERSION_H_