1
0
Fork 0

DBG: added _plugins_logprint

This commit is contained in:
mrexodia 2017-03-19 10:36:50 +01:00
parent a14c534282
commit 3fe0242598
No known key found for this signature in database
GPG Key ID: FC89E0AAA0C1AAD8
2 changed files with 6 additions and 0 deletions

View File

@ -46,6 +46,11 @@ PLUG_IMPEXP void _plugin_logputs(const char* text)
dputs_untranslated(text);
}
PLUG_IMPEXP void _plugin_logprint(const char* text)
{
dprintf_untranslated("%s", text);
}
PLUG_IMPEXP void _plugin_debugpause()
{
DebugUpdateGuiSetStateAsync(GetContextDataEx(hActiveThread, UE_CIP), true);

View File

@ -278,6 +278,7 @@ PLUG_IMPEXP bool _plugin_registercommand(int pluginHandle, const char* command,
PLUG_IMPEXP bool _plugin_unregistercommand(int pluginHandle, const char* command);
PLUG_IMPEXP void _plugin_logprintf(const char* format, ...);
PLUG_IMPEXP void _plugin_logputs(const char* text);
PLUG_IMPEXP void _plugin_logprint(const char* text);
PLUG_IMPEXP void _plugin_debugpause();
PLUG_IMPEXP void _plugin_debugskipexceptions(bool skip);
PLUG_IMPEXP int _plugin_menuadd(int hMenu, const char* title);