mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-02-02 11:45:13 +01:00
- Improved: [#24912] Staff now use an appropriate standing animation while waiting at level crossings. - Improved: [#25515] Path dragging can now be disabled via multiplayer group permissions. - Improved: [#25529] The map selection grid no longer redraws every frame if it has not changed. - Improved: [#25530] Wall dragging can now be cancelled without closing the Scenery window. - Improved: [#25575] Updated the network protocol to a new format that supports larger packets, allowing clients to connect reliably to servers with many objects or large maps. - Improved: [#25621] Added the Polish Złoty (PLN) to the list of available currencies. - Improved: [#25625] Renewing and refurbishing rides now also resets the downtime. - Improved: [#25662] The sprite build command is faster when building sprites from the same image file. - Change: [#21912] Toilet income is now categorised as shop sales instead of ride tickets. - Change: [#25403] Guests will not slide down the Spiral Slide if it's broken, even if they have already entered the ride structure. - Change: [#25485] Make the enlarged pressed swatch sprite more pronounced. - Change: [#25544] The default game window size is now 1280×720px instead of 640×480px. - Fix: [#9895] Stand-up coaster gets wrong intensity boost from the synchronisation bonus. - Fix: [#11617] Path corner connections are broken when hovering track design ghosts with paths over them in zero clearances. - Fix: [#22484] Lingering ghost entrance after placing park entrance. - Fix: [#24952] Duplicate track designs when running via Steam without having RCT1 linked. - Fix: [#25187] On-ride photo platform does not render as ghost when placing track design. - Fix: [#25229] Excessive logging of game actions, reduced to top-level game actions and filters ghost related ones. - Fix: [#25469] Drawing in the ui.imageManager.draw callback causes an assertion. - Fix: [#25524] The track construction arrow does not immediately change position when deleting track pieces. - Fix: [#25552] Clear Scenery does not show an error message about insufficient money if cash is negative. - Fix: [#25565] Chairlift station ends are missing tunnels at certain rotations. - Fix: [#25569] Placing park entrances in multiplayer does not show for other players, causing desyncs. - Fix: [#25571] Potential crash due to drawing a Crooked House ride. - Fix: [#25588] When the master server becomes unreachable the server would not register again until a restart. - Fix: [#25592] Log flume, river rapids, & splash boats can get control failure breakdown instead of brakes failure. - Fix: [#25595] Invisible entrance is added to imported SV4 saves. - Fix: [#25601] Inspection interval of a ride gets reset when opening the construction window. - Fix: [#25628] Availability of AVX2 and SSE4.1 is not detected correctly. - Fix: [#25639] Scenery window crashes when a no longer present object is still selected. - Fix: [#25641] Desync because of mismatching inspection intervals. - Fix: [#25642] The selection marker for purchasing land rights is not drawn with the correct colours. - Fix: [#25646] It is possible to remove scenery and paths when setting staff patrol areas and purchasing land. - Fix: [#25660] After saving a track design with scenery, that ride’s entrances and exits are visible in ‘Highlight path issues’ mode. - Fix: [#25717] Umbrellas given to guests by means of cheats do not use the full (extended) range of colours.
89 lines
2.4 KiB
C++
89 lines
2.4 KiB
C++
/*****************************************************************************
|
|
* Copyright (c) 2014-2025 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 kOpenRCT2Version "0.4.30"
|
|
|
|
#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"
|
|
#elif defined(__loongarch__)
|
|
#define OPENRCT2_ARCHITECTURE "LoongArch"
|
|
#endif
|
|
#ifdef __wasm64__
|
|
#define OPENRCT2_ARCHITECTURE "wasm64"
|
|
#elif defined(__wasm32__)
|
|
#define OPENRCT2_ARCHITECTURE "wasm32"
|
|
#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;
|
|
};
|
|
|
|
NewVersionInfo GetLatestVersion();
|