Commit Graph
29664 Commits
Author SHA1 Message Date
Gymnasiast f9bf2c1b14 Bump network version, amend changelog 2026-02-04 23:24:06 +01:00
Gymnasiast 5dfef30094 Add buttons to make a ride invisible/visible 2026-02-04 19:58:28 +01:00
Gymnasiast 1f11caeb3a Disable switching to dummy RTDs 2026-02-04 19:58:28 +01:00
frozensnowy 8368340b7d Refactor: Extract sprite declarations to Drawing.Sprite.h (#25944)
Move sprite related types and function declarations from Drawing.h, to a new Drawing.Sprite.h header. Also extract PaletteMap to its own header
2026-02-04 18:59:27 +01:00
Michael Steenbeek ee4dedad03 Fix #25237: Wrong colours on Knight costume (#25937) 2026-02-04 18:57:43 +01:00
Michał Janiszewski a35ad6fa9c Use -maxcpucount option for msbuild (#25947)
|                   | amd64 + LTCG + maxcpucount                                                                                 | amd64 + LTCG                                                                                             | amd64 + maxcpucount                                                                                        | amd64                                                                                                     | arm64 + LTCG + maxcpucount                                                                                 | arm64 + LTCG                                                                                               | arm64 + maxcpucount                                                                                        | arm64                                                                                                      |
|-------------------|------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------|
| target arch x86   | [00:08:53.90](https://github.com/janisozaur/OpenRCT2/actions/runs/21666922052/job/62464744933#step:5:2383) | [00:09:53.62](https://github.com/OpenRCT2/OpenRCT2/actions/runs/21650043151/job/62455751416#step:5:2039) | [00:07:23.90](https://github.com/janisozaur/OpenRCT2/actions/runs/21665997160/job/62461589556#step:5:2344) | [00:08:00.19](https://github.com/OpenRCT2/OpenRCT2/actions/runs/21649659716/job/62410763017#step:5:10565) | [00:08:54.78](https://github.com/janisozaur/OpenRCT2/actions/runs/21666238474/job/62462577951#step:7:2778) | [00:09:44.08](https://github.com/janisozaur/OpenRCT2/actions/runs/21666225731/job/62462441917#step:7:2493) | [00:08:07.22](https://github.com/janisozaur/OpenRCT2/actions/runs/21665838804/job/62461046773#step:7:2743) | [00:08:17.69](https://github.com/janisozaur/OpenRCT2/actions/runs/21665946097/job/62461423151#step:7:2481) |
| target arch amd64 | [00:12:03.54](https://github.com/janisozaur/OpenRCT2/actions/runs/21666922052/job/62464744942#step:5:2141) | [00:12:25.64](https://github.com/OpenRCT2/OpenRCT2/actions/runs/21650043151/job/62455751474#step:5:1911) | [00:08:30.25](https://github.com/janisozaur/OpenRCT2/actions/runs/21665997160/job/62461589591#step:5:2108) | [00:08:52.53](https://github.com/OpenRCT2/OpenRCT2/actions/runs/21649659716/job/62410762982#step:5:10437) | [00:11:25.48](https://github.com/janisozaur/OpenRCT2/actions/runs/21666238474/job/62462577944#step:7:2104) | [00:11:11.95](https://github.com/janisozaur/OpenRCT2/actions/runs/21666225731/job/62462441921#step:7:1927) | [00:08:04.81](https://github.com/janisozaur/OpenRCT2/actions/runs/21665838804/job/62461046753#step:7:2067) | [00:08:35.42](https://github.com/janisozaur/OpenRCT2/actions/runs/21665946097/job/62461423099#step:7:1915) |
| target arch arm64 | [00:13:31.38](https://github.com/janisozaur/OpenRCT2/actions/runs/21666922052/job/62464744892#step:5:2114) | [00:14:03.96](https://github.com/OpenRCT2/OpenRCT2/actions/runs/21650043151/job/62455751629#step:5:1877) | [00:08:31.92](https://github.com/janisozaur/OpenRCT2/actions/runs/21665997160/job/62461589600#step:5:2077) | [00:08:49.81](https://github.com/OpenRCT2/OpenRCT2/actions/runs/21649659716/job/62410763054#step:5:1871)  | [00:13:53.18](https://github.com/janisozaur/OpenRCT2/actions/runs/21666238474/job/62462577943#step:7:2098) | [00:15:02.31](https://github.com/janisozaur/OpenRCT2/actions/runs/21666225731/job/62462441912#step:7:1921) | [00:08:09.25](https://github.com/janisozaur/OpenRCT2/actions/runs/21665838804/job/62461046738#step:7:2068) | [00:08:33.33](https://github.com/janisozaur/OpenRCT2/actions/runs/21665946097/job/62461423188#step:7:1915) |
2026-02-04 16:13:33 +01:00
Michael Steenbeek a7fdbcd230 Reduce duplication in scrolling text rendering (#25912) 2026-02-04 11:56:39 +00:00
Michael Steenbeek a80a67ff73 Merge pull request #25941 from mixiate/improve-sprite-build-performance
Improve command line sprite build performance
2026-02-03 23:18:51 +01:00
matheusvb3 e7246eb2f1 Remove redundant negation in a few expressions (#25940) 2026-02-03 20:51:12 +01:00
mix 1077a6490f Add silent to arguments when building sprite dats with sprite build cmd 2026-02-03 15:05:53 +00:00
mix c1d172ef63 Improve perf by remove reserves, copy to insert in SpriteFile::AddImage 2026-02-03 14:48:33 +00:00
Michał Janiszewski 40d974d891 Move some workflows to ubuntu-slim (#25939)
* Move some CI jobs to ubuntu-slim

ubuntu-slim is a single-CPU hosted runner that uses containers instead
of VMs. It's useful for quick 'maintenance' jobs.

* Move some workflows to ubuntu-slim

`ubuntu-slim` is a single-CPU hosted runner that uses containers instead of VMs. It's useful for quick 'maintenance' jobs.
2026-02-03 14:27:07 +01:00
Michał Janiszewski a78a508cae Move some CI jobs to ubuntu-slim (#25938)
ubuntu-slim is a single-CPU hosted runner that uses containers instead
of VMs. It's useful for quick 'maintenance' jobs.
2026-02-03 12:09:43 +01:00
Michael Steenbeek 86cc9be1e1 Merge pull request #25898 from Gymnasiast/refactor/old-has-flag
Refactor out old HasFlag() function
2026-02-03 10:53:50 +01:00
Michael Steenbeek e0456f0443 Merge pull request #25916 from frozensnowy/refactor-paint._type_.h
Refactor: Create Paint.<tile element type>.h files
2026-02-03 10:47:36 +01:00
Michał Janiszewski e39737536b Update GitHub Actions versions (#25936) 2026-02-03 08:39:54 +00:00
matheusvb3 de2bdfce54 Add new .clang-tidy rules (#25923) 2026-02-02 23:33:56 +01:00
Michał Janiszewski c0a599a141 Update upload/download-artifact actions (#25922) 2026-02-02 13:22:27 +01:00
matheusvb3 c7efa777f7 Remove deprecated C headers (#25921) 2026-02-02 12:41:50 +01:00
Michael Steenbeek 11e354cec4 Fix #25911: Non-working screenshot URL in appdata 2026-02-02 10:25:46 +01:00
OpenRCT2 git bot 8ecb8796c1 Merge Localisation/master into OpenRCT2/develop 2026-02-02 04:38:46 +00:00
Michael Steenbeek 11439f48a5 Merge pull request #25915 from Peppersawce/develop
Re-enable multithreading on Haiku
2026-02-01 22:23:04 +01:00
frozensnowy 623bdaf12b Fix: Restore TrackElement forward declaration and fix kBannerBoundBoxes linkage
TrackPaint.h depends on TrackElement forward declaration from Paint.TileElement.h. Also change kBannerBoundBoxes from constexpr to const for proper external linkage.
2026-02-01 22:22:27 +01:00
Peppersawce d28d4ae18f Fix compilation on Haiku 2026-02-01 22:10:41 +01:00
Peppersawce 8bc56a988f Re-enable multithreading on Haiku 2026-02-01 22:10:04 +01:00
frozensnowy 0eb8db277f Refactor: Remove unused PathElement forward declaration
Paint.Path.h already declares this. Part of #25803
2026-02-01 22:09:46 +01:00
frozensnowy 54cfbf9a65 Refactor: Move PaintSurface declaration to Paint.Surface.h
Part of #25803
2026-02-01 22:09:15 +01:00
frozensnowy 7a93e1b356 Refactor: Extract PaintBanner to Paint.Banner.h
Part of #25803
2026-02-01 22:08:53 +01:00
frozensnowy ae92e5ae7e Refactor: Extract PaintTrack to Paint.Track.h
Part of #25803
2026-02-01 22:08:32 +01:00
frozensnowy bacd450137 Refactor: Extract PaintLargeScenery to Paint.LargeScenery.h
Part of #25803
2026-02-01 22:08:13 +01:00
frozensnowy 440892e052 Refactor: Extract PaintWall to Paint.Wall.h
Part of #25803
2026-02-01 22:07:54 +01:00
frozensnowy 93bac8e306 Refactor: Extract PaintSmallScenery to Paint.SmallScenery.h
Part of #25803
2026-02-01 22:07:35 +01:00
frozensnowy 6384f0ba03 Refactor: Extract PaintEntrance to Paint.Entrance.h
Part of #25803
2026-02-01 22:07:14 +01:00
Michał Janiszewski cb27bc9e57 Start v0.4.32 2026-02-01 16:45:47 +01:00
Michał Janiszewski 6ca95197aa Merge branch 'master' into develop 2026-02-01 16:45:07 +01:00
Michał Janiszewski dae57fccf6 Release v0.4.31
- Feature: [#25844] The sprite builder now also supports adding JSON-based palettes.
- Improved: [#3788] Self-intersecting track designs can now be placed.
- Improved: [#25719] The weather change dropdown now shows icons next to the weather types for easier selection.
- Improved: [#25765] The ‘View options’ and ‘Special track elements’ dropdowns no longer need click-and-hold.
- Improved: [#25858] macOS now supports the onboarding menu.
- Improved: [#25882] Maze construction now auto-removes trees.
- Improved: [objects#421] The vehicle tab of some rides now shows more of the vehicle.
- Change: [#25018] Add upkeep cost to booster pieces.
- Fix: [#4643, #25167] Many metal supports draw with a filled in top when they didn’t in vanilla, causing some slight misalignment and glitching.
- Fix: [#15009] Landscaping tools do not display estimates when the game is paused (original bug).
- Fix: [#18441] Replacing footpaths sometimes results in a spurious “Footpath in the way” error (original bug).
- Fix: [#20620] In-game console caret does not update when pasting.
- Fix: [#20652] Twister Roller Coaster design ‘u(0241)’ has no preview and cannot be built (bug in track design).
- Fix: [#23859] Wrong banner text displayed after loading a different park.
- Fix: [#25221] When trying to cancel game file discovery, the prompt reappears.
- Fix: [#25703, #25889] Crash when scanning scenarios with packed objects in parallel.
- Fix: [#25739] Game freezes when a tab in the New Ride window contains more than 384 items.
- Fix: [#25745] Crash when a player connection is aborted early.
- Fix: [#25775] Network download sizes are in bytes instead of the listed kibibytes.
- Fix: [#25799] The animated options tab icon of the news window does not always redraw.
- Fix: [#25850] Guests do not have their happiness penalised by low energy, high hunger, high thirst, high toilet.
- Fix: [#25850] Ride nausea generation is different compared to vanilla.
- Fix: [#25854] When a guest is at 0 happiness or energy, the game draws too big of a bar in the guest stats window.
- Fix: [#25862] Diagonal and inclined brakes are not counted when calculating upkeep cost.
- Fix: [#25873] Repainting a banner in OpenRCT2-specific colours results in an error message.
- Fix: [#25879] Guest window viewport doesn’t follow vehicle when they board a ride.
- Fix: [#25908] Crash from use-after-free in banner text formatting during multithreaded rendering.
- Fix: [objects#419] Alignment of RCT2 red, yellow and green queue previews is off.
- Fix: [objects#424] Jet Aeroplane decor has a hole in it.
- Fix: [objects#425] Capacity of ‘Blob from outer space ride’ is incorrectly listed.
2026-02-01 16:17:17 +01:00
Michał Janiszewski 4c818b793c Merge branch 'develop' 2026-02-01 16:10:27 +01:00
Michael Steenbeek c7a97ccbd7 Merge pull request #25908 from frozensnowy/fix23859+25659-banner-text-issues
Fix #23859: Wrong banner text displayed after loading different park
2026-02-01 15:46:40 +01:00
frozensnowy 10ea862bda Fix #23859: Wrong banner text displayed after loading different park
The scrolling text cache matches entries using memcmp on raw Formatter data which includes pointers to ride/banner names. When loading a new park, memory addresses can be reused, causing false cache matches that display text from the previous park. This adds invalidate() calls to both park loading paths to clear stale cache entries
2026-02-01 13:41:47 +01:00
frozensnowy ce0969884e Fix: Crash from use-after-free in banner text formatting during multithreaded rendering
The Banner struct had a mutable formattedTextBuffer member that was written during every call to formatTextWithColourTo(). During multithreaded rendering, multiple threads could write to this buffer simultaneously when the same banner appeared in different viewport columns, causing use-after-free. This is replaced with thread_local to give each thread its own buffer which matches the existing pattern used elsewhere in the codebase
2026-02-01 13:41:43 +01:00
Gymnasiast 13250e5536 Fix typo in changelog
[ci skip]
2026-02-01 11:43:50 +01:00
Gymnasiast 13356535a8 Add #20652 to changelog
[ci skip]
2026-02-01 11:40:58 +01:00
OpenRCT2 git bot 9099047a5b Merge Localisation/master into OpenRCT2/develop 2026-02-01 04:41:39 +00:00
frozensnowy 778c15142a Fix #25889, #25703: Crash when scanning scenarios with packed objects (#25899)
When ScenarioFileIndex scans scenarios in parallel via JobPool, S6 files with packed objects called ExportPackedObject from multiple threads,
causing a race condition in ObjectRepository's vector. This changes passes skipObjectCheck=true during scanning, consistent with .park and .sc4 file handling. Objects are extracted later when actually loading.
2026-02-01 00:09:08 +01:00
Gymnasiast 4a5ca9eb3f Add missing changelog entries, fix up a few
[ci skip]
2026-02-01 00:07:14 +01:00
matheusvb3 ff72e07385 Remove redundant typename keyword usage (#25901) 2026-01-31 23:59:59 +01:00
Michael Steenbeek 9ec3dfd821 Update objects release to v1.7.6 (#25897) 2026-01-31 19:53:43 +01:00
frozensnowy 75db9f34c4 Fix #25879: Guest window viewport doesn't follow vehicle when on ride (#25883) 2026-01-31 14:41:20 +01:00
Gymnasiast b3e2b5b3b8 Remove old HasFlag() function 2026-01-31 14:00:52 +01:00
Gymnasiast b2fcecb79e Refactor RtdFlags into FlagHolder 2026-01-31 14:00:52 +01:00