1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-12-14 01:58:06 +00:00

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

@@ -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);
}
}