2017-06-01 21:55:10 +02:00
|
|
|
#pragma region Copyright (c) 2014-2017 OpenRCT2 Developers
|
2014-10-09 01:30:22 +02:00
|
|
|
/*****************************************************************************
|
|
|
|
* OpenRCT2, an open source clone of Roller Coaster Tycoon 2.
|
|
|
|
*
|
2016-05-04 19:24:41 +02:00
|
|
|
* OpenRCT2 is the work of many authors, a full list can be found in contributors.md
|
|
|
|
* For more information, visit https://github.com/OpenRCT2/OpenRCT2
|
2014-10-09 01:30:22 +02:00
|
|
|
*
|
|
|
|
* OpenRCT2 is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
|
|
* (at your option) any later version.
|
2016-05-04 19:24:41 +02:00
|
|
|
*
|
|
|
|
* A full copy of the GNU General Public License can be found in licence.txt
|
2014-10-09 01:30:22 +02:00
|
|
|
*****************************************************************************/
|
2016-05-04 19:24:41 +02:00
|
|
|
#pragma endregion
|
2014-10-09 01:30:22 +02:00
|
|
|
|
2016-12-28 02:18:13 +01:00
|
|
|
#include "core/Console.hpp"
|
2017-02-09 22:48:44 +01:00
|
|
|
#include "core/File.h"
|
|
|
|
#include "core/FileStream.hpp"
|
2016-12-11 02:15:07 +01:00
|
|
|
#include "OpenRCT2.h"
|
2014-10-09 01:30:22 +02:00
|
|
|
|
2017-09-18 17:05:28 +02:00
|
|
|
#include "audio/audio.h"
|
|
|
|
#include "platform/platform.h"
|
2016-12-11 01:08:37 +01:00
|
|
|
|
2016-12-11 02:15:07 +01:00
|
|
|
extern "C"
|
|
|
|
{
|
2017-01-04 22:17:08 +01:00
|
|
|
sint32 gExitCode;
|
|
|
|
sint32 gOpenRCT2StartupAction = STARTUP_ACTION_TITLE;
|
2016-12-11 02:15:07 +01:00
|
|
|
utf8 gOpenRCT2StartupActionPath[512] = { 0 };
|
|
|
|
utf8 gExePath[MAX_PATH];
|
|
|
|
utf8 gCustomUserDataPath[MAX_PATH] = { 0 };
|
|
|
|
utf8 gCustomOpenrctDataPath[MAX_PATH] = { 0 };
|
|
|
|
utf8 gCustomRCT2DataPath[MAX_PATH] = { 0 };
|
|
|
|
utf8 gCustomPassword[MAX_PATH] = { 0 };
|
2014-10-09 01:30:22 +02:00
|
|
|
|
2016-12-11 02:15:07 +01:00
|
|
|
bool gOpenRCT2Headless = false;
|
2017-06-08 00:17:19 +02:00
|
|
|
bool gOpenRCT2NoGraphics = false;
|
|
|
|
|
2016-12-11 02:15:07 +01:00
|
|
|
bool gOpenRCT2ShowChangelog;
|
|
|
|
bool gOpenRCT2SilentBreakpad;
|
2015-06-13 14:30:50 +02:00
|
|
|
|
2016-07-24 21:32:57 +02:00
|
|
|
#ifndef DISABLE_NETWORK
|
2016-12-11 02:15:07 +01:00
|
|
|
// OpenSSL's message digest context used for calculating sprite checksums
|
|
|
|
EVP_MD_CTX * gHashCTX = nullptr;
|
2016-07-24 21:32:57 +02:00
|
|
|
#endif // DISABLE_NETWORK
|
2017-07-28 20:44:13 +02:00
|
|
|
|
|
|
|
uint32 gCurrentDrawCount = 0;
|
|
|
|
uint8 gScreenFlags;
|
|
|
|
uint32 gScreenAge;
|
|
|
|
uint8 gSavePromptMode;
|
2014-10-09 15:31:51 +02:00
|
|
|
}
|