 |
Blamite Game Engine - blam!
00398.09.22.23.2015.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: blam_api.h:28
BLAM void ShowSignalCrashScreen(int signal)
Shows a basic crash screen to the user.
Definition: crash.cpp:85
BLAM void DisplayBasicCrashScreen(std::string additional_info="")
Definition: ogre.cpp:405
BLAM void LogEvent(std::string message)
Logs a message to the log and/or console.
Definition: aliases.cpp:142
BLAM void StartSentry()
Definition: sentry.cpp:42
BLAM void DisplayDetailedCrashScreen(std::string expression, std::string file, int line, std::string message)
Definition: ogre.cpp:421
BLAM BlamRenderingEngine GetCurrentRenderingEngine()
Retrieves the current rendering engine being used.
Definition: rendering_abstraction.cpp:104
@ OGRE
Definition: rendering.h:41
std::string crash_message
The message to display on the crash screen.
Definition: render_manage.cpp:62
BLAM void DisplaySignalCrashScreen(int signal)
Displays a signal-based engine crash screen.
Definition: render_manage.cpp:464
BLAM void DisplayDetailedCrashScreen(const char *expression, const char *file, int line, std::string details)
Displays a detailed engine crash screen.
Definition: render_manage.cpp:443
BLAM void ShutdownSentry()
Definition: sentry.cpp:109
@ 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
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:150
BLAM void DisplayBasicCrashScreen()
Displays a basic engine crash screen.
Definition: render_manage.cpp:456
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 UploadCrashData()
Definition: sentry.cpp:144
BLAM void ShowBasicCrashScreen()
Shows a basic crash screen to the user.
Definition: crash.cpp:64
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