From 1c4318331663b152b0b298bd2c9e5c971506a86b Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Sat, 10 Jun 2023 16:44:19 +0100 Subject: Prune some comments and tidy up other minor things --- src/engineapi.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'src/engineapi.c') 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 + * Copyright © 2023 Michael Smith * Copyright © 2023 Willian Henrique * * 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 +#include // 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; } -- cgit v1.2.3