added keybind

This commit is contained in:
2026-03-06 16:42:16 +02:00
parent 9b4cec7920
commit 1a2a353e03
30 changed files with 338 additions and 53 deletions

View File

@@ -9,14 +9,8 @@ void CClientGameDLL::Init()
{
void *pLib;
#ifdef __linux
pLib = Plat_LoadLibrary("libclient.so");
#endif
if (!pLib)
Plat_FatalErrorFunc("Failed to load server library\n");
m_pLibrary = pLib;
CreateInterfaceFn pfnServerFactory = Sys_GetFactory(pLib);
CreateInterfaceFn pfnServerFactory = Sys_GetFactory("client");
IEngineBridge *pEngineBridge = (IEngineBridge*)pfnServerFactory(ENGINE_BRIDGE_INTERFACE_VERSION, NULL);
pEngineBridge->ConnectInterface(FILESYSTEM_INTERFACE_VERSION, filesystem);