Commit Graph
30597 Commits
Author SHA1 Message Date
Michael Steenbeek c3a2fe508f Move screen and line functions out of Drawing.{cpp,h} (#27079)
* Move stuff that affects the whole screen/viewport out of Drawing.{cpp,h}

* Move line drawing stuff into Line.{cpp.h}

* Move ImageId::GetCatalogue() out of Drawing.cpp

* Move GfxFilterPixel to Rectangle.cpp
2026-09-07 21:41:30 +02: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
Michael Steenbeek ef7707a9df Merge pull request #27073 from Gymnasiast/refactor/palette-stuff-2
Move game palette-related stuff into Palette.{cpp.h}
2026-09-06 18:55:55 +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
Gymnasiast e70f51a68e Add changelog entry for #27052
[ci skip]
2026-09-06 14:03:24 +02: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 ee15855bf3 Start v0.5.6 2026-09-06 12:37:56 +02:00
Gymnasiast d1ec88619d Merge branch 'master' into develop 2026-09-06 12:37:22 +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 3ae38cf3d7 Merge branch 'develop' 2026-09-06 11:22:47 +02:00
OpenRCT2 git bot 96a6638263 Merge Localisation/master into OpenRCT2/develop 2026-09-06 04:05:21 +00:00
Gymnasiast bf1c99fad5 Small rewording in changelog 2026-09-06 00:50:52 +02:00
Gymnasiast 4a081c584c Update backtrace token for v0.5.5 2026-09-06 00:50:03 +02:00
Gymnasiast 99cdd3892a Fix unlocalised names in Wacky Worlds 2026-09-04 22:30:43 +02:00
Gymnasiast 6d06f9a15e Fix unlocalised names in RCT2 base 2026-09-04 22:30:42 +02:00
Gymnasiast 9f9b14d0b8 Allow using arrays for ride ids in scenario patches 2026-09-04 22:06:42 +02:00
OpenRCT2 git bot f1faf90ed4 Merge Localisation/master into OpenRCT2/develop 2026-09-03 05:10:09 +00: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
OpenRCT2 git bot ff9dc55921 Merge Localisation/master into OpenRCT2/develop 2026-09-01 04:05:37 +00: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
OpenRCT2 git bot 01b4f05421 Merge Localisation/master into OpenRCT2/develop 2026-08-31 04:05:56 +00: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
Michael Steenbeek 4fa8219e1f Small changelog correction
[ci skip]
2026-08-30 13:10:02 +02:00
OpenRCT2 git bot 69c8522d43 Merge Localisation/master into OpenRCT2/develop 2026-08-30 04:05:04 +00:00
Harry Hopkinson 0fb70602d3 Convert contents of EntityRegistry.h to camelCase (#27019) 2026-08-29 22:24:54 +00: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
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