mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-22 14:24:33 +01:00
- Feature: [#19596] Allow for playing back a replay without camera movement or alert box. - Feature: [#20831] The ride selection window now shows object authors if debugging tools are active. - Feature: [#20832] The ride music tab now shows a track listing for the current music style. - Feature: [#22172] [Plugin] Expose ride satisfaction ratings to the plugin API. - Feature: [#22184] [Plugin] Expose staff statistics to the plugin API. - Feature: [#22213] [Plugin] Allow plugins to focus on textboxes in custom windows. - Feature: [#22272] [Plugin] Expose ride vehicle’s current track type via car trackLocation. - Feature: [#22301] Loading save games or scenarios now indicates loading progress. - Feature: [OpenMusic#54] Added Progressive ride music style (feat. Approaching Nirvana). - Improved: [#22352] The object selection window now groups relevant object tabs together. - Improved: [#22357] Error messages are now themeable and easier to read. - Improved: [#22361, objects#342, objects#343] Add additional colour presets to the Observation Tower, Twist, and Ferris Wheel. - Improved: [#22433] Increase the network timeout from 7 to 20 seconds, should help slow clients getting disconnected. - Improved: [#22437] File indexing now properly uses all CPU power, improving object and scenario indexing. - Improved: [#22449] Reduced the time it takes to load and index objects, scenarios and tracks. - Change: [#12292] The ‘Toggle visibility of toolbars’ shortcut is no longer assigned by default. - Change: [#21494] Display pixel density is now taken into account for the initial window scale setting. - Change: [#22230] The plugin/script engine is now initialised off the main thread. - Change: [#22251] Hide author info in the scenery window unless debug tools are active. - Change: [#22283] Let heavy snow and blizzard increase chance of brakes failure. - Change: [#22309] The scenario editor now supports loading landscapes from .sea save files. - Fix: [#17390] Glitchy animations for the ride type tabs in the object selection window. - Fix: [#19210] The load/save window executes the loading code twice, resulting in a slowdown. - Fix: [#21175] Terraform tool hotkeys don't work when toolbars are hidden. - Fix: [#22056] Potential crash upon exiting the game. - Fix: [#22101] Wrong tunnel shapes on Log Flume and Giga, Hybrid, Single-Rail and Alpine Coasters. - Fix: [#22208] Cursor may fail to register hits in some cases (original bug). - Fix: [#22209] Water tool selection may disappear near edge of map. - Fix: [#22222] Staff list may remain invalid when changing tabs. - Fix: [#22265] Button for switching covered tracks on slides doesn’t stay pressed. - Fix: [#22284] Unrated rides cause high amount of nausea. - Fix: [#22292] Progress bar widgets in guest and ride windows are not updating correctly. - Fix: [#22304] Graphs don’t draw lines on the left edge of the screen. - Fix: [#22308] OpenGL draws lines incorrectly in some cases. - Fix: [#22318] Water sparkles are missing if transparent water is enabled without RCT1 linked. - Fix: [#22333] Tile inspector closes other tool windows. - Fix: [#22339] Printing ui.tool.cursor in console crashes the game. - Fix: [#22348] Progress bar screen doesn’t handle window resizing. - Fix: [#22389] Alpine coaster has wrong tunnel entrance type. - Fix: [#22435] [Plugin] Off-by-one pixel issue in active widget width and height setters.
86 lines
2.3 KiB
C++
86 lines
2.3 KiB
C++
/*****************************************************************************
|
|
* Copyright (c) 2014-2024 OpenRCT2 developers
|
|
*
|
|
* For a complete list of all authors, please refer to contributors.md
|
|
* Interested in contributing? Visit https://github.com/OpenRCT2/OpenRCT2
|
|
*
|
|
* OpenRCT2 is licensed under the GNU General Public License version 3.
|
|
*****************************************************************************/
|
|
|
|
#pragma once
|
|
|
|
#include <string>
|
|
|
|
#define OPENRCT2_NAME "OpenRCT2"
|
|
#define OPENRCT2_VERSION "0.4.13"
|
|
|
|
#if defined(__amd64__) || defined(_M_AMD64)
|
|
# define OPENRCT2_ARCHITECTURE "x86-64"
|
|
#elif defined(__i386__) || defined(_M_IX86)
|
|
# define OPENRCT2_ARCHITECTURE "x86"
|
|
#elif defined(__aarch64__) || defined(_M_ARM64)
|
|
# define OPENRCT2_ARCHITECTURE "AArch64"
|
|
#elif defined(__arm__) || defined(_M_ARM)
|
|
# if defined(__ARM_ARCH_7A__)
|
|
# define OPENRCT2_ARCHITECTURE "arm-v7a"
|
|
# else
|
|
# define OPENRCT2_ARCHITECTURE "arm"
|
|
# endif
|
|
#elif defined(__powerpc__) || defined(_M_PPC)
|
|
# define OPENRCT2_ARCHITECTURE "PowerPC"
|
|
#elif defined(__mips64)
|
|
# define OPENRCT2_ARCHITECTURE "mips64"
|
|
#elif defined(__mips__)
|
|
# define OPENRCT2_ARCHITECTURE "mips"
|
|
#elif defined(__riscv)
|
|
# define OPENRCT2_ARCHITECTURE "RISC-V"
|
|
#endif
|
|
#ifdef __EMSCRIPTEN__
|
|
# define OPENRCT2_ARCHITECTURE "Emscripten"
|
|
#endif
|
|
|
|
#ifndef OPENRCT2_ARCHITECTURE
|
|
# error "OPENRCT2_ARCHITECTURE is undefined. Please add identification."
|
|
#endif
|
|
|
|
// Platform
|
|
#ifdef _WIN32
|
|
# define OPENRCT2_PLATFORM "Windows"
|
|
#endif
|
|
#if defined(__linux__) && !defined(__ANDROID__)
|
|
# define OPENRCT2_PLATFORM "Linux"
|
|
#endif
|
|
#if (defined(__APPLE__) && defined(__MACH__))
|
|
# define OPENRCT2_PLATFORM "macOS"
|
|
#endif
|
|
#ifdef __FreeBSD__
|
|
# define OPENRCT2_PLATFORM "FreeBSD"
|
|
#endif
|
|
#ifdef __NetBSD__
|
|
# define OPENRCT2_PLATFORM "NetBSD"
|
|
#endif
|
|
#ifdef __ANDROID__
|
|
# define OPENRCT2_PLATFORM "Android"
|
|
#endif
|
|
#ifdef __OpenBSD__
|
|
# define OPENRCT2_PLATFORM "OpenBSD"
|
|
#endif
|
|
#ifdef __EMSCRIPTEN__
|
|
# define OPENRCT2_PLATFORM "Emscripten"
|
|
#endif
|
|
#ifndef OPENRCT2_PLATFORM
|
|
# error Unknown platform!
|
|
#endif
|
|
|
|
extern const char gVersionInfoFull[];
|
|
extern const char gVersionInfoTag[];
|
|
struct NewVersionInfo
|
|
{
|
|
std::string tag;
|
|
std::string name;
|
|
std::string changelog;
|
|
std::string url;
|
|
};
|
|
|
|
NewVersionInfo GetLatestVersion();
|