1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-10 09:32:29 +01:00
Commit Graph

27736 Commits

Author SHA1 Message Date
Gymnasiast
1c1b6d4b26 Release v0.4.20
- Feature: [#22905] Add diagonal downward-inclined brakes to hybrid coaster and single rail coaster.
- Feature: [#23759] Add see-through option to the “Cut-away View“.
- Improved: [#23677] Building new ride track now inherits the colour scheme from the previous piece.
- Improved: [#23720] Text fields now allow cutting to clipboard (Ctrl+X) in addition to copy and paste.
- Improved: [#23874] The load/save file browser window now uses icons for its action buttons.
- Improved: [#23875] Rides forbidden to be modified or destroyed can now be edited with the All destructible cheat.
- Improved: [#23879] Unique weather icons for snow, heavy snow and blizzard.
- Fix: [#1972, #11679] Vehicles passing by toilets can cause them to glitch (original bug).
- Fix: [#9999, #10000, #10001, #10002, #10003] Truncated scenario strings when using Catalan, Czech, Japanese, Polish or Russian.
- Fix: [#14486] Guests will fall through upwards sloped paths when making their way through a park entrance or ride exit (original bug).
- Fix: [#15826, #23835] Wooden Roller Coaster steep turn supports glitch when train goes over them (original bug).
- Fix: [#16357] Chairlift station covers draw incorrectly.
- Fix: [#16657] Mine Ride right S-bend uses Mini Roller Coaster sprite (original bug).
- Fix: [#18376] Ghost train gentle to flat track is not visible in tunnels.
- Fix: [#18389] Gentle sloped track pieces are not visible in low clearance height tunnels (original bug).
- Fix: [#18423] Underground Mini Golf holes can draw over land edges (original bug).
- Fix: [#18433] CJK TrueType fonts cannot be located when font names are translated by the OS.
- Fix: [#18436] Scenery on the same tile as steep to vertical track can draw over the track (original bug).
- Fix: [#18711] Park entrances with their sides underground can cause glitching.
- Fix: [#20848] Junior Roller Coaster booster track does not draw correctly in tunnels.
- Fix: [#20948] Incorrect diagonal brakes supports on the Giga Coaster, Looping Roller Coaster and Wooden Roller Coaster.
- Fix: [#21768] Dirty blocks debug overlay is rendered incorrectly on high DPI screens.
- Fix: [#22229] Opening a park save file from a newer version of OpenRCT2 yields an unhelpful error message.
- Fix: [#22617] Sloped Wooden and Side-Friction supports draw out of order when built directly above diagonal track pieces (original bug).
- Fix: [#22620] Mine Train Coaster trains glitch on large banked turns.
- Fix: [#23522] Diagonal sloped Steeplechase supports have glitched sprites at the base.
- Fix: [#23580] Table header labels may overlap if the window is made very small.
- Fix: [#23641] Steep to flat track is not drawn correctly in tunnels (original bug).
- Fix: [#23795] Looping Roller Coaster vertical loop supports are drawn incorrectly.
- Fix: [#23797] 3D Text cut off too early on multi-line signs.
- Fix: [#23809] Trains glitch on Bobsleigh Coaster small helixes.
- Fix: [#23811] Land edges glitch when vehicles go through gentle to flat tunnels.
- Fix: [#23814] Scenarios not indexed on first start.
- Fix: [#23818] Spinning tunnels can draw over sloped terrain in front of them.
- Fix: [#23828] Vehicles passing by station entrances and exits can cause them to glitch (original bug).
- Fix: [#23831] Hybrid Coaster large gentle banked right turns glitch when diagonal track is above them.
- Fix: [#23832] Hybrid Coaster large gentle banked left turns supports glitch as train passes.
- Fix: [#23836] Adjacent track can draw over large turns (original bug).
- Fix: [#23858] LSM launched lift hill has a misaligned sprite.
v0.4.20
2025-02-25 17:52:10 +01:00
Gymnasiast
51403b108e Merge branch 'develop' 2025-02-25 17:48:26 +01:00
Gymnasiast
af75011a66 Update backtrace token for v0.4.20 release 2025-02-25 17:48:04 +01:00
OpenRCT2 git bot
0af3c2eefd Merge Localisation/master into OpenRCT2/develop 2025-02-25 04:02:33 +00:00
73
a976a43708 Rename network.h to Network.h (#23882) 2025-02-24 10:43:06 +01:00
OpenRCT2 git bot
c1f25d6dad Merge Localisation/master into OpenRCT2/develop 2025-02-24 04:02:15 +00:00
OpenRCT2 git bot
077719cc84 Merge Localisation/master into OpenRCT2/develop 2025-02-23 04:02:15 +00:00
Michael Steenbeek
ad80e4978f Fix #20948: Incorrect diagonal brakes supports 2025-02-22 22:51:42 +01:00
Aaron van Geffen
a8a3432f31 Add new sprites for snow weather types (#23879)
Co-authored-by: ZeeMaji <42477864+ZeeMaji@users.noreply.github.com>
2025-02-22 19:30:26 +00:00
Aaron van Geffen
aa33728951 Add toolbar to file browser (#23874)
* LoadSave: turn text buttons into icons

* Remove unused strings; add parent button tooltip

* Adjust minimum window size to prevent overly small browsers

* Draw table headers using DrawTextEllipsised to account for long labels

* Amend changelog
2025-02-22 18:20:47 +00:00
mix
a69390cde4 Allow editing of indestructible rides when the ‘make all destructible’ cheat is enabled 2025-02-22 17:55:14 +01:00
Aaron van Geffen
cb3dd87943 Drop unused parameter from GetLegacyPeepAnimationObjects (#23877) 2025-02-22 16:52:41 +00:00
Aaron van Geffen
5561c53bd3 Split FileBrowser and OverwritePrompt from LoadSave unit (#23851)
* Split FileBrowser and OverwritePrompt from LoadSave unit

* Introduce FileBrowser::OpenPreferred

* Refactor FileBrowser::GetTitleStringId into its own function

* Rewrite OpenSystemFileBrowser using designated initalisers

* Rename dateModified, dateFormatted, timeFormatted properties
2025-02-22 17:22:27 +01:00
mix
76974578b3 Fix #23867: Crash when viewing 2 line 3D signs with 16 spaces 2025-02-22 14:38:06 +01:00
David Sungaila
081a2f44d9 Add see-through option to the "Cut-away View" (#23759) 2025-02-22 11:09:32 +01:00
OpenRCT2 git bot
be11e609a2 Merge Localisation/master into OpenRCT2/develop 2025-02-22 04:02:12 +00:00
Briar
e664bcebb6 Fix #18433: TTF fonts can not be located when font names are translated
The issue here is that fontconfig may report the name of a given
font face in a language specified by the current locale, while the
OpenRCT2 font code checks the result against an English name.

This fix addresses the issue by temporarily changing the environment
LANG variable to use the default C locale, which should guarantee
English/ASCII names are returned by fontconfig. It uses an RAII
mechanism to ensure that the modified environment variable is restored
to its original value on exiting GetFontPath.
2025-02-21 15:16:20 +00:00
matheusvb3
a62562dcf8 Add Ctrl+X (cut) command and numpad navigation to text composition (#23720) 2025-02-21 13:41:52 +00:00
OpenRCT2 git bot
c068b6ac2b Merge Localisation/master into OpenRCT2/develop 2025-02-21 04:02:10 +00:00
mix
e42238de72 Fix #23828: Vehicles pass over station entrances/exits cause glitch 2025-02-20 19:25:34 +00:00
mix
9c75543240 Fix #18389: Gentle sloped track not visible in fallback tunnels 2025-02-20 19:06:33 +00:00
mix
acf18b5a15 Fix #23832: Hybrid large gentle banked left turns supports glitch 2025-02-20 18:28:32 +00:00
mix
467f790daf Fix #23831: Hybrid large slope bank right turns glitch if track above 2025-02-20 18:15:44 +00:00
mix
a520ceeaea Fix #23836: Adjacent track can draw over large turns 2025-02-20 17:47:39 +00:00
mix
7b94b67fc8 Fix #18423: Underground Mini Golf hole C, D and E drawing over land edges 2025-02-20 18:01:04 +01:00
Michael Steenbeek
c7c13ec8d9 Fix #23814: Scenarios not indexed on first start 2025-02-20 17:30:23 +01:00
Briar
7de61c791d Fix #23797: 3D sign text from older parks cut off
The origin of this bug is an issue in the logic for determining
when to wrap 3D sign text on multi-line signs in Paint.LargeScenery.cpp.
When processing the second line, no check was made that the full text
could fit within the sign's bounding box, and so spaces or newlines
were always used to wrap to a (nonexistent) third line, even when
the text would otherwise fit.

This fix addresses the issue by adding a check for this case, when
we're at the end of the text string and the max text width still
hasn't been exceeded. In that case, the best display string is set
to the full current string, rather than the string up to the last space glyph.
2025-02-20 17:11:53 +01:00
mix
4853a68e5a Fix misaligned LSM launched lift hill sprite 2025-02-20 17:09:08 +01:00
OpenRCT2 git bot
008a476b8f Merge Localisation/master into OpenRCT2/develop 2025-02-20 04:02:20 +00:00
mix
9c2217355b Fix #23641: Steep to flat track is not drawn correctly in tunnels 2025-02-19 22:51:09 +01:00
Michael Steenbeek
b62f7763a6 Fix #14486: Guests falling if path after park entrance is an upward slope 2025-02-19 22:34:31 +01:00
mix
d7c150ed38 Fix #20848: Junior Coaster booster track draws incorrectly in tunnels 2025-02-19 18:56:00 +00:00
mix
85e4eb6385 Fix #15826, #23835: Wooden Roller Coaster steep turn supports glitch 2025-02-19 19:09:37 +01:00
mix
3edb75d910 Fix #18376: Ghost train gentle to flat track is not visible in tunnels 2025-02-19 19:05:35 +01:00
ZeeMaji
754ace5288 Fix hyper-twister roller coaster string 2025-02-19 18:54:55 +01:00
Andrew
abaf8d2aef Add diagonal downward-inclined brakes to hybrid and single rail coasters 2025-02-19 18:53:43 +01:00
mix
6103d00dce Fix #18711: Underground park entrance sides can cause glitching 2025-02-18 21:21:53 +00:00
mix
b7b31bc4b0 Fix #16657: Mine Ride right S-bend uses Mini Roller Coaster sprite 2025-02-18 20:38:20 +00:00
mix
d946ab3374 Fix land edges glitch when vehicles go through gentle to flat tunnels 2025-02-18 21:34:43 +01:00
mix
a595e4a496 Add original bug to changelog for toilet, steep, wood support draw fix (#23849) 2025-02-18 14:34:14 +01:00
73
c7c703515e Rename audio.h to Audio.h (#23842) 2025-02-17 13:24:03 +01:00
Aaron van Geffen
e91755f394 Fix #22229: Don't override park version errors (#23845) 2025-02-17 12:39:47 +01:00
mix
25f14cb023 Fix #18436: Scenery on same tile draws over steep to vertical track (#23822) 2025-02-16 12:32:23 +00:00
Aaron van Geffen
893d0858cc Bump scenario index version (#23826) 2025-02-15 18:33:25 +00:00
mix
5fc55a0009 Fix #1972, #11679: Vehicles passing by toilets can cause them to glitch 2025-02-15 18:02:56 +01:00
mix
c4c230b43b Fix spinning tunnels drawing over sloped terrain in front of them (#23818) 2025-02-15 15:41:18 +01:00
mix
d4b35ae1b4 Fix #22620: RCT1 Mine Coaster trains glitch on large banked turns (#23817) 2025-02-15 15:21:16 +01:00
mix
a6c9c06f9a Fix #16357: Chairlift station covers draw incorrectly (#23808) 2025-02-15 14:18:41 +00:00
Briar
376cb7980c Fix #9999-#10003: translations have truncated strings
This issue, along with several related language-specific
trunctions, was traced back to the fact that ScenarioIndexEntry
uses a fixed-length array of utf8 characters to store the name,
internal name, and scenario details. In some cases, this does
not provide enough characters to contain the full description
and so the safe copy methods truncate them to fit in the
available buffer.

Since the use of fixed-size arrays is a holdover from earlier
C code, this commit addresses the issue by changing ScenarioIndexEntry
to use proper utf8 strings and string views, which do not require
truncation.
2025-02-15 00:18:24 +01:00
mix
503d55d051 Fix train glitching on Bobsleigh Coaster small helixes (#23809) 2025-02-14 17:51:20 +01:00