1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-18 12:33:17 +01:00
Commit Graph

2692 Commits

Author SHA1 Message Date
Tulio Leao
309e1acde4 Merge pull request #24768 from tupaschoal/sv-se_nsis
Add Swedish and Spanish translations to NSIS installer
2025-07-16 17:35:56 -03:00
Aaron van Geffen
11ae2371ea Smooth map based on inferred PNG image size, not leftover setting (#24782) 2025-07-16 20:42:54 +02:00
Tulio Leao
12cf96b9d0 Add Spanish translations to NSIS installer 2025-07-15 06:46:57 -03:00
Tulio Leao
56a42882c2 Add Swedish translations to NSIS installer 2025-07-15 06:46:57 -03:00
mix
3ce25e9741 Add changelog entry for scenery and new ride window filter fixes 2025-07-14 16:51:36 +01:00
mix
fe5a47c6b1 Fix new ride window authors (#24773) 2025-07-16 13:07:39 +02:00
Aaron van Geffen
ba13285784 Fix changelog entry for #24730 2025-07-15 17:07:31 +02:00
Aaron van Geffen
ec0f4126b0 Let security guards alternate between slow and fast walking (#24730)
* Let security guards alternate between slow and fast walking

* Alternate based on amount of nearby guests instead

* Optimise loop to exit early once threshold has been reached

* Only count walking guests for security crowdedness

* Update replay bundle to v0.0.89

* Update NetworkBase.cpp
2025-07-15 10:02:37 +00:00
Jan Strauss
0522ae848b Add award plugin APIs (#24468)
* Add award plugin apis

* Address review feedback (use erase_if, extract AwardAdd method)

* Address review feedback (remove redundant comments, make AwardAdd static)

* Address review feedback (bump plugin api version, add changelog entry)
2025-07-13 07:04:26 -03:00
Michael Steenbeek
6ac5bd3ccc Add Arabic translations to NSIS installer 2025-07-12 19:47:22 +02:00
Cory Sanin
7217558ad1 openrct2.d.ts style fixes 2025-07-09 08:59:38 +02:00
Cory Sanin
65b5d86e6c Feature: [Plugin] Add bindings for missing cheats
Added the following binds for completeness:
- ignoreRidePrice
- makeAllDestructible
- forcedParkRating*

`allowSpecialColourSchemes` was missing from the type definition file so I added that as well.

\*forcedParkRating required a little more logic than the boolean cheats and I added some safeguards to prevent setting invalid values
2025-07-08 09:18:25 +02:00
Gymnasiast
5d0a967c9f Start 0.4.25 2025-07-05 19:09:06 +02:00
Gymnasiast
8592e6b877 Release v0.4.24
- Feature: [#24411] Vanilla scenarios now also have previews in the scenario selection window.
- Feature: [#24616] Add ability to scroll map with gamepad sticks.
- Feature: [#24662] Add optional screenshot argument for Z coord.
- Improved: [#22684] The limit of 2000 animated tile elements has been removed.
- Improved: [#23228] Landscape edge doors now animate opening and closing and play a sound.
- Improved: [#24026] Notification settings have been made into a tab of the Recent Messages window.
- Improved: [#24569, #24710] Add ten additional translations to the Windows installer.
- Change: [#24559] Scenario options are now disabled rather than hidden when disabling money makes them non-applicable.
- Change: [objects#383] Disable all base colours on non-remappable WWTT vehicles, change black to light_blue.
- Change: [objects#384] Remove erroneously enabled WWTT third remaps.
- Removed: [#24628] “Pause game when Steam overlay is open” feature (already broken for a long time).
- Removed: [#24640] Grouping by difficulty (instead of per campaign) in the scenario selector.
- Fix: [#15846] Rightclicking on track piece when there is construction below does not work.
- Fix: [#16176, #23113] Animated tile elements do not always redraw when there is over 2000.
- Fix: [#17365] The slope of new land surfaces is only correct on one side when shifting and resizing the map.
- Fix: [#18080] Obsolete official .DAT files can be loaded accidentally.
- Fix: [#21703] Scenery wall doors get stuck open if the game is saved and loaded whilst they are open.
- Fix: [#24456] Zoomed out vehicles on the ride window tab can sometimes draw incorrectly.
- Fix: [#24458] Vehicles in the ride window vehicle tab are offset differently than vanilla RCT2, and the sprites are cut off at the bottom.
- Fix: [#24576] It is possible to edit open rides in certain circumstances.
- Fix: [#24589] Music tab doesn’t fully render in multiplayer.
- Fix: [#24615] Blank strings in Windows installer.
- Fix: [#24617] ‘Divide by zero’ error when updating boat hire acceleration.
- Fix: [#24626] Viewports that only follow sprites (e.g. in the Ride and Guest windows) can be made to unfollow them.
- Fix: [#24661] `convert` console command always crashes with a segmentation fault.
- Fix: [#24666] `convert` console command rejects files with an SV7 extension.
- Fix: [objects#388] ‘Italian Police Ride’ has a non-functional first remap colour.
2025-07-05 17:56:24 +02:00
Gymnasiast
8fc7f59182 Update to objects version v1.7.1 2025-07-05 12:53:21 +02:00
Michael Steenbeek
984c251172 Fix changelog entry for #20095
[ci skip]
2025-07-03 23:35:08 +02:00
Michael Steenbeek
0b2ca08180 Add #24710 to changelog
[ci skip]
2025-07-03 23:20:05 +02:00
Michał Janiszewski
763242b14d Add ability to scroll the map with gamepad stick 2025-07-03 22:48:59 +02:00
Michael Steenbeek
9fcbac56bb Revert "Close #1787: Replace blood-curdling scream with regular roller coaster screams" (#24716)
This reverts commit f176b27076.
2025-07-03 21:36:55 +02:00
Michael Steenbeek
f176b27076 Close #1787: Replace blood-curdling scream with regular roller coaster screams 2025-07-03 17:30:59 +02:00
Gymnasiast
86b2b16f64 NSIS: Add Czech translation 2025-07-02 15:28:07 +02:00
Ríša Szlachta
2e6cb2fb6f cs-CZ: Add translation to Flathub package 2025-07-01 17:37:19 +02:00
Michael Steenbeek
2815d1958c Fix #18080: Obsolote .DAT objects can be loaded accidentally 2025-06-26 10:57:40 +00:00
Michael Steenbeek
3a09063f58 Merge pull request #24666 from Gymnasiast/fix/24661
Fix #24661: convert console command always crashes with a segmentation fault
2025-06-24 14:00:17 +02:00
Michael Steenbeek
f9b132e24d Remove sorting by difficulty in the scenario selector
This is barely used, complicates the scenario selector and Options window, and will get in the way when adding RCTC and custom campaign support. Time to remove it.
2025-06-24 10:53:26 +00:00
Gymnasiast
f5acd2ba24 Fix: convert console command rejects files with an SV7 extension 2025-06-24 01:01:50 +02:00
Gymnasiast
f7612d56d0 Fix #24661: convert console command always crashes with a segmentation fault 2025-06-24 01:00:27 +02:00
Cory Sanin
6fc950d38f Feature: Add optional screenshot argument for Z coord 2025-06-24 00:19:24 +02:00
Michael Steenbeek
0e015264ae Land edge door animations (#24621)
* Add RCT1 land edge door map animations

* Only animate landscape edge doors if door exists

* Move Vehicle::UpdateLandscapeDoorA function

* Merge Vehicle::UpdateLandscapeDoor functions

* Only animate land edge doors if track is below surface height

* Play door sounds for land edge doors

* Add changelog entry for landscape edge door animations
2025-06-20 16:35:54 +02:00
Michael Steenbeek
c000b93be6 Add first translations batch to NSIS 2025-06-20 12:23:42 +02:00
Michał Janiszewski
68914ea79a Prevent unfollowing vehicles in viewports other than main
Some viewports, like the one in the guest window or the ride window, are
solely for the purpose of following a sprite. User could still try
RMB-dragging in those windows, which would result in the viewport no
longer following the sprite, but also not scrolling and simply getting
stuck at whatever the latest position was. This change prevents allowing
those viewports from unfollowing a sprite.
2025-06-19 00:31:30 +02:00
Michał Janiszewski
aa519879a7 Fix #24617: Prevent hired boat with 0 speed causing division by 0 2025-06-18 23:38:15 +02:00
Michał Janiszewski
cf72933aa5 Fix #24589: Ride's music tab doesn't redraw in multiplayer
Trigger an invalidation of the window when actually executing the
command.
2025-06-18 23:36:00 +02:00
Michael Bernardi
b72e2e1c98 Clear stale scenario repo pointers during language change. 2025-06-17 22:42:18 +10:00
Michael Steenbeek
1222670320 NSIS: disable languages without translations 2025-06-16 21:19:09 +00:00
Michał Janiszewski
0e9982d6ca Drop "Pause game when Steam overlay is open" feature
As shown in https://github.com/OpenRCT2/OpenRCT2/pull/24618, the steam
overlay feature doesn't work well and can cause jarring user experience
in some scenarios. It is only supported in the software renderer and
with code moving steadily to OpenGL, the time has come to remove a
broken feature.
2025-06-16 21:57:56 +02:00
mix
9e84dc809a Add changelog entry for landscape edge door animations 2025-06-14 22:29:21 +01:00
mix
5e6adfa36c Add changelog entries for refactored map animations 2025-06-13 21:55:28 +01:00
mix
a12cf878fa Fix #17365: Surface slope wrong on x axis when expanding map size 2025-06-11 14:02:42 +02:00
Aaron van Geffen
dac097ce64 Rework news options into one tab in the news window 2025-06-10 21:13:05 +00:00
Aaron van Geffen
ec3f9d1272 Disable scenario options rather than hiding them (#24559) 2025-06-10 20:05:06 +00:00
mix
6d1b8eba48 Fix ride window vehicle tab crop, position, zoomed out glitching 2025-06-10 19:29:25 +00:00
mix
64e5602d60 Fix right click ride construction bugs when ghost track on same tile 2025-06-10 20:35:43 +02:00
Aaron van Geffen
b9e2ac9689 Add changelog entries 2025-06-02 22:45:48 +02:00
Tulio Leao
a9b51ad3b2 Fix missing version separator on changelog 2025-06-07 06:21:29 -03:00
Tulio Leao
74925bba43 Start v0.4.24 2025-06-07 06:16:14 -03:00
Tulio Leao
b8d73b523c Release v0.4.23
- Feature: [#22476] “Time since last inspection” statistic is available in the rides window.
- Feature: [#24313] [Plugin] Add API for setting a ride vehicle’s sprite to a smoke plume.
- Improved: [#24345] Vehicle fallback sprites are less likely to glitch with the track.
- Improved: [#24362, #24491] The Windows installer is now translated as well.
- Improved: [#24364] Improve the fallback vehicle sprites for Zero G Rolls, and allow small ones to be built without cheats if the fallbacks are available.
- Improved: [#24368] Clicking the in-game update notication now leads to a more user-friendly download page.
- Improved: [#24400] Ride list in preservation window is now sorted alphabetically.
- Improved: [#24409] Steam installs of RCT Classic are now detected automatically.
- Improved: [#24413] Better performance when moving the viewport on Windows and Linux platforms.
- Improved: [#24417] Improve the fallback vehicle sprites for Dive Loops.
- Improved: [#24433] The ride, new ride, scenery, path, viewport, park and tool windows no longer redraw every frame if they have not changed.
- Improved: [#24467] Apply tweening only to on-screen entities when not zoomed out for better performance with uncapped FPS.
- Improved: [#24474] More efficiently search viewports when playing Audio.
- Improved: [#24479] More descriptive error messages for `set` commands in the in-game console.
- Improved: [#24563] The Linux .desktop file will now request the more powerful dedicated GPU on hybrid graphics systems.
- Change: [#24342, #24484] g2.dat is now split into g2.dat, fonts.dat and tracks.dat.
- Change: [#24362] The Windows installer now prevents installing to the same folder as RollerCoaster Tycoon 2 or Classic.
- Change: [#24418] Small & Large Zero G Rolls can now be built on the LIM Launched RC without cheats if vehicle sprites are available.
- Fix: [#5269] Font bugs when using the Russian release of RCT2 as the base game.
- Fix: [#11071, #22958] The virtual floor does not always draw correctly.
- Fix: [#18220] Some custom RCT1 scenarios are detected as competition DLC scenarios.
- Fix: [#20095] UCES Halloween - Cemetery Ridge scenario has mismatched entrance/exit on haunted house.
- Fix: [#20158] Custom animated scenery .DATs with frame offsets draw a random sprite at the end of their animation.
- Fix: [#22628] Potential crash while rebuilding the scenario index.
- Fix: [#23289] Dodgems and Flying Saucer cars can spawn on top of each other when the ride is opened.
- Fix: [#24332] Banner font renders differently when using RCT Classic as the base game.
- Fix: [#24343] Large gently sloped turns are buildable without cheats when the vehicles do not have sprites for them.
- Fix: [#24346] Possible crash during line drawing in OpenGL mode.
- Fix: [#24353] ‘Show dirty visuals’ is off by one pixel and does not work correctly with higher framerates.
- Fix: [#24362] When upgrading from an older version on Windows, old versions of official objects are not always removed.
- Fix: [#24366] Zero G Rolls have some incorrect vehicle yaw rotations.
- Fix: [#24371] Fix divide by zero in the scenery window when there is no scenery.
- Fix: [#24378] Prevent ride and stall statistics from overflowing.
- Fix: [#24388] Shortcut keys are not localised based on the user’s language settings.
- Fix: [#24403] Park fences draw underneath and through opaque water.
- Fix: [#24406] The network status window uses an undefined string for its title.
- Fix: [#24444] In the object load error window, the guide text overlaps when the title bar is enlarged.
- Fix: [#24446] [Plugin] Fix regression breaking the track iterator on specific track pieces.
- Fix: [#24447] Shortcut list is not refreshed when changing language.
- Fix: [#24448] Shortcuts involving the Caps Lock key are wrongly localised to NumPad Dot.
- Fix: [#24464] Window and viewport visibility is not calculated correctly causing minor performance issues.
- Fix: [#24488] Objects are not always redrawn immediately when they are reloaded from the Object Selection window.
- Fix: [#24544] RCT1 Maze designs with wooden walls are not imported correctly.
- Fix: [#24567] Long flat-to-steep wooden mine support sprites don't connect to flat supports exactly.
2025-06-07 05:46:48 -03:00
Michael Steenbeek
f9c753e99b Fix version info of NSIS installer 2025-06-07 10:39:34 +02:00
mix
0d9c585379 Fix flat to steep wooden mine supports not connecting to flat supports 2025-06-06 21:02:51 +02:00
Michael Steenbeek
92db8a9d78 Linux: add .desktop hint to request discrete GPU (#24563)
This hint was added in v1.4 of the spec and supported by GNOME (since 2020) and KDE (since 2021) and is intended for systems with hybrid graphics. It tells the system to launch the application on the more powerful discrete GPU as opposed to the more energy efficient integrated graphics.

Systems like this (e.g. the Optimus laptops) are the spawn of Satan, but this makes the experience much more enjoyable for the poor users with a system like this.

Reference: https://specifications.freedesktop.org/desktop-entry-spec/latest/recognized-keys.html
2025-06-04 20:46:54 +02:00