Commit Graph
29802 Commits
Author SHA1 Message Date
Gymnasiast ef7e765631 Set defaults for some TrackElementDescriptor fields 2026-03-02 19:42:24 +01:00
MarcelVos96 3629104291 Fix #25735: Ride synchronisation z-check works incorrectly (#25747)
I looked at the logic for the z-coordinate check from version 0.1.0 where it did still work as in vanilla and applied that to the current code.

Rides should synchronise with any station that is one unit below, at the same height, or one unit above.
2026-03-02 13:36:02 +01:00
Michał Janiszewski 88adbdc5db Add changelog entry for incorrect installer signature (#26120) 2026-03-01 21:11:41 +00:00
Michał Janiszewski 12342f06b6 Fix logical condition in ColourOnDrawEntrancePreview (#26118)
Fixes #26117
2026-03-01 21:54:17 +01:00
Michael Steenbeek d2545da11c Merge pull request #25836 from matheusvb3/header-hygiene
Remove global "using namespace" declarative in header files
2026-03-01 13:48:22 +01:00
matheusvb3 4de05c77c8 Create WoodenRC namespace 2026-03-01 13:38:45 +01:00
matheusvb3 b4903577ed Remove global using namespace declarative in header files 2026-03-01 13:33:21 +01:00
frozensnowy 1b690f4766 Fix: Toggling 'allow arbitrary ride type changes' does not resize open ride windows (#26113)
Track the cheat state in ride windows and call onResize() when it changes and reinitialize the viewport with correct dimensions
2026-03-01 12:22:24 +00:00
frozensnowy ae1994db75 Fix #10616: Quarter tile trees cannot be placed on dry portions of half water tiles
The water placement check treated any tile with water as "on water" regardless of whether the specific quadrant's land was above or below the water level. This prevented placing quarter tile scenery on the dry parts of half water tiles , even though RCT1 allowed this. Now the check only considers scenery "on water" when the land height at that quadrant is actually below the water level.
2026-03-01 11:56:32 +00:00
Michael Steenbeek 52069bd60f Merge pull request #26108 from Gymnasiast/refactor/track-data
Split off TrackElementDescriptor and a few other things into their own headers.
2026-03-01 12:53:21 +01:00
Gymnasiast 8b104d04b3 Rename TrackMetaData to TrackMetadata 2026-03-01 12:40:51 +01:00
Gymnasiast 56082daa5f Split off TrackElementDescriptor and a few other things into their own headers 2026-03-01 12:40:47 +01:00
Gymnasiast 6bd708ab74 Rename enum members of SpinFunction 2026-03-01 12:40:06 +01:00
matheusvb3 0271639f6d Rename OpenRCT2String to StringWithArgs (#26112) 2026-03-01 10:46:37 +00:00
Aaron van Geffen 485e882e15 Fix bounds check in RideGetVehicleColour (#26111) 2026-03-01 10:44:15 +00:00
Tulio Leao 22ba13e21a Remove extra line to fix changelog formatting CI 2026-03-01 07:06:34 -03:00
Tulio Leao 50026aaa99 Start v0.4.33 2026-03-01 06:40:13 -03:00
Tulio Leao 1452d9fdfc Merge branch 'master' into develop 2026-03-01 06:38:47 -03:00
Tulio Leao 25c7379b46 Release v0.4.32
- Feature: [#22704] Rides can be made invisible more easily.
- Improved: [#21753] Tracked rides with cheated powered launch mode can change powered launch speed without extra cheats.
- Improved: [#25526] When a shop item cannot be recoloured, show a preview of the building instead.
- Improved: [#25941] The command line sprite build command is now faster.
- Improved: [#26002] Rides with newer track elements (like the zero G roll or diagonal brakes) can now be saved as track designs.
- Improved: [#26026] Profiler is now thread safe and supports JSON export with call graph data.
- Improved: [#26050] Add Danish translation to Windows installer.
- Improved: [#26091] When all rides are closed, the marketing window will no longer show the ride advertisement campaign.
- Change: [#26011] Audio resampling no longer depends on the third-party library libspeexdsp.
- Change: [#26049] Guest generation now starts slowing down above 52000 guests instead of 7000.
- Fix: [#14686, #23996, #25981] Preview images from different windows overwrite each other when using OpenGL.
- Fix: [#15128, #15626, #16331, #17443, #18626, #21597, #24175, #24971, #25963] Crash when loading corrupted RCT2/RCT1 save files with duplicate entity indices.
- Fix: [#23519] Title sequence cannot open .sea scenarios from RCTC.
- Fix: [#25237] Wrong colours on the Knight costume (original bug).
- Fix: [#25712, #25727] Crash during startup from window list race condition.
- Fix: [#25763] Crash when opening the Footpath window in Multiplayer.
- Fix: [#25910] Folders starting with numbers are sorted incorrectly (e.g. 1, 10, 2 instead of 1, 2, 10).
- Fix: [#25954] Guests display hats, balloons, and umbrellas while puking.
- Fix: [#25961] Fix crash when rendering malformed vehicles in the ride window.
- Fix: [#25978] Frozen peeps start clapping when the scenario is won.
- Fix: [#25999] Scenery picker tool does not pick the tertiary colour of large scenery correctly.
- Fix: [#26037] Selecting elements in the tile inspector list and changing all tiles of a track piece does not redraw correctly.
- Fix: [#26057] In the scrolling intro, the Infogrames logo is taken off the screen before it reaches the bottom (original bug).
- Fix: [#26058] RCT Classic scenarios with packed objects missing from scenario index.
- Fix: [#26083] You can advertise for closed food & drink stalls.
2026-03-01 06:09:42 -03:00
Tulio Leao 1b9dff45b2 Merge branch 'develop' 2026-03-01 06:02:36 -03:00
Tulio Leao 04c3b42a1e Update BACKTRACE_TOKEN for v0.4.32 2026-03-01 06:01:53 -03:00
Michael Steenbeek 0eed76a5c6 Fix #25763: Crash when opening the Footpath window in Multiplayer (#26109)
As of 28 February 2026, there are 14(!) crash reports open for this. As a player doesn’t have to be part of a group, the group index may be out of bounds. In this case, they are a spectator and can’t perform any action. Make `CanPerformAction()` and `CanPerformCommand()` simply return false in these cases.
2026-02-28 16:55:53 +01:00
OpenRCT2 git bot 986e3127c9 Merge Localisation/master into OpenRCT2/develop 2026-02-28 04:24:31 +00:00
frozensnowy 011ddc12a4 Improve: Profiler thread safety and JSON export support (#26025)
* Refactor: Profiler thread safety and JSON export support

Refactors the profiling system to be thread safe using lock free atomics for the hot path, adds JSON export with call graph data, and updates the
API to use camelCase naming convention

* Address profiler refactor review feedback

Use a ',' for CSV export and moved implementations to the profiling.cpp to avoid <algorithm> in the header.
2026-02-26 22:30:45 +01:00
Michael Steenbeek 4a4b859860 Merge pull request #26093 from Gymnasiast/refactor/lifecycle-falgs
Refactor lifecycleFlags to FlagHolder
2026-02-24 23:40:11 +01:00
MarcelVos96 0f758d5166 Fix #26083: Can advertise for closed food stalls (#26091) 2026-02-24 23:37:27 +01:00
Gymnasiast 6440b5d6f3 Rename ‘lifecycleFlags’ to ‘flags’ 2026-02-24 23:31:07 +01:00
Gymnasiast 7d4acdc2c3 Refactor lifecycleFlags to FlagHolder 2026-02-24 23:30:19 +01:00
matheusvb3 7270b33dde Resolve function declaration and definition parameter name mismatch (#26094) 2026-02-24 22:49:07 +01:00
MarcelVos96 80d1486cd5 Add method to check if brakes should fail (#25909) 2026-02-24 19:09:28 +01:00
Michael Steenbeek 4c4b9f3922 Merge pull request #26085 from Gymnasiast/fix/23519
Fix #23519: Title sequence cannot open .sea scenarios from RCTC
2026-02-24 17:37:49 +01:00
Michał Janiszewski 3698d7cc08 Fix changelog for #25970 (#26090) 2026-02-24 14:03:24 +00:00
Gymnasiast 4aa62e6457 Log actual error when loading a title sequence park fails 2026-02-24 14:10:48 +01:00
Gymnasiast 6a2751835c Fix #23519: Title sequence cannot open .sea scenarios from RCTC 2026-02-24 14:10:48 +01:00
Michał Janiszewski 0999cf7ea6 Fix #25961: Only draw next vehicle sprite if it is present (#25970) 2026-02-24 10:58:02 +00:00
Eve SilfanusandMichał Janiszewski 52d7e1833b Build Performance Optimization (#26015)
* Build Performance Optimization

* Fixed include order formatting

* Reverted CMakeLists.txt

* Fixed pch implementation

* Removed cmake pch

* Update test/tests/CMakeLists.txt

---------

Co-authored-by: Michał Janiszewski <janisozaur@users.noreply.github.com>
2026-02-24 11:39:15 +01:00
matheusvb3 1e3d1cf252 Rename TrackElemType::watersplash -> waterSplash (#26088) 2026-02-24 08:58:01 +01:00
Aaron van Geffen 8a0fef3d9b Refactor StationObject image indices (#26042)
* Refactor StationObject image indices

* Minor rewrite to avoid kNumOrthogonalDirections

* Return early in StationObject::Load if there are no images

* Unset all indices when unloading a station object
2026-02-23 23:53:56 +01:00
Michael Steenbeek 6c7e5f8f10 Classify #25237 as original bug
[ci skip]
2026-02-23 23:45:48 +01:00
pg805 b4a59ef4c7 Fix #26058: RCT Classic .sea scenarios with packed objects silently excluded from scenario index (#26081) 2026-02-23 22:42:43 +01:00
Michael Steenbeek ef00b67b19 Merge pull request #26076 from Gymnasiast/fix/26057
Fix #26057: Infogrames logo is taken off screen too early + small refactor
2026-02-23 07:38:23 +01:00
Aaron van Geffen fecdfa47a8 Merge pull request #26030 from AaronVanGeffen/ride-appearance-tab-refactor
Ride colour/appearance tab refactor
2026-02-22 23:32:27 +01:00
Gymnasiast a52380b325 Create constants for some stuff in IntroScene.cpp 2026-02-22 00:51:00 +01:00
Gymnasiast 520cd30cba Fix #26057: Infogrames logo is taken off the screen before it reaches the bottom 2026-02-22 00:38:19 +01:00
matheusvb3 40e4c0d5ae Update comment in RideObject.cpp (#26063)
Updated comment for VEHICLE_ENTRY_FLAG_11 to clarify its obsolescence.
2026-02-21 06:58:55 +01:00
mix c05e49e384 Fix selecting elements in tile inspector list and all track tiles invalidation (#26037)
* Invalidate tile when selecting elements in tile inspector list

* Invalidate all track tiles in TileInspector::TrackBaseHeightOffset

* Invalidate all track tiles in TileInspector::TrackSetChain

* Add changelog entry for tile inspector invalidation fixes
2026-02-21 06:57:40 +01:00
Michael Steenbeek 4b2bedd1ce Merge pull request #26059 from Broxzier/feature/intro-refactor
Refactor IntroScene
2026-02-20 22:05:03 +01:00
Michał Janiszewski efb14fffe1 CI: Use images v26 from ghcr (#26070)
https://github.com/OpenRCT2/openrct2-docker-build/pkgs/container/openrct2-build

This version adds `gxc` (libsawyer) to android image and removes speexdsp
2026-02-20 19:29:48 +00:00
Michał Janiszewski bc899b99c1 Android: Use android:requestLegacyExternalStorage="true" (#26068)
This fixes Android 10 support
2026-02-20 20:07:40 +01:00
Michał Janiszewski 1e3790cb77 Optimize Android CI by splitting builds and parallelizing ABIs (#26069)
`src/openrct2-android/app/build.gradle` now supports `abiFilter` and
`skipNativeBuild` properties, which can be used to selectively build
individual architectures. Each architecture is built in its own job and
after the upload/download artifacts dance they get merged in the
`android` job.

This improves cache locality for ccache by splitting it into
ABI-specific keys.

The parameters are optional, so no changes are required to build
instructions - all the supported architectures will be built by default.
2026-02-20 20:06:09 +01:00