mirror of
https://github.com/spice2x/spice2x.github.io.git
synced 2026-08-01 22:30:42 -07:00
d5d082ec37
## Description of change When the game logs a fatal error message, queue up a deferred message for the troubleshooter.
17 lines
428 B
C++
17 lines
428 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
#include <initializer_list>
|
|
|
|
namespace deferredlogs {
|
|
|
|
// some shared error messages
|
|
extern const std::initializer_list<std::string> SUPERSTEP_SOUND_ERROR_MESSAGE;
|
|
|
|
void set_softid(const std::string& softid);
|
|
void report_fatal_message();
|
|
void defer_error_messages(std::initializer_list<std::string> messages);
|
|
void dump_to_logger(bool is_crash=false);
|
|
}
|