OpenRCT2/src/openrct2/Version.h

92 lines
2.4 KiB
C
Raw Normal View History

/*****************************************************************************
2020-07-21 15:04:34 +02:00
* Copyright (c) 2014-2020 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 "common.h"
#include <string>
2018-06-22 23:25:16 +02:00
#define OPENRCT2_NAME "OpenRCT2"
Release v0.3.2 - Feature: [#12110] Add Hybrid Coaster (Rocky Mountain Construction I-Box) track type. - Feature: [#12999] .sea (RCT Classic) scenarios are now listed in the “New Scenario” dialog. - Feature: [#13000] objective_options command for console. - Feature: [#13096] Add Esperanto translation. - Feature: [#13164] Add 'Objective options' to Cheats menu. - Change: [#9568] Change lift sounds of Reverser Roller Coaster and Compact Inverted Coaster to better fitting ones. - Change: [#13160] The lay-out of the Park Cheats tab has been improved. - Fix: [#1324] Last track piece map selection still visible when placing ride entrance or exit (original bug). - Fix: [#3200] Close Construction window upon selecting vehicle page. - Fix: [#4022] Fix Mac cursor offset on launch - Fix: [#4041] Garbled park option on scenario editor with custom theme. - Fix: [#4865] Offer an option to disable inhibiting the monitor power. - Fix: [#5178] Lighting effects cannot be disabled in software mode - Fix: [#5904] Empty errors on tile inspector base height change. - Fix: [#6086] Cannot install existing track design with another name. - Fix: [#6614, #8623] Colours are distorted when using OpenGL with Intel integrated graphics drivers. - Fix: [#7443] Construction arrows pulse at irregular intervals. - Fix: [#7518] Water isn't cut down by view clipping tool. - Fix: [#7748] Tooltips would not timeout for normal UI elements. - Fix: [#8015] RCT2 files are not found when put into the OpenRCT2 folder. - Fix: [#8957] Error title missing when building with insufficient funds - Fix: [#10186] Placing multiple saved rides ignores design name (original bug). - Fix: [#12368] Desync due to ghost station pieces affecting changing ride settings. - Fix: [#12940] Windows cause issues with snow drawing. - Fix: [#13019] Simulated trains sometimes open construction window when they crash. - Fix: [#13021] Mowed grass and weeds don't show up in extra zoom levels. - Fix: [#13024] Console cursor does not correctly render at current cursor position. - Fix: [#13029] Not all Junior Roller Coaster pieces are shown when "Show all track pieces" cheat is enabled. - Fix: [#13044] Rides in RCT1 saves all have "0 customers per hour". - Fix: [#13074] Entrance and exit ghosts for mazes not being removed. - Fix: [#13083] Dialog for renaming conflicting track design crops text out. - Fix: [#13097] Missing direction arrow for stations - Fix: [#13098] UI buttons for entrance and exit don't toggle according to them being built. - Fix: [#13098] Maze can still be constructed while placing entrance and exit (original bug). - Fix: [#13118] Closing construction window resets ride viewport. - Fix: [#13129] Missing error message when waiting for train to leave station on the ride measurements graph. - Fix: [#13138] Fix logical sorting of list windows. - Fix: [#13158] Cursors are drawn incorrectly in text input fields. - Fix: [#13222] Vehicle collision causes negative number of passengers (original bug). - Fix: [#13226, #7280] No error is shown when attempting to load a corrupted save. - Fix: [#13266] Plugin API: Deleting key of sharedStorage not working. - Fix: [#13278] Desync caused by ghost tiles changing the ride mode. - Fix: [#13289] Litter and vomit sometimes not loading with RCT1 saved game or scenario - Fix: [#13292] Impossible excitement rating requirements with finish building 5 coasters goal - Improved: [#13023] Made add_news_item console command last argument, assoc, optional. - Improved: [#13098] Improvements to the maze construction window user interface - Improved: [#13125] Selecting the RCT2 files now uses localised dialogs.
2020-11-01 20:00:01 +01:00
#define OPENRCT2_VERSION "0.3.2"
2016-08-19 01:18:09 +02:00
2016-08-28 16:54:38 +02:00
#if defined(__amd64__) || defined(_M_AMD64)
2018-07-21 16:17:06 +02:00
# define OPENRCT2_ARCHITECTURE "x86-64"
2016-08-28 16:54:38 +02:00
#elif defined(__i386__) || defined(_M_IX86)
2018-07-21 16:17:06 +02:00
# define OPENRCT2_ARCHITECTURE "x86"
2019-10-15 06:47:49 +02:00
#elif defined(__aarch64__) || defined(_M_ARM64)
2018-07-21 16:17:06 +02:00
# define OPENRCT2_ARCHITECTURE "AArch64"
2016-08-28 16:54:38 +02:00
#elif defined(__arm__) || defined(_M_ARM)
2018-07-21 16:17:06 +02:00
# if defined(__ARM_ARCH_7A__)
# define OPENRCT2_ARCHITECTURE "arm-v7a"
# else
# define OPENRCT2_ARCHITECTURE "arm"
# endif
#elif defined(__powerpc__) || defined(_M_PPC)
2018-07-21 16:17:06 +02:00
# define OPENRCT2_ARCHITECTURE "PowerPC"
2017-06-15 14:22:15 +02:00
#elif defined(__mips64)
2018-07-21 16:17:06 +02:00
# define OPENRCT2_ARCHITECTURE "mips64"
2017-06-15 14:22:15 +02:00
#elif defined(__mips__)
2018-07-21 16:17:06 +02:00
# define OPENRCT2_ARCHITECTURE "mips"
#elif defined(__riscv)
# define OPENRCT2_ARCHITECTURE "RISC-V"
2016-08-28 16:54:38 +02:00
#endif
#ifdef __EMSCRIPTEN__
2018-07-21 16:17:06 +02:00
# define OPENRCT2_ARCHITECTURE "Emscripten"
#endif
2016-08-28 16:54:38 +02:00
#ifndef OPENRCT2_ARCHITECTURE
2018-07-21 16:17:06 +02:00
# error "OPENRCT2_ARCHITECTURE is undefined. Please add identification."
2016-08-19 01:18:09 +02:00
#endif
// Platform
2017-06-12 19:00:15 +02:00
#ifdef _WIN32
2018-07-21 16:17:06 +02:00
# define OPENRCT2_PLATFORM "Windows"
#endif
2017-06-15 14:22:15 +02:00
#if defined(__linux__) && !defined(__ANDROID__)
2018-07-21 16:17:06 +02:00
# define OPENRCT2_PLATFORM "Linux"
#endif
2017-06-12 19:00:15 +02:00
#if (defined(__APPLE__) && defined(__MACH__))
2018-07-21 16:17:06 +02:00
# define OPENRCT2_PLATFORM "macOS"
#endif
2017-06-12 19:00:15 +02:00
#ifdef __FreeBSD__
2018-07-21 16:17:06 +02:00
# define OPENRCT2_PLATFORM "FreeBSD"
#endif
#ifdef __NetBSD__
# define OPENRCT2_PLATFORM "NetBSD"
#endif
2017-06-15 14:22:15 +02:00
#ifdef __ANDROID__
2018-07-21 16:17:06 +02:00
# define OPENRCT2_PLATFORM "Android"
2017-06-15 14:22:15 +02:00
#endif
2017-06-25 21:25:55 +02:00
#ifdef __OpenBSD__
2018-07-21 16:17:06 +02:00
# define OPENRCT2_PLATFORM "OpenBSD"
2017-06-25 21:25:55 +02:00
#endif
#ifdef __EMSCRIPTEN__
2018-07-21 16:17:06 +02:00
# define OPENRCT2_PLATFORM "Emscripten"
#endif
#ifndef OPENRCT2_PLATFORM
2018-07-21 16:17:06 +02:00
# error Unknown platform!
#endif
#ifndef OPENRCT2_CUSTOM_INFO
2018-07-21 16:17:06 +02:00
# define OPENRCT2_CUSTOM_INFO ""
#endif
2018-02-01 18:49:14 +01:00
extern const char gVersionInfoFull[];
extern const char gVersionInfoTag[];
struct NewVersionInfo
{
std::string tag;
std::string name;
std::string changelog;
std::string url;
};
NewVersionInfo get_latest_version();