diff --git a/core/ISmmAPI.h b/core/ISmmAPI.h index d8b2692..65a01fd 100644 --- a/core/ISmmAPI.h +++ b/core/ISmmAPI.h @@ -36,6 +36,16 @@ #include #include #include + +#if defined META_NO_HL2SDK +class CGlobalVars; +class IServerPluginCallbacks; +struct edict_t; +class ConCommandBase; +#else +#include +#endif + #include #include @@ -50,15 +60,6 @@ #define MMIFACE_SH_HOOKMANAUTOGEN "IHookManagerAutoGen" /**< SourceHook::IHookManagerAutoGen Pointer */ #define IFACE_MAXNUM 999 /**< Maximum interface version */ -#if defined META_NO_HL2SDK -class CGlobalVars; -class IServerPluginCallbacks; -struct edict_t; -class ConCommandBase; -#else -#include -#endif - typedef void* (*CreateInterfaceFn)(const char *pName, int *pReturnCode); namespace SourceMM