|
|
|
|
@ -12,20 +12,16 @@ DEVILUTION_BEGIN_NAMESPACE
|
|
|
|
|
extern "C" { |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
void TriggerBreak(); |
|
|
|
|
#define TraceLastError SDL_GetError |
|
|
|
|
void app_fatal(const char *pszFmt, ...); |
|
|
|
|
[[noreturn]] void app_fatal(const char *pszFmt, ...); |
|
|
|
|
void DrawDlg(const char *pszFmt, ...); |
|
|
|
|
#ifdef _DEBUG |
|
|
|
|
void assert_fail(int nLineNo, const char *pszFile, const char *pszFail); |
|
|
|
|
[[noreturn]] void assert_fail(int nLineNo, const char *pszFile, const char *pszFail); |
|
|
|
|
#endif |
|
|
|
|
void DDErrMsg(DWORD error_code, int log_line_nr, const char *log_file_path); |
|
|
|
|
void DSErrMsg(DWORD error_code, int log_line_nr, const char *log_file_path); |
|
|
|
|
void ErrDlg(const char *title, const char *error, const char *log_file_path, int log_line_nr); |
|
|
|
|
void FileErrDlg(const char *error); |
|
|
|
|
void DiskFreeDlg(const char *error); |
|
|
|
|
void InsertCDDlg(); |
|
|
|
|
void DirErrorDlg(const char *error); |
|
|
|
|
[[noreturn]] void ErrDlg(const char *title, const char *error, const char *log_file_path, int log_line_nr); |
|
|
|
|
[[noreturn]] void FileErrDlg(const char *error); |
|
|
|
|
[[noreturn]] void InsertCDDlg(); |
|
|
|
|
[[noreturn]] void DirErrorDlg(const char *error); |
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus |
|
|
|
|
} |
|
|
|
|
|