sourcemm/sourcemm.h
branchsourcemm-1.6.0
changeset 351 7347be0355ae
parent 349 67d6f9cce139
     1.1 --- a/sourcemm/sourcemm.h	Fri Sep 21 16:54:52 2007 +0000
     1.2 +++ b/sourcemm/sourcemm.h	Fri Sep 21 18:03:57 2007 +0000
     1.3 @@ -32,21 +32,18 @@
     1.4   *   increase api_major when API breaks
     1.5   *   increase api_minor when new functions are added (non-breaking)
     1.6   */
     1.7 -#define		SOURCEMM_VERSION	SVN_FILE_VERSION_STRING
     1.8 -#define		SOURCEMM_DATE		__DATE__
     1.9 -#define		SM_VERS_API_MAJOR	1		//increase this on a breaking change
    1.10 -#define		SM_VERS_API_MINOR	6		//increase this on a non-breaking API change
    1.11 +#define SOURCEMM_VERSION	SVN_FILE_VERSION_STRING
    1.12 +#define SOURCEMM_DATE		__DATE__
    1.13 +#define SM_VERS_API_MAJOR	1		//increase this on a breaking change
    1.14 +#define SM_VERS_API_MINOR	7		//increase this on a non-breaking API change
    1.15  
    1.16 -//We need a good CServerGameDLL version to work properly.  We support these inclusively.
    1.17 +/* We need a good CServerGameDLL version to work properly.  We support these inclusively. */
    1.18  #define	MIN_GAMEDLL_VERSION	3
    1.19 -#define	MAX_GAMEDLL_VERSION	8
    1.20  
    1.21  /* Maximum version of IServerPluginCallbacks that SourceMM supports */
    1.22  #define MAX_VSP_VERSION 2
    1.23  
    1.24 -/**
    1.25 - * @brief Entry point for HL2 Engine
    1.26 - */
    1.27 +/** @brief Entry point for HL2 Engine */
    1.28  SMM_API void *CreateInterface(const char *name, int *code);
    1.29  
    1.30  /** @brief Wrapper to catch GameDLL calls */
    1.31 @@ -123,6 +120,9 @@
    1.32  /** @brief IServerGameClients version the mod uses */
    1.33  extern int g_GameClientsVersion;
    1.34  
    1.35 +/** @brief Source Engine version */
    1.36 +extern int g_SourceEngineVersion;
    1.37 +
    1.38  extern bool bGameInit;
    1.39  
    1.40  /** @brief Global CallClass for IServerGameDLL */