 |
Blamite Game Engine - blam!
00263.10.17.20.0001.blamite
The core library for the Blamite Game Engine.
|
Go to the documentation of this file.
75 BLAM int ShowErrorDialog(std::string message, HRESULT hr,
bool allow_continue,
bool allow_safemode);
Namespace surrounding all major engine components.
Definition: blam_api.h:17
@ QtDialog
Shows a dialog created using Qt.
Definition: errors.h:18
@ Error
Indicates an error that could cause engine instability.
Definition: logger.h:53
BlamErrorDisplayType
Enumerator used to control how error info from Blam::Error::ShowLastErrorInfo is displayed.
Definition: errors.h:13
@ OK
Definition: errors.h:26
@ Error_Generic
Definition: errors.h:27
@ Win32Dialog
Shows an engine Error dialog.
Definition: errors.h:16
@ Log
Writes the error to the game log.
Definition: errors.h:15
@ Error_FileNotFound
Definition: errors.h:28
BLAM int ShowErrorDialog(std::string message, HRESULT hr, bool allow_continue, bool allow_safemode)
Shows an Error dialog with the specified error details and result handle.
Definition: errors.cpp:96
#define BLAM
Definition: errors.h:7
@ Win32MessageBox
Shows a generic message box.
Definition: errors.h:17
BLAM void ShowLastErrorInfo(const char *function, BlamErrorDisplayType display_type)
Displays the last error information from Windows.
Definition: errors.cpp:12
BLAM std::string GetErrorString(BlamResult result)
Definition: error_library.cpp:9
BLAM std::string GetStringFromHResult(HRESULT hr)
Converts a result handle to a string.
Definition: errors.cpp:66
BlamResult
Enumerator containing any and all result codes used throughout the engine.
Definition: errors.h:24