1
0
mirror of https://github.com/alliedmodders/metamod-source.git synced 2025-02-20 13:54:14 +01:00

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
class CGlobalVars;
class IServerPluginCallbacks;
struct edict_t;
class ConCommandBase;
#else
@ -62,6 +61,8 @@ class ConCommandBase;
typedef void* (*CreateInterfaceFn)(const char *pName, int *pReturnCode);
class IServerPluginCallbacks;
namespace SourceMM
{
class ISmmPlugin;

View File

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

View File

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

View File

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