Commit Graph
23755 Commits
Author SHA1 Message Date
Gymnasiast be90806c80 Convert settings for the bottom toolbar to the new window types 2026-09-12 13:21:11 +02:00
Gymnasiast 345f61452e Move JSON colour conversion to its own function 2026-09-12 13:20:13 +02:00
Aaron van Geffen 212c99ae59 Move NewsTicker to its own window and rename GameStatusBar
* Move NewsTicker to its own window

* Toggle bottom toolbar window when changing theme settings

* Rename GameBottomToolbar to GameStatusBar

* Regroup strings by window in UiStringIds.h

* Rename string ids based on current usage

* Rename UITHEME_FLAG_USE_GAME_STATUS_BAR

* Use dedicated string for status bar instead of reusing title sequence one
2026-08-17 20:40:49 +02:00
Aaron van Geffen b52dc2d933 Rename INTENT_ACTION_UPDATE_NEWS_TICKER 2026-08-17 20:23:58 +02:00
Aaron van Geffen 3418b4f8bf Group themes window tab info into one struct (#27026) 2026-09-12 11:56:05 +00:00
Sjoerd de Bruin e93fa5342a Close #21400: draw staff patrol area selector on the water (#27067) 2026-09-12 08:40:52 +00:00
Michael Steenbeek 829dd93bd0 Fix #21320: RCT1 allows more cars per train on some rides than OpenRCT2 (#27106) 2026-09-12 10:24:24 +02:00
Hielke Morsink 255928221c Merge pull request #27104 from Gymnasiast/fix/27093
Fix #27093: Pause and fast forward buttons are shown in multiplayer
2026-09-12 01:14:47 +02:00
Michael Steenbeek 3fb24b8963 Fix references to LoadPalette in ScObjectManager.cpp (#27105)
A refactor and #27056 crossed each other, leading to a situation where the PR passes CIs only to cause problems upon merge.
2026-09-11 23:21:58 +02:00
Max 7164b12fd6 Fix #27056: Loading water palettes from plugin would not update the palette correctly (#27057) 2026-09-11 20:57:02 +02:00
Gymnasiast c25762467a Fix #27093: Pause and fast forward buttons are shown in multiplayer 2026-09-11 20:05:27 +02:00
Aaron van Geffen bcf80e292e Fix 'update available' widget position (#27091) 2026-09-08 07:22:05 +00:00
Harry Hopkinson 092783cc11 Rename Location.hpp members to camelCase (#27085) 2026-09-07 22:58:24 +02:00
Sjoerd de Bruin b8a5e2431c Fix #26754: Guard stale hover widget index when switching window pages (#27086) 2026-09-07 17:51:20 -03:00
Gymnasiast fcdf61e009 Move GfxFilterPixel to Rectangle.cpp 2026-09-06 20:03:24 +02:00
Gymnasiast 96ba41b5e6 Move ImageId::GetCatalogue() out of Drawing.cpp 2026-09-06 19:58:11 +02:00
Gymnasiast c90ca119eb Move line drawing stuff into Line.{cpp.h} 2026-09-06 19:50:48 +02:00
Gymnasiast 83cbac90ec Move stuff that affects the whole screen/viewport out of Drawing.{cpp,h} 2026-09-06 19:40:56 +02:00
Gymnasiast 5491820d02 Move game palette-related stuff into Palette.{cpp.h} 2026-09-06 18:46:07 +02:00
Gymnasiast 49eeb35261 Rename ColourPalette.h to PaletteType.h 2026-09-06 18:45:51 +02:00
Gymnasiast b0b81afcfa Create function to get active water type 2026-09-06 18:44:21 +02:00
Harry Hopkinson 97b91941eb Rename RideStation struct members in Ride.h (#27072) 2026-09-06 17:43:24 +02:00
Michael Steenbeek 1cee317188 Fix #24457: Yellow is always rendered as third remap in Ride window (#27063) 2026-09-06 15:13:08 +00:00
Michael Steenbeek 394e588fc7 Fix unnamed rides appearing in English in base/WW scenarios (#27052) 2026-09-06 12:40:34 +02:00
Harry Hopkinson 48242d86d6 Refactor PatrolArea.h members and constexpr code style (#27050) 2026-09-06 12:40:01 +02:00
Kirill Gusev 453ddb49b8 Rename FileScanner fields and methods (#27055) 2026-09-06 12:39:33 +02:00
Kirill Gusev 369341a019 Rename DataSerialiser method (#27058) 2026-09-06 12:39:03 +02:00
Gymnasiast 8694e34836 Releasse v0.5.5
- Feature: [#26423] [Plugin] Add `PathNavigator` and `PathConnection` for exploring the footpath network as a graph.
- Feature: [#26827] [Plugin] Add map resize hook to scripting api.
- Feature: [#26877] Clear Scenery can now remove footpath additions, and remove walls separately from small scenery.
- Feature: [#26938] [Plugin] Allow getting and setting caret position for textbox while it is in focus.
- Improved: [#16269] Unnamed rides in the original Added Attractions & Loopy Landscapes scenarios now use their official names from Rollercoaster Tycoon Classic.
- Improved: [#19000] Add sprite font glyph for the Won (₩).
- Improved: [#21441] Add sprite font glyph for the Hryvnia (₴).
- Improved: [#22500] LandSetHeightAction has now proper error message title.
- Improved: [#23872] Loading a park outside the game now sets the folder of the load/save window, as loading one in-game does.
- Improved: [#25362] When dragging footpaths, they will now properly adapt to uneven terrain.
- Improved: [#26099] The ride type selection cheat has been moved into the ride operations tab.
- Improved: [#26099] The ride visiblity cheat has been moved into the ride colour/appearance tab.
- Improved: [#26441, #26958] Change result.position.z of SmallScenery- and WallPlaceAction to match the actual position of the placed tile element.
- Improved: [#26862] Add a Liquid Glass app icon for macOS 26 and later.
- Improved: [#26931] The save prompt now bounces the macOS dock icon, flashes the Windows taskbar button and marks Linux windows urgent when it blocks quitting an unfocused game.
- Improved: [#26936] Rain is now drawn next to the top toolbar, but only when it is centred.
- Improved: [#26996] Ride names in scenarios can now be autopatched.
- Fix: [#7858] Dropdowns do not close when an action by a plugin or another player in multiplayer closes their parent window.
- Fix: [#15891] Lower case hard sign is drawn as upper case.
- Fix: [#18197] Track Designs Manager does not autoload scenery.
- Fix: [#18415] Preview in the Track Designs Manager is not updated after deleting the first design.
- Fix: [#18782] Dropdowns do not close and become non-functional when mouse is released outside of the game window.
- Fix: [#21632] [Plugin] Crash when loading custom image larger than 300 by 300 pixels.
- Fix: [#22854] Network connections of plugins pile up every time another park is loaded.
- Fix: [#24520] The close button does not use the sprite font on languages using a TTF font when the enlarged UI is enabled.
- Fix: [#24610] Graph tabs on Finances window get a little bit longer every time you switch between them.
- Fix: [#25169] The convert command strips custom objects from the resulting park.
- Fix: [#25496] The guest pickup button does not grey out when the guest’s state changes while the window is open.
- Fix: [#25558] [Plugin] Image buttons ignore their explicit border setting when a theme draws borders around them.
- Fix: [#26056] Freeze when trying to download all objects on save where they are missing.
- Fix: [#26802] Opening rides with 0 or -1 water cars per train crash the game.
- Fix: [#26811] Crash when a ride points to a non-existing station object.
- Fix: [#26816] Water rides ignore zero clearances, preventing adjacent terrain modifications and building them anywhere.
- Fix: [#26880] Max negative G-Force stat on flat track erroneously reads as 0.49g.
- Fix: [#26903] Making a ride visible or invisible is always denied in multiplayer.
- Fix: [#26917] Tile Inspector does not show indestructible track status correctly when ‘Make all track pieces destructible’ cheat is enabled.
- Fix: [#26921] The bottom panel buttons for finances, park rating, date, etc. are not invalidating properly.
- Fix: [#26935] Windows opened on the title screen do not ‘flash’ around the edges when bringing them back into focus.
- Fix: [#26938] [Plugin] Caret in textbox not animating or blinking.
- Fix: [#26954] Land paint price is not updated when selecting columns or rows of tiles by holding down Ctrl.
- Fix: [#26965] When showing missing objects, some types show up as ‘Unknown type’.
- Fix: [#26965] The window with missing objects is displayed under the ‘Load game’ window.
- Fix: [#26992] A partial or no car is drawn on the ride vehicle tab if the ride has 0 or fewer cars per train.
- Fix: [#26996] Correct spelling of some rides in Heide-Park, Diamond Heights and Alton Towers.
- Fix: [#26996] Scenario patch for Okinawa Coast doesn’t work for CD versions of Wacky Worlds (meaning landscape ownership fixes do not get applied).
- Fix: [#27004] Windows are moved off-screen when mouse is released outside of the game window.
- Fix: [#27023] [Plugin] Transparent plugin sprites do not work correctly in software rendering mode.
2026-09-06 11:28:06 +02:00
Gymnasiast 4a081c584c Update backtrace token for v0.5.5 2026-09-06 00:50:03 +02:00
Gymnasiast 9f9b14d0b8 Allow using arrays for ride ids in scenario patches 2026-09-04 22:06:42 +02:00
Max 29a15582c1 Fix #27023: Transparent plugin sprites do not work correctly in software rendering mode (#27025) 2026-09-01 22:14:48 +02:00
Harry Hopkinson 4be8013397 Refactor Guest.h members and EASTEREGG_PEEP_NAME to enum class (#27038) 2026-09-01 17:57:28 +02:00
Sjoerd de Bruin 3a50f2378f Fix #24520: close button ignores sprite font with enlarged UI (#27009)
* Fix #24520: close button ignores sprite font with enlarged UI

* Remove obsolete close button strings

STR_CLOSE_X and STR_CLOSE_X_WHITE have been unreferenced since 883845bcf9 moved the close button strings into Widget.h.
2026-08-31 06:34:15 -03:00
Aaron van Geffen 1452f71be9 Prune outdated pragma warning disable directives (#27028) 2026-08-31 07:42:37 +02:00
Harry Hopkinson 144aebc9df Convert contents of EntityTweener.h to camelCase (#27029) 2026-08-30 23:24:26 +02:00
Michael Steenbeek 9279d06590 Merge pull request #27016 from Gymnasiast/refactor/unicode-char-strong-enum-fix-warning
Convert UnicodeChar, CSChar and CodePage into strong enum, fix Clang-Tidy warnings
2026-08-30 20:26:01 +02:00
Sjoerd de Bruin f219737349 Fix #7858: dropdown stays open when its parent window is closed (#27027)
When the window that opened a dropdown was closed while the dropdown was still on screen, the dropdown was left behind with nothing to belong to. The input handler noticed the missing window and reset the input state, but never closed the dropdown itself.
2026-08-30 20:25:32 +02:00
RayKoopa 3e70c47a88 Fix UI misbehaviors when releasing mouse outside of game window (#27004)
- Dropdowns do not close and become non-functional when mouse is released outside of the game window.
- Windows are moved off-screen when mouse is released outside of the game window.
2026-08-30 15:16:00 +02:00
Basssiiie ad94483ff1 Allow getting and setting caret position for plugin textbox while it's in focus (#26938) 2026-08-30 12:35:30 +00:00
Sjoerd de Bruin fae5cf0f9d Fix #22854: network connections of plugins pile up when loading another park (#26928)
When a plugin is stopped, the game closes the sockets it left open, which raises their close handlers while the plugin still counts as running. By then its timers have already been cleaned up, so one registered from such a handler is never cleaned up at all. The plugin in the issue reconnects from that handler after five seconds, so the next park gets a second connection on top of the one the plugin makes when it starts, and every park load adds another.

A plugin that is stopping is now refused when it registers a timer or connects a socket, so neither a deferred nor an immediate reconnect can outlive the shutdown. Its handlers still run and still get the close event, so whatever clean-up they do synchronously is unaffected.
2026-08-30 12:19:30 +00:00
Harry Hopkinson 9adbdd643b Remove AddFuncs calls in ScObject.hpp (#26978) 2026-08-30 22:19:12 +10:00
Harry Hopkinson 0fb70602d3 Convert contents of EntityRegistry.h to camelCase (#27019) 2026-08-29 22:24:54 +00:00
Stephan Spengler c776757fb2 Fix #22500: LandSetHeightAction does not provide an error title (#27018) 2026-08-30 00:01:45 +02:00
Michael Steenbeek 4beb0ec8e0 Put lesser-used arguments to MapCanConstructWithClearAt() into a struct (#27010) 2026-08-29 23:49:35 +02:00
Aaron van Geffen 763d42cad7 Fix editor inadvertently showing the pause and fastforward buttons (#27021) 2026-08-29 23:48:51 +02:00
Aaron van Geffen 21e37e12f9 Rework EditorBottomToolbar into EditorStepController (#26961)
* Rename EditorBottomToolbar to EditorStepController

* Split off EditorStatusLine to its own window

* Simplify step/jump functions by making them static

* Split EditorStepController into two instances

* Resize new editor panels when game window is resized

* Move kEditorStepNames defs into EditorController to share between windows
2026-08-29 20:23:20 +00:00
Gymnasiast bb870ce4fa Turn CodePage into a strong enum 2026-08-29 18:16:01 +02:00
Gymnasiast db9ab61b28 Turn CSChar into a strong enum, rename for codestyle 2026-08-29 18:16:00 +02:00
Gymnasiast abcc8f90ca Turn UnicodeChar into a strong enum, rename for codestyle 2026-08-29 17:53:04 +02:00
Gymnasiast 9d59ed34dd Close #21441: Add sprite font glyph for the Hryvnia (₴) 2026-08-29 15:48:19 +02:00