Commit Graph
3169 Commits
Author SHA1 Message Date
MarcelVos96 1cc42279dc Remove red for negative Gs (#27100) 2026-09-12 16:42:27 +00:00
RayKoopa 6ab43acb35 Add missing PermissionType "drag_path_area" (#27084)
- Also add note to NetworkAction's kActions array about syncing permission names with it.
2026-09-12 16:31:35 +00:00
Gymnasiast 6e0d62b403 Fix #1514: Wrong capitalisation for descriptions in Guest List 2026-09-12 18:05:51 +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
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
Gymnasiast ced6f35f9f Move changelog entry for #27056 to correct place
[ci skip]
2026-09-11 22:11:26 +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
Sjoerd de Bruin b8a5e2431c Fix #26754: Guard stale hover widget index when switching window pages (#27086) 2026-09-07 17:51:20 -03: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
Gymnasiast e70f51a68e Add changelog entry for #27052
[ci skip]
2026-09-06 14:03:24 +02:00
Gymnasiast ee15855bf3 Start v0.5.6 2026-09-06 12:37:56 +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 bf1c99fad5 Small rewording in changelog 2026-09-06 00:50:52 +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
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
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
Michael Steenbeek 4fa8219e1f Small changelog correction
[ci skip]
2026-08-30 13:10:02 +02:00
ZeeMaji b92dd1d78c Use RCTC ride names in RCT1 scenarios (#27017)
Many rides in RCT1AA and especially RCT1LL scenarios were originally unnamed, however when these scenarios were ported to RCTC many of these previously unnamed rides were given official names. This PR simply backports all of those names to the original RCT1AA/LL scenarios via scenario patches.
2026-08-29 22:10:23 +00:00
Stephan Spengler c776757fb2 Fix #22500: LandSetHeightAction does not provide an error title (#27018) 2026-08-30 00:01:45 +02:00
Gymnasiast 9d59ed34dd Close #21441: Add sprite font glyph for the Hryvnia (₴) 2026-08-29 15:48:19 +02:00
Gymnasiast a0840b2a71 Close #19000: Add sprite font glyph for the Won 2026-08-29 15:10:44 +02:00
Gymnasiast 52a684a0da Fix #15891: Add lower case hard sign 2026-08-29 14:52:32 +02:00
Gymnasiast 7aca955172 Extend scenario patch for Okinawa Coast to CD version 2026-08-28 20:46:20 +02:00
Gymnasiast 7a6a02e35c Patch Alton Towers to correct spelling of ‘Hex... the Legend of the Towers’ 2026-08-28 20:45:44 +02:00
Gymnasiast 0ea046196d Patch Diamond Heights to correct spelling of ‘Doppelgänger’ 2026-08-28 20:45:44 +02:00
Gymnasiast f5a3ff521d Patch Heide-Park to correct some names 2026-08-28 20:45:44 +02:00
Gymnasiast d687a06a22 Add scenario patching feature to rename rides 2026-08-28 20:45:44 +02:00
Sjoerd de Bruin e16a74030d Fix #18415: Preview in Track Designs Manager not updating after a delete (#27003) 2026-08-28 07:32:23 +02:00
RayKoopa bcdb769cfd Fix #26802: Splash Boats draw recursion (#26991)
Fixes #26802 

Skips drawing for 0 or -1 cars per train for `VehiclePaintStyle::splashBoatsOrWaterCoaster` that caused the recursion since they would be invisible anyway even if the recursion would be detected.

Tested with 0, -1, and normal amount of cars per train and various numbers of trains. Everything looks fine, and 0 and -1 cars per ride simply draw nothing now.
2026-08-27 17:17:24 +02:00
RayKoopa 1e8d8707c0 Fix partial/no car drawn on vehicle tab if ride has <1 cars per train (#26992)
Always draw first non-zero car to ensure RideEntryGetVehicleAtPosition returns a non-empty / meaningful sprite.
2026-08-26 14:16:00 +02:00
Michael Steenbeek 31004bbf33 Fix #24610: Graph tabs on Finances window get a little bit longer every time you switch between them (#26976) 2026-08-26 10:54:04 +02:00
Michael Steenbeek d7bba3b92e Merge pull request #26975 from Gymnasiast/fix/18197
Fix #18197: Track Designs Manager does not autoload scenery
2026-08-24 21:53:35 +02:00
Gymnasiast d414239d5b Fix #18197: Track Designs Manager does not autoload scenery 2026-08-23 16:43:19 +02:00
dumpster000 4872effb80 Make vehicle subposition writable in API (#26971)
* add vehicle subposition setter

* declare vehicle subposition setter

* subposition writable in api

* plugin API version

* fix format

* Add bounds checking

* fix formatting
2026-08-24 00:35:46 +10:00
Michael Steenbeek e356b3cae6 Update reference to Duktape in readme.txt 2026-08-23 00:34:19 +02:00
frozensnowy 7cc48f5c14 Close #25362: Dragged footpaths over hills are disconnected (#25913)
When using the "drag to place" footpath tool over uneven terrain, paths are now automatically connected with appropriate slopes instead of being placed as disconnected flat tiles.  The algorithm works in three phases, first it gathers terrain height along the drag axis, then it filters out obstacles like spiked terrain (isolated height jumps), lastly it builds the path tiles with slopes to bridge height differences

Only applies when neither Shift nor Ctrl is pressed.
2026-08-21 22:07:27 +02:00
Gymnasiast 4fdcae5092 Fix: The window with missing objects is displayed under the ‘Load game’ window 2026-08-21 20:46:16 +02:00
Gymnasiast 54b7abd25a Fix: When showing missing objects, some types show up as ‘Unknown type’ 2026-08-21 20:37:57 +02:00
Stephan Spengler 7bf6a4b4fb Fix result.position.z of SmallSceneryPlaceAction (#26958)
Adds a changelog that also references #26441
2026-08-21 08:30:23 +02:00
Tulio Leao 4cce29b5a9 Fix #26056: Freeze when trying to download all objects on save where they are missing 2026-08-20 20:35:45 +02:00
Sjoerd de Bruin 34762ceb81 Fix #25558: plugin buttons ignore an explicitly set border (#26925)
Themes that draw borders around image buttons also added one to buttons created by plugins, even when the script had explicitly asked for no border.
2026-08-20 19:11:30 +02:00
Tulio Leao 911afdbd6e Fix changelog broken by #26954 (#26956) 2026-08-19 22:03:57 -03:00
RayKoopa d1ea87512f Fix land paint price not updating when holding Ctrl (#26954) 2026-08-20 00:06:17 +02:00