mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-10 01:22:25 +01:00
- Feature: [#25459] Wall line dragging tool. - Improved: [#25028] Stalls now support colour presets, just like regular rides. - Improved: [#25426] Building the track designs index is now quicker. - Improved: [#25490] The ‘New Ride’ window can now be resized. - Fix: [#6228] The saved queue line path connections are not preserved when placing track designs (original bug). - Fix: [#14365] Track designs with scenery below the lowest track piece do not preview correctly. - Fix: [#25451] Dropdown item tooltips stay open if the mouse is moved over an empty space. - Fix: [#25454] Opening the land tool while building a path bridge or tunnel closes the Footpaths window. - Fix: [#25461] Path connections in raised track designs are sometimes broken when placed. - Fix: [#25467] Paths are not connected together correctly in track design previews. - Fix: [#25476] When both RCT2 and RCT1 are present, autodetection fails. - Fix: [#25480] The mini track design preview and price are misaligned in Enlarged UI mode. - Fix: [#25488] Crash in headless mode. - Fix: [#25494] The Go-Karts steep to flat track does not draw correctly in the flat side tunnel. - Fix: [#25518] The virtual floor does not draw correctly if expanded on the positive x and y axes. - Fix: [#25519] Crackling audio when sampling frequencies do not match. - Fix: [objects#401] Round tunnels on down slopes glitch. - Fix: [objects#404] Wooden Wild Mine cars incorrectly allow setting a third remap colour. - Fix: [objects#408] Australian fountain sets have confusing naming. - Fix: [objects#409] LIM Launched Coaster trains incorrectly have a 10% intensity modifier set (original bug). - Fix: [objects#410] Large scenery from the Wacky Worlds Africa theming have incorrect previews when using specific versions of the RCT2 base game. - Fix: [objects#415] Penguin bobsleigh trains show incorrect sprites on the 12° down slope (original bug).
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.29"
|
|
|
|
#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();
|