![]() |
Blamite Game Engine - blam!
00296.01.12.21.0102.blamite
The core library for the Blamite Game Engine.
|
Namespace for the engine's crash screen and error handling. More...
Functions | |
BLAM void | ShowDetailedCrashScreen (const char *expression, const char *file, int line, std::string details) |
Shows a detailed crash screen to the user, usually caused by an engine assertion. More... | |
BLAM void | ShowBasicCrashScreen () |
Shows a basic crash screen to the user. More... | |
BLAM void | ShowSignalCrashScreen (int signal) |
Shows a basic crash screen to the user. More... | |
Namespace for the engine's crash screen and error handling.
void Blam::CrashScreen::ShowBasicCrashScreen | ( | ) |
Shows a basic crash screen to the user.
Caused by an abort() call.
This function is called automatically if the user clicks 'Abort' when they are shown the standard abort() dialog. It will NOT be called if the user chooses 'Retry' to debug.
signal | - The signal received, will usually be SIGABRT (22). For all signals, see signal.h (not part of engine source) |
void Blam::CrashScreen::ShowDetailedCrashScreen | ( | const char * | expression, |
const char * | file, | ||
int | line, | ||
std::string | details | ||
) |
Shows a detailed crash screen to the user, usually caused by an engine assertion.
This function should NOT be called directly - use the BLAM_ASSERT macro instead. If the crash screen fails to display, an error dialog is shown instead.
expression | - The value, function, or equation that failed to return true. |
file | - The .cpp file that caused the assertion. |
line | - The line number of the .cpp file that caused the assertion. |
details | - A message shown to the user containing any additional related information. |
void Blam::CrashScreen::ShowSignalCrashScreen | ( | int | signal | ) |
Shows a basic crash screen to the user.
Caused by an abort() call.
This function is called automatically if the user clicks 'Abort' when they are shown the standard abort() dialog. It will NOT be called if the user chooses 'Retry' to debug.
signal | - The signal received, will usually be SIGABRT (22). For all signals, see signal.h (not part of engine source) |