29775 Commits
Author SHA1 Message Date
Aaron van Geffen 3561b9e607 Change load/save window to be coloured green by default 2025-02-20 12:39:26 +01:00
OpenRCT2 git bot 008a476b8f Merge Localisation/master into OpenRCT2/develop 2025-02-20 04:02:20 +00:00
Aaron van Geffen 1ae4874212 Add monochrome 'no preview' logo 2025-02-19 23:15:01 +01: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
Aaron van Geffen 878054c1ea Implement mini map previews for scenario usage 2025-02-19 17:30:42 +01:00
Aaron van Geffen af26d8c1d4 Implement embedded preview screenshots 2025-02-19 16:19:47 +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
Aaron van Geffen f4809291cb Initial park save preview implementation 2025-02-18 15:48:57 +01:00
Aaron van Geffen 225d3bda2c ParkImporter: rename GetDetails to PopulateIndexEntry 2025-02-18 15:53:53 +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
Aaron van Geffen b150b7969c Add missing copyright to ParkFile.h 2025-02-17 18:24:52 +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
Silent dd4f6a3036 Platform.Win32: Remove the last MAX_PATH 2025-02-15 11:54:13 +01:00
Silent 031daceb6c EditorObjectSelectionWindow: Remove MAX_PATH 2025-02-15 11:54:12 +01: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
Aaron van Geffen bb94ee8bc0 Rename ObjectType enum to follow recent code style (#23810) 2025-02-13 23:07:55 +01:00
73 b9b2c96c97 Rename sprites.h to SpriteIds.h (#23804) 2025-02-13 15:51:46 +00:00
Aaron van Geffen 6933af25ae Rename 'Climate' properties to Weather (#23786)
* Rename ClimateState to WeatherState

* Rename ClimateCurrent to WeatherCurrent

* Rename ClimateNext to WeatherNext

* Rename ClimateUpdateTimer to WeatherUpdateTimer

* Use named initialisers for weather state import in S4/S6 importers

* Rename S4::ClimateTimer to WeatherUpdateTimer as well

* Rename WeatherState struct properties to lowerCamelCase
2025-02-13 07:38:45 -03:00
Michał Janiszewski 6433c41ba6 Merge pull request #23806 from orbifant/fix
Fix segfault on linux when running in verbose mode
2025-02-13 09:07:40 +01:00
orbifant 7672da17c7 Fix segfault on linux when running in verbose mode
Comparing LOG_VERBOSE with other places in code, it expects const char* as parameter.
2025-02-12 20:37:51 +01:00
Matt 6aa562c571 Merge pull request #23800 from matheusvb3/simplify-garden-clock
Simplify garden clock paint algorithm
2025-02-12 02:26:00 +02:00
matheusvb3 6c1be793fb Update constexpr with k prefix 2025-02-11 20:26:22 -03:00
Aaron van Geffen 80c9faeee1 Change StaffHireArgs params to reflect internal visitor (#23791) 2025-02-11 19:35:08 +02:00
matheusvb3 54404e4c8d Simplify garden clock paint algorithm 2025-02-11 04:16:11 -03:00
matheusvb3 7a21f5694d Include stdexcept in LocalisationService.cpp (#23798) 2025-02-10 20:20:06 +00:00
Alex ZH a8aa41f098 Fix debug dirty visuals scaling on high DPI displays (#23697) 2025-02-10 19:42:39 +00:00
mix 5a3ebb65de Fix #23522: Steeplechase diagonal sloped support base glitched sprites 2025-02-09 14:57:22 +00:00
mix 1e5f587c40 Fix looping roller coaster vertical loop supports drawing incorrectly (#23795) 2025-02-09 14:01:20 +01:00
Michael Steenbeek b0c2779f75 Merge pull request #23793 from triaxx/develop
Support NetBSD
2025-02-09 14:00:15 +01:00
Frédéric Fauberteau e74ed439df Support NetBSD 2025-02-08 11:08:21 +01:00
Frédéric Fauberteau 98e7d3ea32 All BSD-like platforms have alloca in stdlib.h 2025-02-08 10:58:15 +01:00
Gymnasiast 02cdf79c82 Add nl-NL translation to openrct2.appdata.xml 2025-02-07 23:35:29 +01:00
Aaron van Geffen 2302f0d2e3 Rework Localisation includes (#23789)
* Clean up internal localisation header includes

* Remove some external localisation includes

* Remove dependency on FormatCodes.h from InteractiveConsole.h

* Reduce Formatter.h, Localisation.Date.h includes
2025-02-07 22:36:42 +01:00
Aaron van Geffen d8b955eea2 Rotate weather distribution to be less biased towards sunny weather 2025-02-07 15:23:07 +01:00