IVEngineClient* Engine; Interfaces::Client = (IBaseClientDLL*)ClientFactory(CHLClientInterfaceName, NULL); Engine = (IVEngineClient*)EngineFactory(EngineClientInterfaceName, NULL); Interfaces::Panels = (IPanel*)VGUI2Factory(VGUI2PanelsInterfaceName, NULL); Interfaces::Surface = (ISurface*)VGUISurfaceFactory(VGUISurfaceInterfaceName, NULL); Interfaces::EntList = (IClientEntityList*)ClientFactory(EntityListInterfaceName, NULL); Interfaces::DebugOverlay = (IVDebugOverlay*)EngineFactory(EngineDebugThingInterface, NULL); Interfaces::Prediction = (DWORD*)ClientFactory(ClientPredictionInterface, NULL); Interfaces::MaterialSystem = (CMaterialSystem*)MatFactory(MatSystemInterfaceName, NULL); Interfaces::RenderView = (CVRenderView*)EngineFactory(EngineRenderViewInterface, NULL); Interfaces::ModelRender = (IVModelRender*)EngineFactory(EngineModelRenderInterface, NULL); Interfaces::ModelInfo = (CModelInfo*)EngineFactory(EngineModelInfoInterface, NULL); Interfaces::Trace = (IEngineTrace*)EngineFactory(EngineTraceInterfaceName, NULL); Interfaces::PhysProps = (IPhysicsSurfaceProps*)PhysFactory(PhysPropsInterfaces, NULL); Interfaces::CVar = (ICVar*)StdFactory(VEngineCvarName, NULL);
