mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2024-12-29 08:05:46 +03:00
17 lines
439 B
C++
17 lines
439 B
C++
#include "precompiled.h"
|
|
|
|
enginefuncs_t g_engfuncs;
|
|
globalvars_t *gpGlobals;
|
|
|
|
/* <d0737> ../cstrike/dlls/h_export.cpp:58 */
|
|
C_DLLEXPORT void WINAPI GiveFnptrsToDll(enginefuncs_t *pEnginefuncsTable,globalvars_t *pGlobals)
|
|
{
|
|
Q_memcpy(&g_engfuncs, pEnginefuncsTable, sizeof(enginefuncs_t));
|
|
gpGlobals = pGlobals;
|
|
|
|
#if defined(HOOK_GAMEDLL) && !defined(REGAMEDLL_UNIT_TESTS)
|
|
Regamedll_Game_Init();
|
|
#endif // HOOK_GAMEDLL
|
|
|
|
}
|