Modules can now intercommunicate through RegisterFunction() - UNTESTED

Registering a function will make it available through ReqFunc,
This commit is contained in:
David Anderson
2005-07-05 22:01:29 +00:00
parent 3f2c117039
commit cc899d298d
5 changed files with 127 additions and 86 deletions

View File

@ -1077,6 +1077,9 @@ C_DLLEXPORT int Meta_Attach(PLUG_LOADTIME now, META_FUNCTIONS *pFunctionTable, m
memcpy(pFunctionTable, &gMetaFunctionTable, sizeof(META_FUNCTIONS));
gpGamedllFuncs=pGamedllFuncs;
Module_CacheFunctions();
CVAR_REGISTER(&init_amxmodx_version);
CVAR_REGISTER(&init_amxmodx_modules);
CVAR_REGISTER(&init_amxmodx_debug);