1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-18 14:45:12 +00:00

new system for debug logs

This commit is contained in:
Zeno Rogue
2025-10-19 15:47:01 +02:00
parent 94024dd5f1
commit 113e75d5e1
43 changed files with 601 additions and 447 deletions

View File

@@ -1031,6 +1031,14 @@ EX string find_file(string s) {
return s;
}
EX void file_error(const char* fname) {
throw hr_exception("missing file error");
}
EX void file_format_error(const char* fname) {
throw hr_exception("file format error");
}
EX void open_url(string s) {
#if ISWEB
EM_ASM_({