 |
Blamite Game Engine - blam!
00453.06.08.26.0624.blamite
The core library for the Blamite Game Engine.
|
Go to the documentation of this file.
5 #include <Strings/components/diagnostics/errors/errors.h>
58 BLAM int ShowErrorDialog(std::string message, BlamResult error,
bool allow_continue,
bool allow_safemode);
@ QtDialog
Shows a dialog created using Qt.
Definition: errors.h:19
struct sentry_options_s sentry_options_t
Definition: sentry.h:501
BLAM BlamConfigurationFile * GetEngineConfiguration()
Retrieves the main engine configuration file.
Definition: config.cpp:60
BlamErrorDisplayType
Enumerator used to control how error info from #Blam::Error::ShowLastErrorInfo is displayed.
Definition: errors.h:14
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:112
BLAM void StartSentry()
Definition: sentry.cpp:42
@ Win32Dialog
Shows an engine Error dialog.
Definition: errors.h:17
@ Log
Writes the error to the game log.
Definition: errors.h:16
SENTRY_API sentry_options_t * sentry_options_new(void)
Creates a new options struct.
Class representing an access violation exception.
Definition: exception.h:69
@ SENTRY_LEVEL_INFO
Definition: sentry.h:329
BLAM void ShutdownSentry()
Definition: sentry.cpp:109
int upload_progress
Sentry data upload percentage, ranges from 0 to 100.
Definition: sentry.cpp:15
SENTRY_API int sentry_init(sentry_options_t *options)
Initializes the Sentry SDK with the specified options.
ImFontConfig config
Definition: README.txt:49
BLAM int ShowWin32ErrorDialog(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:125
BLAM void ShowSentryEventDialog()
Definition: sentry_event_notice.cpp:49
SentryUploadStatus upload_status
Current Sentry upload status.
Definition: sentry.cpp:17
std::thread sentry_upload_thread
Thread used to gather/upload data for Sentry.
Definition: sentry.cpp:16
SENTRY_API void sentry_shutdown(void)
Shuts down the sentry client and forces transports to flush out.
BLAM int ShowErrorDialogModal(std::string error_text, bool allow_continue=true, bool allow_safemode=true)
Displays the Error dialog as a modal dialog.
Definition: error_notice.cpp:122
SENTRY_API sentry_value_t sentry_value_new_message_event(sentry_level_t level, const char *logger, const char *text)
Creates a new message event value.
void signal_handler(int signal)
Definition: errors.cpp:14
bool sentry_active
Definition: sentry.cpp:19
@ Uploading
Used when prepared Sentry data is being uploaded to the server.
Definition: crash.h:37
Add a fourth parameter to bake specific font ranges NULL
Definition: README.txt:57
void CrashUploadThread()
Function used to gather and upload Sentry data.
Definition: sentry.cpp:126
BLAM void RegisterSignalExceptions()
Registers all signal handlers.
Definition: errors.cpp:57
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
#define BLAM
Definition: errors.h:8
SENTRY_API sentry_uuid_t sentry_capture_event(sentry_value_t event)
Sends a sentry event.
SENTRY_API void sentry_options_set_dsn(sentry_options_t *opts, const char *dsn)
Sets the DSN.
Namespace containing functions related to engine diagnostics, profiling, error handling,...
Definition: errors.h:26
@ Win32MessageBox
Shows a generic message box.
Definition: errors.h:18
BLAM void ShowLastErrorInfo(const char *function, BlamErrorDisplayType display_type)
Displays the last error information from the Windows APIs.
Definition: errors.cpp:66
BLAM std::string GetCrashUploadStateMessage()
Retrieves the state of the Sentry data upload.
Definition: sentry.cpp:21
Detailed options
Definition: README.txt:27
BLAM void UploadCrashData()
Definition: sentry.cpp:144
BLAM std::string LookupErrorString(int error_code)
Finds a string message associated with a given error code.
Definition: engine_text.cpp:46
std::string event_id
The event ID generated by Sentry.
Definition: sentry.cpp:18
BLAM std::string GetEventID()
Retrieves the Event ID generated by Sentry, used to cross-reference bug reports and Sentry data.
Definition: sentry.cpp:37