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:
parent
ff2e763b99
commit
1c7fb146ff
@ -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;
|
||||
|
@ -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
|
||||
{
|
||||
|
@ -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);
|
||||
|
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user