mirror of
https://github.com/alliedmodders/metamod-source.git
synced 2025-01-19 08:52:34 +01:00
Build fixes for recent hl2sdk-dota updates.
This commit is contained in:
parent
197458be0c
commit
29a7b11189
@ -62,7 +62,10 @@ DLL_IMPORT ICommandLine *CommandLine();
|
|||||||
/* Functions */
|
/* Functions */
|
||||||
void CacheUserMessages();
|
void CacheUserMessages();
|
||||||
void Detour_Error(const tchar *pMsg, ...);
|
void Detour_Error(const tchar *pMsg, ...);
|
||||||
#if SOURCE_ENGINE >= SE_ORANGEBOX
|
#if SOURCE_ENGINE == SE_DOTA
|
||||||
|
void ClientCommand(edict_t *pEdict, const CCommand &args);
|
||||||
|
void LocalCommand_Meta(void *pUnknown, const CCommand &args);
|
||||||
|
#elif SOURCE_ENGINE >= SE_ORANGEBOX
|
||||||
void ClientCommand(edict_t *pEdict, const CCommand &args);
|
void ClientCommand(edict_t *pEdict, const CCommand &args);
|
||||||
void LocalCommand_Meta(const CCommand &args);
|
void LocalCommand_Meta(const CCommand &args);
|
||||||
#else
|
#else
|
||||||
@ -498,7 +501,11 @@ public:
|
|||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if SOURCE_ENGINE >= SE_ORANGEBOX
|
#if SOURCE_ENGINE == SE_DOTA
|
||||||
|
void LocalCommand_Meta(void *pUnknown, const CCommand &args)
|
||||||
|
{
|
||||||
|
GlobCommand cmd(&args);
|
||||||
|
#elif SOURCE_ENGINE >= SE_ORANGEBOX
|
||||||
void LocalCommand_Meta(const CCommand &args)
|
void LocalCommand_Meta(const CCommand &args)
|
||||||
{
|
{
|
||||||
GlobCommand cmd(&args);
|
GlobCommand cmd(&args);
|
||||||
|
@ -32,7 +32,9 @@
|
|||||||
#include <loader_bridge.h>
|
#include <loader_bridge.h>
|
||||||
#include "provider/provider_ep2.h"
|
#include "provider/provider_ep2.h"
|
||||||
|
|
||||||
#if SOURCE_ENGINE >= SE_ORANGEBOX
|
#if SOURCE_ENGINE == SE_DOTA
|
||||||
|
SH_DECL_HOOK2_void(ConCommand, Dispatch, SH_NOATTRIB, false, void *, const CCommand &);
|
||||||
|
#elif SOURCE_ENGINE >= SE_ORANGEBOX
|
||||||
SH_DECL_HOOK1_void(ConCommand, Dispatch, SH_NOATTRIB, false, const CCommand &);
|
SH_DECL_HOOK1_void(ConCommand, Dispatch, SH_NOATTRIB, false, const CCommand &);
|
||||||
#else
|
#else
|
||||||
SH_DECL_HOOK0_void(ConCommand, Dispatch, SH_NOATTRIB, false);
|
SH_DECL_HOOK0_void(ConCommand, Dispatch, SH_NOATTRIB, false);
|
||||||
@ -42,7 +44,9 @@ ConCommand *g_plugin_unload = NULL;
|
|||||||
bool g_bIsTryingToUnload;
|
bool g_bIsTryingToUnload;
|
||||||
const char *vsp_desc = "Metamod:Source " MMS_FULL_VERSION;
|
const char *vsp_desc = "Metamod:Source " MMS_FULL_VERSION;
|
||||||
|
|
||||||
#if SOURCE_ENGINE >= SE_ORANGEBOX
|
#if SOURCE_ENGINE == SE_DOTA
|
||||||
|
void InterceptPluginUnloads(void *pUnknown, const CCommand &args)
|
||||||
|
#elif SOURCE_ENGINE >= SE_ORANGEBOX
|
||||||
void InterceptPluginUnloads(const CCommand &args)
|
void InterceptPluginUnloads(const CCommand &args)
|
||||||
#else
|
#else
|
||||||
void InterceptPluginUnloads()
|
void InterceptPluginUnloads()
|
||||||
@ -51,7 +55,9 @@ void InterceptPluginUnloads()
|
|||||||
g_bIsTryingToUnload = true;
|
g_bIsTryingToUnload = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if SOURCE_ENGINE >= SE_ORANGEBOX
|
#if SOURCE_ENGINE == SE_DOTA
|
||||||
|
void InterceptPluginUnloads_Post(void *pUnknown, const CCommand &args)
|
||||||
|
#elif SOURCE_ENGINE >= SE_ORANGEBOX
|
||||||
void InterceptPluginUnloads_Post(const CCommand &args)
|
void InterceptPluginUnloads_Post(const CCommand &args)
|
||||||
#else
|
#else
|
||||||
void InterceptPluginUnloads_Post()
|
void InterceptPluginUnloads_Post()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user