Devilution
Diablo devolved - magic behind the 1996 computer game
Macros | Functions | Variables
appfat.h File Reference

Go to the source code of this file.

Macros

#define TraceLastError   SDL_GetError
 

Functions

void TriggerBreak ()
 
char * GetErrorStr (DWORD error_code)
 
void app_fatal (const char *pszFmt,...)
 
void MsgBox (const char *pszFmt, va_list va)
 
void FreeDlg ()
 
void DrawDlg (char *pszFmt,...)
 
void DDErrMsg (DWORD error_code, int log_line_nr, char *log_file_path)
 
void DSErrMsg (DWORD error_code, int log_line_nr, char *log_file_path)
 
void center_window (HWND hDlg)
 
void ErrDlg (const char *title, const char *error, char *log_file_path, int log_line_nr)
 
void TextDlg (HWND hDlg, char *text)
 
void FileErrDlg (const char *error)
 
void DiskFreeDlg (char *error)
 
void InsertCDDlg (const char *fileName)
 
void DirErrorDlg (char *error)
 

Variables

char sz_error_buf [256]
 
BOOL terminating
 Set to true when a fatal error is encountered and the application should shut down. More...
 
int cleanup_thread_id
 Thread id of the last callee to FreeDlg(). More...
 

Detailed Description

Interface of error dialogs.

Definition in file appfat.h.