summaryrefslogtreecommitdiffhomepage
path: root/src/engineapi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/engineapi.c')
-rw-r--r--src/engineapi.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/engineapi.c b/src/engineapi.c
index d4ee742..831836b 100644
--- a/src/engineapi.c
+++ b/src/engineapi.c
@@ -1,5 +1,5 @@
/*
- * Copyright © 2022 Michael Smith <mikesmiffy128@gmail.com>
+ * Copyright © 2023 Michael Smith <mikesmiffy128@gmail.com>
* Copyright © 2023 Willian Henrique <wsimanbrazil@yahoo.com.br>
*
* Permission to use, copy, modify, and/or distribute this software for any
@@ -37,15 +37,14 @@ ifacefactory factory_client = 0, factory_server = 0, factory_engine = 0,
struct VEngineClient *engclient;
struct VEngineServer *engserver;
-// this seems to be very stable, thank goodness
-DECL_VFUNC(void *, GetGlobalVars, 1)
+DECL_VFUNC(void *, GetGlobalVars, 1) // seems to be very stable, thank goodness
void *globalvars;
void *inputsystem, *vgui;
DECL_VFUNC_DYN(void *, GetAllServerClasses)
-#include <entpropsinit.gen.h>
+#include <entpropsinit.gen.h> // generated by build/mkentprops.c
bool engineapi_init(int pluginver) {
if (!con_detect(pluginver)) return false;
@@ -101,8 +100,6 @@ bool engineapi_init(int pluginver) {
}
}
- // need to do this now; ServerClass network table iteration requires
- // SendProp offsets
gamedata_init();
con_init();
if (!gameinfo_init()) { con_disconnect(); return false; }