From 51582e3ab0a7818a2b2a5a32b3aaa73f1a6dbd07 Mon Sep 17 00:00:00 2001 From: AuraSpecs Date: Fri, 6 Jan 2023 22:44:32 +0100 Subject: [PATCH] Add special thanks lines to About window --- data/language/en-GB.txt | 2 ++ distribution/changelog.txt | 1 + src/openrct2-ui/windows/About.cpp | 4 +++- src/openrct2/localisation/StringIds.h | 3 +++ 4 files changed, 9 insertions(+), 1 deletion(-) diff --git a/data/language/en-GB.txt b/data/language/en-GB.txt index c9b4aefc20..2e2b0fbcf0 100644 --- a/data/language/en-GB.txt +++ b/data/language/en-GB.txt @@ -3642,6 +3642,8 @@ STR_6536 :This park was saved in a later version of OpenRCT2. The park was sa STR_6537 :Allow using regular paths as queue STR_6538 :Shows regular paths in the queues dropdown of the Footpaths window. STR_6539 :Brake Closed +STR_6540 :{WINDOW_COLOUR_2}Special thanks to the following companies for allowing their likeness: +STR_6541 :{WINDOW_COLOUR_2}Rocky Mountain Construction Group, Josef Wiegand GmbH & Co. KG ############# # Scenarios # diff --git a/distribution/changelog.txt b/distribution/changelog.txt index df170e6e7b..93f5c14485 100644 --- a/distribution/changelog.txt +++ b/distribution/changelog.txt @@ -8,6 +8,7 @@ - Improved: [#18826] [Plugin] Added all actions and their documentation to plugin API. - Improved: [#18945] Languages can now fall back to other languages than English. - Improved: [#18970] Trying to load a non-park save will now display a context error. +- Improved: [#19044] Added special thanks to RMC and Wiegand to the About page. - Fix: [#18467] “Selected only” Object Selection filter is active in Track Designs Manager, and cannot be toggled. - Fix: [#18905] Ride Construction window theme is not applied correctly. - Fix: [#18911] Mini Golf station does not draw correctly from all angles. diff --git a/src/openrct2-ui/windows/About.cpp b/src/openrct2-ui/windows/About.cpp index b6252991b6..251e3e6cfc 100644 --- a/src/openrct2-ui/windows/About.cpp +++ b/src/openrct2-ui/windows/About.cpp @@ -22,7 +22,7 @@ using namespace OpenRCT2; static constexpr const int32_t WW = 400; -static constexpr const int32_t WH = 352; +static constexpr const int32_t WH = 400; static constexpr const StringId WINDOW_TITLE = STR_ABOUT; static constexpr const int32_t TABHEIGHT = 50; @@ -72,6 +72,8 @@ static Widget _windowAboutOpenRCT2Widgets[] = { MakeWidget({168, 115 + 72}, {200, 14}, WindowWidgetType::Button, WindowColour::Secondary, STR_JOIN_DISCORD ), // "join discord" button MakeWidget({10, 250}, {WW - 20, 50}, WindowWidgetType::LabelCentred, WindowColour::Secondary, STR_ABOUT_OPENRCT2_DESCRIPTION_2), // Contributors MakeWidget({10, 300}, {WW - 20, 50}, WindowWidgetType::LabelCentred, WindowColour::Secondary, STR_ABOUT_OPENRCT2_DESCRIPTION_3), // Copyright + MakeWidget({10, 350}, {WW - 20, 50}, WindowWidgetType::LabelCentred, WindowColour::Secondary, STR_ABOUT_SPECIAL_THANKS_1), // Special Thanks + MakeWidget({10, 375}, {WW - 20, 50}, WindowWidgetType::LabelCentred, WindowColour::Secondary, STR_ABOUT_SPECIAL_THANKS_2), // Company names WIDGETS_END, }; diff --git a/src/openrct2/localisation/StringIds.h b/src/openrct2/localisation/StringIds.h index 60bd72352c..3c6f572229 100644 --- a/src/openrct2/localisation/StringIds.h +++ b/src/openrct2/localisation/StringIds.h @@ -3933,6 +3933,9 @@ enum : uint16_t STR_TILE_INSPECTOR_TRACK_BRAKE_CLOSED = 6539, + STR_ABOUT_SPECIAL_THANKS_1 = 6540, + STR_ABOUT_SPECIAL_THANKS_2 = 6541, + // Have to include resource strings (from scenarios and objects) for the time being now that language is partially working /* MAX_STR_COUNT = 32768 */ // MAX_STR_COUNT - upper limit for number of strings, not the current count strings };