mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-20 13:33:02 +01:00
Initialise various fields and variables
This commit is contained in:
@@ -31,7 +31,7 @@ typedef struct http_request_t {
|
||||
void *tag;
|
||||
const char *method;
|
||||
const char *url;
|
||||
http_data_type type;
|
||||
http_data_type type = HTTP_DATA_NONE;
|
||||
size_t size;
|
||||
union {
|
||||
const json_t *root;
|
||||
|
||||
@@ -234,7 +234,7 @@ private:
|
||||
std::string _chatLogFilenameFormat = "%Y%m%d-%H%M%S.txt";
|
||||
std::string _serverLogPath;
|
||||
std::string _serverLogFilenameFormat = "-%Y%m%d-%H%M%S.txt";
|
||||
OpenRCT2::IPlatformEnvironment * _env;
|
||||
OpenRCT2::IPlatformEnvironment * _env = nullptr;
|
||||
|
||||
void UpdateServer();
|
||||
void UpdateClient();
|
||||
|
||||
@@ -38,7 +38,7 @@ extern "C"
|
||||
}
|
||||
|
||||
// TODO Remove when no longer required.
|
||||
static TitleScreen * _singleton;
|
||||
static TitleScreen * _singleton = nullptr;
|
||||
|
||||
TitleScreen::TitleScreen()
|
||||
{
|
||||
|
||||
@@ -41,8 +41,8 @@ public:
|
||||
private:
|
||||
ITitleSequencePlayer * _sequencePlayer = nullptr;
|
||||
uint16 _loadedTitleSequenceId = UINT16_MAX;
|
||||
uint16 _currentSequence;
|
||||
bool _hideVersionInfo;
|
||||
uint16 _currentSequence = UINT16_MAX;
|
||||
bool _hideVersionInfo = false;
|
||||
|
||||
void TitleInitialise();
|
||||
void TryLoadSequence();
|
||||
|
||||
Reference in New Issue
Block a user