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:
8
util.cpp
8
util.cpp
@@ -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_({
|
||||
|
||||
Reference in New Issue
Block a user