29775 Commits
Author SHA1 Message Date
Aaron van Geffen 1de7cb433e Introduce sub-tabs for scenery-related object types 2024-07-23 13:28:59 +02:00
Aaron van Geffen 3b4c5ce3ef Introduce sub-tabs for path-related object types 2024-07-23 13:26:23 +02:00
Arnold Zhou 2da5ed6517 [Plugin API] Fix: add missing hook types, order & style (#22134) 2024-07-23 07:49:57 -03:00
Aaron van Geffen a2a6deaf7b Object selection window: generalise sub-tab logic
* Introduce ObjectSubTab struct and kRideObjectSubTabs

* Make subtab frame non-interactible

* Give sub-tab widgets a more general name

* Integrate TabOrder into ObjectSelectionPages

* Apply filter from subpage definition

* Rewrite GetSelectedObjectType to account for sub-tabs

* Improve sub-tab toggling behaviour
2024-07-22 15:47:34 +02:00
OpenRCT2 git bot 035e4091e9 Merge Localisation/master into OpenRCT2/develop 2024-07-22 04:02:02 +00:00
mrmbernardi bdb4823d48 Fix #22209: Water tool selection may disappear near edge of map (#22256) 2024-07-21 20:32:23 +00:00
Karsten Van FossanandAaron van Geffen 0c318a416e Automatically set window scaling based on display pixel density (#21907)
Co-authored-by: Aaron van Geffen <aaron@aaronweb.net>
2024-07-21 22:10:32 +02:00
Aaron van Geffen d156c6e1ef Use infinity icon in object selection window too (#22344) 2024-07-21 22:09:32 +02:00
mrmbernardi 58e4a5031e Fix #22222: Staff list may remain invalid when changing tabs. (#22342) 2024-07-21 01:35:22 +10:00
mrmbernardi f9a7d98b21 Fix #22333: Tile inspector closes other tool windows (#22341) 2024-07-20 23:14:37 +10:00
OpenRCT2 git bot 3467760ef8 Merge Localisation/master into OpenRCT2/develop 2024-07-18 04:02:11 +00:00
Tomáš Chvojka c9be2ecca1 Fix #22245: Unrated rides cause high amount of nausea (#22284)
Reverts #22199 changes that seem to cause a nausea bug on untested rides

Nulls are now considered higher values than anything, making them appear on the tail of ascending lists again

Checking for NULL in ratings.intensity and ratings.nausea didn't work, they seem to retain there values pre ratings reset and setting them to null would change the behaviour of the game - so instead we check for ratings.isNull() in the sorting to properly put null ratings to tail of sorted lists.
2024-07-17 12:52:00 +02:00
OpenRCT2 git bot b081dffa92 Merge Localisation/master into OpenRCT2/develop 2024-07-17 04:01:57 +00:00
Aaron van Geffen 48d65627f8 Fix invalidation issue with title version strings (#22317) 2024-07-16 23:40:54 +03:00
Aaron van Geffen a3ea3a70c5 Fix #22318: Water sparkles missing if transparent water enabled (#22319)
The transparent water mode should always be enabled in cases where RCT1 is not linked.
2024-07-16 23:40:03 +03:00
Aaron van Geffen 1d361a07e3 Merge pull request #22301 from AaronVanGeffen/more-progress-bars
Add progress bars to loading saved games and scenarios
2024-07-16 20:04:21 +02:00
Aaron van Geffen 7be74f2746 Add changelog entry 2024-07-16 19:53:17 +02:00
Aaron van Geffen e645fc7ac4 Widen progress range for object loading proces 2024-07-16 19:30:48 +02:00
Aaron van Geffen a5054c68d1 Add progress reporting to loading required objects 2024-07-16 18:14:44 +02:00
Aaron van Geffen faac0ebeb5 Rewrite ObjectManager::LoadObjects to use a JobPool 2024-07-16 18:14:23 +02:00
mrmbernardi 461b4b9669 Fix #22304: Graphs don't draw lines on the left edge of the screen (#22315) 2024-07-17 02:01:11 +10:00
Aaron van Geffen 4a981be643 Simplify scenario editor's landscape loading code (#22309) 2024-07-16 08:49:02 +02:00
OpenRCT2 git bot d9408be4ed Merge Localisation/master into OpenRCT2/develop 2024-07-16 04:02:51 +00:00
Aaron van Geffen d9efdd4cad Prevent loading saved games twice in LoadSave window callback (#22305) 2024-07-15 19:50:53 +00:00
Aaron van Geffen 5ae97d4d3b Move title version info to its own window (#22302) 2024-07-15 22:33:01 +03:00
Aaron van Geffen 6de514c387 Address minor code style violation in unsigned suffix (#22306) 2024-07-15 21:16:30 +02:00
mrmbernardi cfa507350b Update changelog.txt to list issue #22208 as an original bug 2024-07-16 03:15:17 +10:00
Silent 76b55651b6 Stop (and discard) the replay before tearing down the scripting engine (#22293)
Fixes a shutdown crash on tearing down Duktape values after their
context has already been destroyed.

Fixes #22056
2024-07-15 08:43:06 +02:00
Aaron van Geffen ef7dbe496a Introduce VIEWPORT_FLAG_RENDERING_INHIBITED 2024-07-15 01:17:57 +02:00
Aaron van Geffen 3618f9a8a7 Create title scene windows only after initialising title sequence 2024-07-15 00:23:25 +02:00
Aaron van Geffen 0890a49e3c Add progress bars to title sequence loading, but only the initial park 2024-07-14 23:58:00 +02:00
Aaron van Geffen 5f0c3d2ffd Add progress bars to loading saved games and scenarios 2024-07-14 22:18:31 +02:00
cheweytoo ab43ebdace Added changelog entry for issue #22208 (#22295) 2024-07-15 00:27:04 +10:00
mrmbernardi 4356ae4f5e Rewrite sprite-cursor interaction code (#22239) 2024-07-14 03:46:40 +10:00
Aaron van Geffen 4e0f8e9c8f Merge pull request #22281 from AaronVanGeffen/localisation
Further consolidation of the localisation namespace
2024-07-13 15:00:27 +02:00
Aaron van Geffen 896eb4f488 Consolidate FormatStringIDLegacy, FormatStringToUpper into Formatting 2024-07-13 14:09:58 +02:00
Aaron van Geffen 3d5c19de08 Drop Localisation.h include where not required 2024-07-13 13:33:32 +02:00
Aaron van Geffen c08541efc7 Remove gCommonStringFormatBuffer, CommonTextBufferSize 2024-07-13 13:25:55 +02:00
Aaron van Geffen a97820f297 Move kRideInspectionIntervalNames into Ride unit 2024-07-13 12:30:40 +02:00
Aaron van Geffen c21a7b1178 Move PeepThoughts from localisation to their own unit in the peep folder 2024-07-13 11:41:47 +02:00
Aaron van Geffen a33e06a9d0 Move kResearchFundingLevelNames to Research unit 2024-07-13 11:31:17 +02:00
Aaron van Geffen 8134ca069a Move kMarketingCampaignNames to Marketing unit 2024-07-12 23:56:22 +02:00
Aaron van Geffen 2a6061001b Move kObjectiveNames to Objective unit 2024-07-12 23:50:59 +02:00
Aaron van Geffen 1c26a6cb41 Move RealNames.cpp,h from localisation to peep folder 2024-07-12 23:39:59 +02:00
Aaron van Geffen 022d7756bd Move StringToMoney and MoneyToString to Currency unit 2024-07-12 23:33:26 +02:00
Aaron van Geffen 476efff9b9 Drop unused FormatReadableSize, FormatReadableSpeed 2024-07-12 23:24:49 +02:00
Aaron van Geffen 7f2a98cb54 Fix InteractiveConsole.h for MinGW 2024-07-12 23:24:33 +02:00
Aaron van Geffen 7be1cb630d Remove gDebugStringFormatting global 2024-07-12 23:11:38 +02:00
Aaron van Geffen 039d0ef1a7 Move CSChar and UnicodeChar namespaces to their own headers 2024-07-12 23:02:31 +02:00
Aaron van Geffen 229df6d66d Move CSStringConverter from localisation to rct12 folder (#22280) 2024-07-12 20:37:00 +00:00