forked from rosebudai/OpenRCT2-Web
- Feature: [#25286] Footpath area dragging tool. - Feature: [#25379] Add an option to the command line screenshot function to draw debug segment heights. - Improved: [#21375] The `load_object` console command now allows loading JSON objects. - Improved: [#25297] Paths on the ground in SV4/SC4 no longer block supports of the paths above. - Improved: [#25349] ‘Recent Messages’ window can now be fully themed. - Improved: [#25433] Colour dropdown now uses bigger images in Enlarged UI mode. - Change: [#25089] Peep actions and animations that cause them to stop moving no longer trigger when they are on a level crossing. - Change: [#25337] Placing track designs with scenery that is obstructed no longer disables all of the scenery. - Fix: [#20198] Guest inventory from RCT1 base game saves is not imported. - Fix: [#20486] Multiplayer desync when placing track designs without any scenery. - Fix: [#22779, #25330] Incorrect queue paths in Nevermore Park and Six Flags Holland scenarios (bug in the original scenarios). - Fix: [#24975] The Corkscrew and LIM Launched (original bug) roller coaster quarter loop tunnels are too high. - Fix: [#25139] Steam locomotive and tram claxons can sound louder than normal when approaching crossings that span multiple tiles. - Fix: [#25190] Inserting a block brake while a coaster is simulating will cause the simulation to behave strangely. - Fix: [#25206] System file picker does not show up on the Steam Deck. - Fix: [#25272] Text colour dropdown in the Banner window is too narrow, resulting in truncated labels. - Fix: [#25299] The Mine Train Coaster left large helix draws incorrect sprites at certain angles (original bug). - Fix: [#25328] Spiral Slide in Blackpool Pleasure Beach has its entrance and exit the wrong way round (bug in the original scenario). - Fix: [#25342] The Go-Karts medium right gentle sloped turn does not have a tunnel at the end. - Fix: [#25349] Items in Recent Messages are too narrow if there is no scrollbar visible. - Fix: [#25350] The scrolling intro background switches colour halfway through (original bug). - Fix: [#25350] When skipping the scrolling intro, the screen does not get cleared properly. - Fix: [#25350] Scrolling intro cannot be skipped using a mouse click. - Fix: [#25358] The Stand Up Roller Coaster left corkscrew does not block supports correctly. - Fix: [#25363] The Mine Train Coaster flat-to-steep track pieces do not block all metal supports. - Fix: [#25369] The Go-Karts medium turns and small flat and sloped turns do not block metal supports correctly. - Fix: [#25370] The Hybrid Coaster diagonal brakes and block brakes do not block metal supports consistently. - Fix: [#25371] The Wooden Roller Coaster small banked turns block too many metal supports. - Fix: [#25378] The land tool sometimes allows land to be raised through a maze. - Fix: [#25380] The Lay-down Roller Coaster left corkscrew supports are incorrect at one angle (original bug). - Fix: [#25388] The Shortcut Keys window uses the wrong colours for separators, scrollbars and buttons. - Fix: [#25401] Mazes can be built 2 units higher than their support limits. - Fix: [#25404] Guests that have been removed with the remove all guests cheat will still be visible if they were sliding down the Spiral Slide. - Fix: [#25410] Guest flags (e.g. tracking) not imported from RCT1.
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.28"
|
|
|
|
#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();
|