mirror of https://github.com/OpenRCT2/OpenRCT2.git
* Fix #16408: Report extended version information * Update distribution/changelog.txt Co-authored-by: Tulio Leao <tupaschoal@gmail.com> Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
This commit is contained in:
parent
9b6040c590
commit
4a36520ba2
|
@ -18,6 +18,7 @@
|
|||
- Improved: [#10664, #16072] Visibility status can be modified directly in the Tile Inspector's list.
|
||||
- Improved: [#16251] Plugin API handles null values better.
|
||||
- Improved: [#16258] Increased image limit in the engine.
|
||||
- Improved: [#16408] Improve --version cli option to report more compatibility information.
|
||||
- Change: [#16077] When importing SV6 files, the RCT1 land types are only added when they were actually used.
|
||||
- Fix: [#15571] Non-ASCII characters in scenario description get distorted while saving.
|
||||
- Fix: [#15830] Objects with RCT1 images are very glitchy if OpenRCT2 is not linked to an RCT1 install.
|
||||
|
|
|
@ -21,8 +21,10 @@
|
|||
#include "../localisation/Language.h"
|
||||
#include "../network/network.h"
|
||||
#include "../object/ObjectRepository.h"
|
||||
#include "../park/ParkFile.h"
|
||||
#include "../platform/Crash.h"
|
||||
#include "../platform/Platform2.h"
|
||||
#include "../scripting/ScriptEngine.h"
|
||||
#include "CommandLine.hpp"
|
||||
|
||||
#include <ctime>
|
||||
|
@ -456,6 +458,19 @@ static void PrintVersion()
|
|||
Console::WriteLine(buffer);
|
||||
Console::WriteFormat("%s (%s)", OPENRCT2_PLATFORM, OPENRCT2_ARCHITECTURE);
|
||||
Console::WriteLine();
|
||||
Console::WriteFormat("Network version: %s", network_get_version().c_str());
|
||||
Console::WriteLine();
|
||||
#ifdef ENABLE_SCRIPTING
|
||||
Console::WriteFormat("Plugin API version: %d", OpenRCT2::Scripting::OPENRCT2_PLUGIN_API_VERSION);
|
||||
Console::WriteLine();
|
||||
#else
|
||||
Console::WriteFormat("Plugin API not enabled in this build");
|
||||
Console::WriteLine();
|
||||
#endif
|
||||
Console::WriteFormat("Current park file version: %d", OpenRCT2::PARK_FILE_CURRENT_VERSION);
|
||||
Console::WriteLine();
|
||||
Console::WriteFormat("Minimum park file version: %d", OpenRCT2::PARK_FILE_MIN_VERSION);
|
||||
Console::WriteLine();
|
||||
}
|
||||
|
||||
static void PrintLaunchInformation()
|
||||
|
|
|
@ -65,12 +65,6 @@ using namespace OpenRCT2;
|
|||
|
||||
namespace OpenRCT2
|
||||
{
|
||||
// Current version that is saved.
|
||||
constexpr uint32_t PARK_FILE_CURRENT_VERSION = 0x8;
|
||||
|
||||
// The minimum version that is forwards compatible with the current version.
|
||||
constexpr uint32_t PARK_FILE_MIN_VERSION = 0x8;
|
||||
|
||||
namespace ParkFileChunkType
|
||||
{
|
||||
// clang-format off
|
||||
|
|
|
@ -7,6 +7,12 @@ struct ObjectRepositoryItem;
|
|||
|
||||
namespace OpenRCT2
|
||||
{
|
||||
// Current version that is saved.
|
||||
constexpr uint32_t PARK_FILE_CURRENT_VERSION = 0x8;
|
||||
|
||||
// The minimum version that is forwards compatible with the current version.
|
||||
constexpr uint32_t PARK_FILE_MIN_VERSION = 0x8;
|
||||
|
||||
constexpr uint32_t PARK_FILE_MAGIC = 0x4B524150; // PARK
|
||||
|
||||
struct IStream;
|
||||
|
|
Loading…
Reference in New Issue