1.1 --- a/metamod/mutil.cpp Mon Feb 06 12:35:59 2006 +0000
1.2 +++ b/metamod/mutil.cpp Sun Feb 19 18:55:47 2006 +0000
1.3 @@ -369,6 +369,16 @@
1.4 return (abs(0xbeef<<16)+(++requestid_counter));
1.5 }
1.6
1.7 +void mutil_GetHookTables(plid_t plid, enginefuncs_t **peng, DLL_FUNCTIONS **pdll, NEW_DLL_FUNCTIONS **pnewdll)
1.8 +{
1.9 + if (peng)
1.10 + *peng = &meta_engfuncs;
1.11 + if (pdll)
1.12 + *pdll = pHookedDllFunctions;
1.13 + if (pnewdll)
1.14 + *pnewdll = pHookedNewDllFunctions;
1.15 +}
1.16 +
1.17 #ifdef UNFINISHED
1.18 int mutil_HookGameEvent(plid_t plid, game_event_t event,
1.19 event_func_t pfnHandle)
1.20 @@ -425,6 +435,7 @@
1.21 mutil_UnloadMetaPluginByHandle, //pfnUnloadPluginByHandle
1.22 mutil_IsQueryingClientCvar, //pfnIsQueryingClientCvar
1.23 mutil_MakeRequestID,
1.24 + mutil_GetHookTables,
1.25 #ifdef UNFINISHED
1.26 mutil_HookGameEvent, // pfnGameEvent
1.27 mutil_HookLogTrigger, // pfnLogTrigger