added MNF_MergeDefinitionFile

This commit is contained in:
Pavol Marko 2004-07-28 19:28:36 +00:00
parent 9b2a1d204c
commit 7bd087281a

View File

@ -844,6 +844,12 @@ void MNF_Log(const char *fmt, ...)
va_end(arglst);
AMXXLOG_Log("%s", msg);
}
void MNF_MergeDefinitionFile(const char *file)
{
g_langMngr.MergeDefinitionFile(file);
}
// Fnptr Request function for the new interface
const char *g_LastRequestedFunc = NULL;
#define REGISTER_FUNC(name, func) { name, (void*)func },
@ -861,6 +867,7 @@ void *Module_ReqFnptr(const char *funcName)
REGISTER_FUNC("PrintSrvConsole", print_srvconsole)
REGISTER_FUNC("GetModname", MNF_GetModname)
REGISTER_FUNC("Log", MNF_Log)
REGISTER_FUNC("MergeDefinitionFile", MNF_MergeDefinitionFile)
// Amx scripts loading / unloading / managing
REGISTER_FUNC("GetAmxScript", MNF_GetAmxScript)