summaryrefslogtreecommitdiffhomepage
path: root/src/engineapi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/engineapi.c')
-rw-r--r--src/engineapi.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/engineapi.c b/src/engineapi.c
index 8cc3dd6..b2272f9 100644
--- a/src/engineapi.c
+++ b/src/engineapi.c
@@ -40,6 +40,8 @@ struct VEngineServer *engserver;
DECL_VFUNC(void *, GetGlobalVars, 1)
void *globalvars;
+void *inputsystem;
+
DECL_VFUNC_DYN(void *, GetAllServerClasses)
DECL_VFUNC(int, GetEngineBuildNumber_newl4d2, 99) // duping gamedata entry, yuck
@@ -71,6 +73,8 @@ bool engineapi_init(int pluginver) {
void *pim = factory_server("PlayerInfoManager002", 0);
if (pim) globalvars = GetGlobalVars(pim);
+ inputsystem = factory_inputsystem("InputSystemVersion001", 0);
+
void *srvdll;
// TODO(compat): add this back when there's gamedata for 009 (no point atm)
/*if (srvdll = factory_engine("ServerGameDLL009", 0)) {