mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-25 07:44:38 +01:00
- Feature: [#24468] [Plugin] Add awards to plugin API. - Feature: [#24702] [Plugin] Add bindings for missing cheats (forcedParkRating, ignoreRidePrice, makeAllDestructible). - Feature: [#24794] The load/save browser can now optionally show mini map previews instead of screenshots. - Improved: [#24812] Taiwan Park has been added to the Extras tab if it is present. - Improved: [OpenSFX#12] Add Brake Fix, Buy and Dinghy Slide running sounds. - Change: [#24730] Security guards now only walk slowly in crowded areas. - Change: [#24843] Update android targetSDK to 36. - Fix: [#24598] Cannot load .park files that use official legacy footpaths by accident. - Fix: [#24611] The confirmation prompt for track file deletion is not vertically aligned. - Fix: [#24711] The map smoothing function only partially works for custom height map image files. - Fix: [#24761] The reliability bar in the ride window visually does not go below 10%. - Fix: [#24773] The new ride window debug authors does not show the correct authors for non legacy ride objects. - Fix: [#24775] The scenery and new ride windows do not filter by file name or identifier correctly for non legacy objects. - Fix: [#24777] The stall item preview cycles between all possible colours when random checkbox is ticked. - Fix: [#24794] The load/save browser does not resize cleanly when toggling the preview sidebar. - Fix: [#24824] The Air Powered Vertical Coaster top section track piece has vertical tunnels (original bug). - Fix: [#24825] The River Rapids flat-to-gentle track piece tunnels are incorrect on the gentle side. - Fix: [#24826] The Junior Roller Coaster flat-to-steep track piece tunnels are incorrect. - Fix: [#24829] The pattern of long grass across tiles is different to RCT1 and RCT2. - Fix: [#24831] Park names are being overwritten for custom RCT1 scenarios that use competition id slots. - Fix: [#24838] Not using localized word for conjunction when having multiple shortcuts for the same action. - Fix: [#24841] Fullscreen options do not work correctly with Emscripten.
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.25"
|
|
|
|
#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();
|