 |
Blamite Game Engine - blam!
00406.12.10.23.1457.blamite
The core library for the Blamite Game Engine.
|
Go to the documentation of this file.
14 #define BLAM_ASSERT(x) if (!(x)) Blam::Assert(#x, __FILE__, __LINE__)
26 #define BLAM_ASSERTM(x, msg) if (!(x)) Blam::Assert(#x, __FILE__, __LINE__, msg)
51 BLAM void Assert(
const char* expression,
const char*
file,
int line);
63 BLAM void Assert(
const char* expression,
const char*
file,
int line, std::string message);
Namespace surrounding all major engine components.
Definition: api.h:20
BLAM void ShowSignalCrashScreen(int signal)
Shows a basic crash screen to the user.
Definition: crash.cpp:71
BLAM void LogEvent(std::string message)
Logs a message to the log and/or console.
Definition: aliases.cpp:130
BLAM int ShowErrorDialog(std::string message, BlamResult error, bool allow_continue, bool allow_safemode)
Shows an Error dialog with the specified error details and result handle.
Definition: errors.cpp:118
BLAM void StartSentry()
Definition: sentry.cpp:42
BLAM void ShutdownSentry()
Definition: sentry.cpp:109
BLAM void DisplayDetailedCrashScreen(std::string expression, std::string file, int line, std::string message)
Displays a detailed crash screen.
Definition: ogre.cpp:414
@ Uploading
Used when prepared Sentry data is being uploaded to the server.
Definition: crash.h:37
#define BLAM
Definition: crash.h:29
@ CrashScreen
Indicates the build string should be formatted for the crash screen.
SentryUploadStatus
Enumerator for various Sentry upload states.
Definition: crash.h:35
sock planetquake com All rights reserved Quake III Arena is a registered trademark of id Inc This level may be electronically distributed only at NO CHARGE to the recipient in its current MUST include this txt file
Definition: chiropteraDM.txt:95
BLAM void Assert(const char *expression, const char *file, int line)
Forces an engine assertion failure, and shows the crash screen.
Definition: crash.cpp:10
BLAM std::string GetCrashUploadStateMessage()
Retrieves the state of the Sentry data upload.
Definition: sentry.cpp:21
BLAM void DisplayBasicCrashScreen(std::string additional_info="")
Displays a basic crash screen, with an optional message.
Definition: ogre.cpp:398
BLAM void UploadCrashData()
Definition: sentry.cpp:144
BLAM void ShowBasicCrashScreen()
Shows a basic crash screen to the user.
Definition: crash.cpp:57
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.
Definition: crash.cpp:36
const char * details
Definition: error_notice.cpp:17
BLAM std::string GetEventID()
Retrieves the Event ID generated by Sentry, used to cross-reference bug reports and Sentry data.
Definition: sentry.cpp:37