mirror of
https://github.com/alliedmodders/metamod-source.git
synced 2025-02-21 14:54:14 +01:00
Fixed include order issue introduced in 276192fd70a1 (bug 5079, bug 5469).
This commit is contained in:
parent
e4a4d98720
commit
a87dedcf75
@ -36,6 +36,16 @@
|
|||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include <sourcehook.h>
|
#include <sourcehook.h>
|
||||||
#include <IPluginManager.h>
|
#include <IPluginManager.h>
|
||||||
|
|
||||||
|
#if defined META_NO_HL2SDK
|
||||||
|
class CGlobalVars;
|
||||||
|
class IServerPluginCallbacks;
|
||||||
|
struct edict_t;
|
||||||
|
class ConCommandBase;
|
||||||
|
#else
|
||||||
|
#include <eiface.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <ISmmPlugin.h>
|
#include <ISmmPlugin.h>
|
||||||
#include <ISmmPluginExt.h>
|
#include <ISmmPluginExt.h>
|
||||||
|
|
||||||
@ -50,15 +60,6 @@
|
|||||||
#define MMIFACE_SH_HOOKMANAUTOGEN "IHookManagerAutoGen" /**< SourceHook::IHookManagerAutoGen Pointer */
|
#define MMIFACE_SH_HOOKMANAUTOGEN "IHookManagerAutoGen" /**< SourceHook::IHookManagerAutoGen Pointer */
|
||||||
#define IFACE_MAXNUM 999 /**< Maximum interface version */
|
#define IFACE_MAXNUM 999 /**< Maximum interface version */
|
||||||
|
|
||||||
#if defined META_NO_HL2SDK
|
|
||||||
class CGlobalVars;
|
|
||||||
class IServerPluginCallbacks;
|
|
||||||
struct edict_t;
|
|
||||||
class ConCommandBase;
|
|
||||||
#else
|
|
||||||
#include <eiface.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
typedef void* (*CreateInterfaceFn)(const char *pName, int *pReturnCode);
|
typedef void* (*CreateInterfaceFn)(const char *pName, int *pReturnCode);
|
||||||
|
|
||||||
namespace SourceMM
|
namespace SourceMM
|
||||||
|
Loading…
x
Reference in New Issue
Block a user