From daf1cfe14d05fe3aa810e7a302386fc4adcad7fd Mon Sep 17 00:00:00 2001 From: PixieCore <41352111+PixieCore@users.noreply.github.com> Date: Tue, 26 Apr 2022 16:14:39 +0200 Subject: [PATCH] Added CreateInterface typedef to new interaces.h --- r5dev/engine/sys_dll2.h | 2 +- r5dev/vpc/interfaces.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/r5dev/engine/sys_dll2.h b/r5dev/engine/sys_dll2.h index 450eb050..3168622a 100644 --- a/r5dev/engine/sys_dll2.h +++ b/r5dev/engine/sys_dll2.h @@ -1,5 +1,5 @@ #pragma once -#include "tier0/interface.h" +#include "vpc/interfaces.h" class CEngineAPI { diff --git a/r5dev/vpc/interfaces.h b/r5dev/vpc/interfaces.h index dda888c9..b112fc86 100644 --- a/r5dev/vpc/interfaces.h +++ b/r5dev/vpc/interfaces.h @@ -47,6 +47,7 @@ enum class InterfaceStatus_t : int //----------------------------------------------------------------------------- // Mapping of interface string to globals //----------------------------------------------------------------------------- +typedef void* (*CreateInterfaceFn)(const char* pName, int* pReturnCode); typedef void* (*InstantiateInterfaceFn)(); struct InterfaceGlobals_t {