 |
Blamite Game Engine - blam!
00272.10.26.20.0001.blamite
The core library for the Blamite Game Engine.
|
Go to the documentation of this file.
10 #define BR_FAILED(result) (result < 0)
11 #define BR_SUCCEEDED(result) (result >= 0)
87 BLAM int ShowErrorDialog(std::string message, HRESULT hr,
bool allow_continue,
bool allow_safemode);
Namespace surrounding all major engine components.
Definition: blam_api.h:18
@ QtDialog
Shows a dialog created using Qt.
Definition: errors.h:21
@ Error_Reserved44
Definition: errors.h:37
@ Error
Indicates an error that could cause engine instability.
Definition: logger.h:46
@ Error_Init_ImGui_OpenGL_Failed
Definition: errors.h:34
BlamErrorDisplayType
Enumerator used to control how error info from Blam::Error::ShowLastErrorInfo is displayed.
Definition: errors.h:16
@ OK
Definition: errors.h:29
@ Error_Generic
Definition: errors.h:30
@ Win32Dialog
Shows an engine Error dialog.
Definition: errors.h:19
@ Error_Init_SDL2_D3D_Failed
Definition: errors.h:35
@ Log
Writes the error to the game log.
Definition: errors.h:18
@ Error_FileNotFound
Definition: errors.h:31
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
@ Error_Init_SDL2_OpenGL_Failed
Definition: errors.h:33
#define BLAM
Definition: errors.h:7
@ Win32MessageBox
Shows a generic message box.
Definition: errors.h:20
BLAM void ShowLastErrorInfo(const char *function, BlamErrorDisplayType display_type)
Displays the last error information from Windows.
Definition: errors.cpp:12
@ Error_Init_ImGui_D3D_Failed
Definition: errors.h:36
@ Error_Init_OpenGL3_Failed_Generic
Definition: errors.h:39
@ Error_Init_D3D11_Failed_Generic
Definition: errors.h:38
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:27
@ Error_Init_OpenGL3_CreateContext_Failed
Definition: errors.h:40