Adds support for Angelscript debugger.
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2021-10-22 15:11:52 +02:00
parent 0ebac13c14
commit af50f1cc74
9 changed files with 39 additions and 19 deletions

View File

@@ -50,4 +50,10 @@ export uint8_t PkmnLib_AngelScriptResolver_RegisterGlobalMethod(AngelScriptResol
void*(func)(void*)) {
Try(p->RegisterGlobalMethod(decl, func);)
}
export void PkmnLib_AngelScriptResolve_DefineWord(AngelScriptResolver* p, const char* word) { p->DefineWord(word); }
export void PkmnLib_AngelScriptResolver_DefineWord(AngelScriptResolver* p, const char* word) { p->DefineWord(word); }
export void PkmnLib_AngelScriptResolver_AddDebugger(AngelScriptResolver* p, u16 port) {
auto* d = new AngelscriptDebugger();
d->Run(port);
p->SetDebugger(d);
}