added bool ldebug (for print-debugging) and moved breakhere (breakpoint helper) to debug.cpp

This commit is contained in:
Zeno Rogue 2019-11-29 15:37:24 +01:00
parent 7080ff379b
commit 4f2a7cd199
2 changed files with 6 additions and 4 deletions

View File

@ -51,10 +51,6 @@ EX namespace binary {
}
#endif
EX void breakhere() {
exit(1);
}
EX heptagon *path(heptagon *h, int d, int d1, std::initializer_list<int> p) {
static int rec = 0;
rec++; if(rec>100) exit(1);

View File

@ -814,4 +814,10 @@ int read_cheat_args() {
auto ah_cheat = addHook(hooks_args, 0, read_cheat_args);
#endif
EX bool ldebug = false;
EX void breakhere() {
exit(1);
}
}