Commit Graph
30527 Commits
Author SHA1 Message Date
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
OpenRCT2 git bot 9d502af244 Merge Localisation/master into OpenRCT2/develop 2026-08-28 06:32:16 +00: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
Harry Hopkinson 35898a258c Refactor TRACK_ELEMENT_*_MASK and ObjectSelectionFlag to constexpr/enum class (#26986) 2026-08-27 17:30:36 +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
Aaron van Geffen 63a787c2ae Guard bottom toolbar resizing to prevent nullptr deref (#26994) 2026-08-26 11:02:47 +00:00
Michael Steenbeek 79be249f71 Remove dead code testing for ImageIndex -2 (#26993)
Closes #18124.
2026-08-26 12:47:21 +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
WisdomK-ROK 341d3b834a Fix PaletteMap.cpp compilation in debug mode (#26989) 2026-08-26 10:50:44 +02:00
Harry Hopkinson f66c153a10 Replace SDL.h headers with SDL sub headers (#26990) 2026-08-25 17:25:40 +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
Michael Steenbeek 99b16bc638 Merge pull request #26979 from Gymnasiast/refactor/track-design-preview-map-size
Rename some constexpr to adhere to code style
2026-08-23 20:19:30 +02:00
Gymnasiast bc834240fd Rename SCALE and PI_SCALED to kScale and kScaled 2026-08-23 19:14:09 +02:00
Gymnasiast f10a778c7a Rename MIN_TILE_ELEMENTS to kMinTileElements 2026-08-23 19:14:09 +02:00
Gymnasiast e9b9979ee3 Rename NUM_HookTypeS to kHookTypeCount 2026-08-23 19:08:05 +02:00
Gymnasiast 19e2404ac2 Rename SYNCHRONISED_VEHICLE_COUNT to kSynchronisedVehicleCount 2026-08-23 19:07:16 +02:00
Gymnasiast d611a7d560 Rename TRACK_NEARBY_SCENERY_DISTANCE to kTrackNearbySceneryDistance 2026-08-23 19:06:47 +02:00
Gymnasiast 65dfdd3030 Rename MASK_SIZE to kMaskSize 2026-08-23 19:06:15 +02:00
Gymnasiast a5edcd5780 Rename RCT1ResearchFlagsSeparator to kRCT1ResearchFlagsSeparator 2026-08-23 19:05:42 +02:00
Gymnasiast 7a855d8c3b Rename RCT2ToOpenRCT2LanguageId to kRCT2ToOpenRCT2LanguageId 2026-08-23 19:05:03 +02:00
Gymnasiast 00df3c16b7 Rename TRACK_DESIGN_PREVIEW_MAP_SIZE to kTrackDesignPreviewMapSize 2026-08-23 19:01:43 +02:00
Fatma Desoky 146a7427a3 Refactor FontStyle constants to kCamelCase (#26974) 2026-08-23 14:54:04 +00:00
Gymnasiast dc6fd8a913 Do not reload ride type to ride entry map unless actually loading a ride object 2026-08-23 16:44:33 +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
OpenRCT2 git bot 1557aca820 Merge Localisation/master into OpenRCT2/develop 2026-08-23 04:12:32 +00:00
Michael Steenbeek e356b3cae6 Update reference to Duktape in readme.txt 2026-08-23 00:34:19 +02:00
Fatma Desoky 3dd304a8d5 Merge pull request #26972 from fasma-oO/fasma-contribution
Rename Trigonometry constants to kCamelCase
2026-08-22 22:25:41 +02:00
Michael Steenbeek 2e7cb6c4bf Merge pull request #26970 from Gymnasiast/refactor/pickup-peep
Move pickup peep drawing into its own files
2026-08-22 18:41:05 +02:00
Gymnasiast aa65346003 Refactor pickup peep into namespace, hide globals, use ScreenCoordsXY 2026-08-22 13:19:22 +02:00
Gymnasiast 1f76487769 Move gPickupPeep* to PickupPeep.{cpp,h} 2026-08-22 12:55:46 +02:00
Michael Steenbeek f66c0a65f9 Move PaletteMap implementation to PaletteMap.cpp (#26969) 2026-08-22 11:19:36 +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
Michael Steenbeek 3dc5a1a7ef Merge pull request #26965 from Gymnasiast/fix/object-load-error-stuff
Two small fixes for the Object Load Error window
2026-08-21 20:56:33 +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
OpenRCT2 git bot d005dda508 Merge Localisation/master into OpenRCT2/develop 2026-08-21 04:28:40 +00:00
Michael Steenbeek 2449e06d9c Merge pull request #26955 from tupaschoal/future_hang_download_all
Fix #26056: Freeze when trying to download all objects on save where they are missing
2026-08-20 20:42:06 +02:00
Tulio Leao 44b178e30f Make all places returning std::async [[nodiscard]] 2026-08-20 20:35:45 +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
Stephan Spengler c34fee484a Fix result.position.z of WallPlaceAction (#26441) 2026-08-20 08:53:50 +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
Sjoerd de Bruin 3768b08999 Request user attention when the save prompt blocks quitting (#26933)
Quitting OpenRCT2 from outside the game, e.g. from the dock or the taskbar, from another application, or on session logout, leaves the window in the background, so the save prompt opens behind whatever the user is actually looking at with nothing to indicate that the game is waiting on an answer.

SavePromptOpen() now asks the UI context for attention when an OS quit request opens the prompt while the window is unfocused. The other prompt modes follow a click in the game, so they cannot arrive unfocused. SDL maps this to a bouncing dock icon on macOS, a highlighted taskbar button on Windows, the urgency hint on X11 and a serial-less xdg-activation request on Wayland.
2026-08-19 17:42:09 +00:00
Harry Hopkinson 6b2fb43861 Move interface types from Location.hpp to ScreenCoords.hpp (#26945) 2026-08-19 19:20:50 +02:00
Sjoerd de Bruin ac926d5550 Fix #23872: Set load/save folder for parks loaded outside the game (#26927)
A park loaded through a file association or the command line never passes the load/save window, so that window kept opening in the folder from a previous session.
2026-08-19 17:39:46 +02:00