Fix breakage from iserverplugin.h removal.

This commit is contained in:
Nicholas Hastings 2015-07-11 13:58:53 -04:00
parent ff2e763b99
commit 1c7fb146ff
4 changed files with 7 additions and 1 deletions

View File

@ -39,7 +39,6 @@
#if defined META_NO_HL2SDK #if defined META_NO_HL2SDK
class CGlobalVars; class CGlobalVars;
class IServerPluginCallbacks;
struct edict_t; struct edict_t;
class ConCommandBase; class ConCommandBase;
#else #else
@ -62,6 +61,8 @@ class ConCommandBase;
typedef void* (*CreateInterfaceFn)(const char *pName, int *pReturnCode); typedef void* (*CreateInterfaceFn)(const char *pName, int *pReturnCode);
class IServerPluginCallbacks;
namespace SourceMM namespace SourceMM
{ {
class ISmmPlugin; class ISmmPlugin;

View File

@ -39,6 +39,8 @@
#include <ISmmAPI.h> #include <ISmmAPI.h>
#include <ISmmPluginExt.h> #include <ISmmPluginExt.h>
class IServerPluginCallbacks;
// Interface return status, binary-compatible with HL2SDK's IFACE_OK and IFACE_FAILED. // Interface return status, binary-compatible with HL2SDK's IFACE_OK and IFACE_FAILED.
enum enum
{ {

View File

@ -38,6 +38,7 @@
#include "metamod_console.h" #include "metamod_console.h"
#include <filesystem.h> #include <filesystem.h>
#include "metamod.h" #include "metamod.h"
#include <tier1/KeyValues.h>
#if SOURCE_ENGINE == SE_SOURCE2 #if SOURCE_ENGINE == SE_SOURCE2
SH_DECL_HOOK1(ISource2ServerConfig, AllowDedicatedServers, const, 0, bool, EUniverse); SH_DECL_HOOK1(ISource2ServerConfig, AllowDedicatedServers, const, 0, bool, EUniverse);

View File

@ -32,7 +32,9 @@
#endif #endif
#include <sourcehook.h> #include <sourcehook.h>
#include <sh_memfuncinfo.h> #include <sh_memfuncinfo.h>
#if SOURCE_ENGINE != SE_SOURCE2
#include <iserverplugin.h> #include <iserverplugin.h>
#endif
#include "ISmmAPI.h" #include "ISmmAPI.h"
#include "metamod_provider.h" #include "metamod_provider.h"
#include "metamod_oslink.h" #include "metamod_oslink.h"