1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2024-12-22 09:38:56 +08:00

Compat hacks for mods on old SDK Base.

This commit is contained in:
Nicholas Hastings 2014-11-01 10:05:56 -04:00
parent 37cd5ba0ae
commit 12d384f0de
2 changed files with 10 additions and 0 deletions

View File

@ -73,9 +73,14 @@ typedef struct player_info_s player_info_t;
#define DLLEXPORT /* */
#endif
// AlliedModders - Shim until all supported mods are using the SDK Base that has this
#if 0
#define INTERFACEVERSION_VENGINESERVER_VERSION_21 "VEngineServer021"
#define INTERFACEVERSION_VENGINESERVER "VEngineServer022"
#define INTERFACEVERSION_VENGINESERVER_INT 22
#else
#define INTERFACEVERSION_VENGINESERVER "VEngineServer021"
#endif
struct bbox_t
{

View File

@ -245,10 +245,15 @@ public:
typedef IServerTools IServerTools001;
typedef IServerTools IServerTools002;
// AlliedModders - Shim until all supported mods are using the SDK Base that has this
#if 0
#define VSERVERTOOLS_INTERFACE_VERSION_1 "VSERVERTOOLS001"
#define VSERVERTOOLS_INTERFACE_VERSION_2 "VSERVERTOOLS002"
#define VSERVERTOOLS_INTERFACE_VERSION "VSERVERTOOLS003"
#define VSERVERTOOLS_INTERFACE_VERSION_INT 3
#else
#define VSERVERTOOLS_INTERFACE_VERSION "VSERVERTOOLS002"
#endif
//-----------------------------------------------------------------------------
// Purpose: Client side tool interace (right now just handles IClientRenderables).