![]() |
Blamite Game Engine - blam!
00296.01.12.21.0102.blamite
The core library for the Blamite Game Engine.
|
#include <string>
#include <Windows.h>
#include <Strings/components/diagnostics/errors/errors.h>
Go to the source code of this file.
Namespaces | |
Blam | |
Namespace surrounding all major engine components. | |
Blam::Diagnostics | |
Namespace containing things related to engine diagnostics, profiling, error handling, and logging. | |
Blam::Diagnostics::Errors | |
Namespace containing things relating to error information and reporting. | |
Blam::Error | |
Namespace containing things relating to Error information and reporting. | |
Macros | |
#define | BLAM |
Enumerations | |
enum | BlamErrorDisplayType { Log, Win32Dialog, Win32MessageBox, QtDialog } |
Enumerator used to control how error info from Blam::Error::ShowLastErrorInfo is displayed. More... | |
Functions | |
BLAM std::string | Blam::Diagnostics::Errors::GetErrorString (BlamResult result) |
BLAM void | Blam::Error::ShowLastErrorInfo (const char *function, BlamErrorDisplayType display_type) |
Displays the last error information from Windows. More... | |
BLAM int | Blam::Error::ShowErrorDialog (std::string message, HRESULT hr, bool allow_continue, bool allow_safemode) |
Shows an Error dialog with the specified error details and result handle. More... | |
BLAM int | Blam::Error::ShowWin32ErrorDialog (std::string message, HRESULT hr, bool allow_continue, bool allow_safemode) |
Shows an Error dialog with the specified error details and result handle. More... | |
BLAM std::string | Blam::Error::GetStringFromHResult (HRESULT hr) |
Converts a result handle to a string. More... | |
#define BLAM |
enum BlamErrorDisplayType |
Enumerator used to control how error info from Blam::Error::ShowLastErrorInfo is displayed.
Enumerator | |
---|---|
Log | Writes the error to the game log. |
Win32Dialog | Shows an engine Error dialog. |
Win32MessageBox | Shows a generic message box. |
QtDialog | Shows a dialog created using Qt. |