1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-17 13:02:27 +01:00
Commit Graph

28615 Commits

Author SHA1 Message Date
Tulio Leao
c66cfefc83 Update to objects v1.7.3 (#24944) 2025-08-10 07:56:59 -03:00
Michał Janiszewski
85b23c5ae9 Upgrade gradle to 9.0.0 (#24910) 2025-08-10 07:24:39 -03:00
mix
0c90bbc15c Fix lim, corkscrew and twister coasters inline twist tunnels (#24915) 2025-08-10 06:36:08 -03:00
Aaron van Geffen
147eb89883 Keep ride list sorted (#24943) 2025-08-10 11:26:40 +02:00
OpenRCT2 git bot
eff76240ff Merge Localisation/master into OpenRCT2/develop 2025-08-10 04:16:05 +00:00
Michał Janiszewski
c54466ec28 Fix #24904: gracefully handle incomplete CSS files (#24923)
* Fix #24904: gracefully handle incomplete CSS files

Some CSS files are truncated, possibly due to users overwriting RCT2
assets with parts of RCT1. This causes incorrect access to freed memory
and potential double frees.

This change verifies CSS data has expected samples and if not, informs
user about incorrect assets. The samples that exist are still loaded and
available for use.

There was no backtrace report generated for this on Windows.

* Skip reading of unused variables
2025-08-09 21:56:12 +00:00
Matt
0fee079931 Initialize some members in PaintSessionCore (#24932) 2025-08-09 14:05:55 +02:00
73
367f797978 Fix typo in Compression.cpp (#24934)
spelling error for Decompress
2025-08-09 07:24:08 -03:00
mix
f7f4ae8c59 Print the object image table entry after sprite build command (#24921)
Co-authored-by: ZeeMaji <42477864+ZeeMaji@users.noreply.github.com>
2025-08-09 06:03:02 -03:00
Michał Janiszewski
91ba8c893e Use CI images v22: Jammy for AppImage now uses clang-20 (#24926)
* Use CI images v22: Jammy for AppImage now uses clang-20

* Use clang-20
2025-08-09 05:34:47 -03:00
mix
0d64899fd3 Remove null TunnelType and refactor paint code accordingly (#24924) 2025-08-09 06:32:20 +02:00
LRFLEW
5d34752424 Change [De]Compress Asserts to Exceptions (#24933) 2025-08-09 06:30:10 +02:00
OpenRCT2 git bot
188b1d8a59 Merge Localisation/master into OpenRCT2/develop 2025-08-09 04:07:59 +00:00
Aaron van Geffen
de44ce948e Rename register variables in CentreMapOnViewPoint (#24905) 2025-08-08 15:20:24 +02:00
Michał Janiszewski
e118b4d9b8 CI: Use macOS 15 (#24925) 2025-08-08 13:58:24 +02:00
73
c3a388a8b4 make member plural in readme (#24922)
grammar mistake, member should say members
2025-08-08 07:16:56 -03:00
OpenRCT2 git bot
bfe77091a1 Merge Localisation/master into OpenRCT2/develop 2025-08-08 04:17:17 +00:00
Violet Purcell
1abd50ff1f Add explicit <cstdlib> include to Range.hpp (#24918)
LLVM libc++ 21 shuffled around some includes internally, causing cstdlib
to no longer be transitively included here. Explicitly include it for
size_t.
2025-08-07 22:03:03 +02:00
Joel Teichroeb
a146f38194 Fix #24173: Allow all game speeds between 1 and 8 if developer mode is on (#24270) 2025-08-07 12:10:24 +02:00
OpenRCT2 git bot
9e89332462 Merge Localisation/master into OpenRCT2/develop 2025-08-07 04:17:46 +00:00
LRFLEW
52e3c774bc Use ZStandard for Park and Replay Files (#24734) 2025-08-06 21:50:18 +02:00
Michał Janiszewski
8ef4b207b9 Fix GCC complaining about null parameter to vsnprintf (#24903) 2025-08-06 06:59:17 -03:00
Michał Janiszewski
8efb075201 Only access widgets that actually exist (#24899)
Some windows, like the NetworkStatus do not create any additional
widgets which results in WidgetCaptionDraw going off the widget vector
2025-08-06 08:10:51 +02:00
Aaron van Geffen
b9c3306c3d Rework ride list sort options into table headers (#24893) 2025-08-05 14:47:20 +00:00
Michał Janiszewski
47d202f08a Update macos libraries to v38, use SHA256 checksums (#24889) 2025-08-04 18:09:32 +02:00
Michał Janiszewski
6fd7cddf58 Update Windows libraries to v38, use SHA256 checksums (#24887) 2025-08-04 17:25:08 +02:00
Michał Janiszewski
38cdd71216 Fix #16988: AppImage version does not show changelog (#24878) 2025-08-04 12:19:25 +00:00
Ethan O'Brien
583517fc9c Android: build with 16kb page sizes (#24867) 2025-08-03 22:46:28 -03:00
Michał Janiszewski
9bdb57b63e Remove duplicate checksums file (#24883)
The filename used in https://github.com/OpenRCT2/OpenRCT2/pull/24877 already matches the main pattern and possibly causes a "soft failure":

```
👩‍🏭 Creating new GitHub release for tag v0.4.25-3-g6f28ef9379...
⬆️ Uploading OpenRCT2-v0.4.25-3-g6f28ef9379-sha256sums.txt...
⬆️ Uploading OpenRCT2-v0.4.25-3-g6f28ef9379-windows-symbols-x64.zip...
⬆️ Uploading OpenRCT2-v0.4.25-3-g6f28ef9379-windows-symbols-win32.zip...
⬆️ Uploading OpenRCT2-v0.4.25-3-g6f28ef9379-windows-symbols-arm64.zip...
⬆️ Uploading OpenRCT2-v0.4.25-3-g6f28ef9379-windows-portable-x64.zip...
⬆️ Uploading OpenRCT2-v0.4.25-3-g6f28ef9379-windows-portable-win32.zip...
⬆️ Uploading OpenRCT2-v0.4.25-3-g6f28ef9379-windows-portable-arm64.zip...
⬆️ Uploading OpenRCT2-v0.4.25-3-g6f28ef9379-windows-installer-x64.exe...
⬆️ Uploading OpenRCT2-v0.4.25-3-g6f28ef9379-windows-installer-win32.exe...
⬆️ Uploading OpenRCT2-v0.4.25-3-g6f28ef9379-windows-installer-arm64.exe...
⬆️ Uploading OpenRCT2-v0.4.25-3-g6f28ef9379-sha256sums.txt...
⬆️ Uploading OpenRCT2-v0.4.25-3-g6f28ef9379-macos-universal.zip...
⬆️ Uploading OpenRCT2-v0.4.25-3-g6f28ef9379-linux-x86_64.AppImage...
⬆️ Uploading OpenRCT2-v0.4.25-3-g6f28ef9379-android-arm.apk...
⬆️ Uploading OpenRCT2-v0.4.25-3-g6f28ef9379-Linux-noble-x86_64.tar.gz...
⬆️ Uploading OpenRCT2-v0.4.25-3-g6f28ef9379-Linux-bookworm-x86_64.tar.gz...
Error: Not Found - https://docs.github.com/rest/releases/assets#update-a-release-asset
 Uploaded OpenRCT2-v0.4.25-3-g6f28ef9379-sha256sums.txt
 Uploaded OpenRCT2-v0.4.25-3-g6f28ef9379-windows-symbols-win32.zip
 Uploaded OpenRCT2-v0.4.25-3-g6f28ef9379-windows-symbols-arm64.zip
 Uploaded OpenRCT2-v0.4.25-3-g6f28ef9379-windows-symbols-x64.zip
 Uploaded OpenRCT2-v0.4.25-3-g6f28ef9379-windows-portable-arm64.zip
 Uploaded OpenRCT2-v0.4.25-3-g6f28ef9379-windows-portable-x64.zip
 Uploaded OpenRCT2-v0.4.25-3-g6f28ef9379-Linux-noble-x86_64.tar.gz
 Uploaded OpenRCT2-v0.4.25-3-g6f28ef9379-windows-installer-win32.exe
 Uploaded OpenRCT2-v0.4.25-3-g6f28ef9379-Linux-bookworm-x86_64.tar.gz
 Uploaded OpenRCT2-v0.4.25-3-g6f28ef9379-windows-installer-x64.exe
 Uploaded OpenRCT2-v0.4.25-3-g6f28ef9379-windows-installer-arm64.exe
 Uploaded OpenRCT2-v0.4.25-3-g6f28ef9379-windows-portable-win32.zip
 Uploaded OpenRCT2-v0.4.25-3-g6f28ef9379-macos-universal.zip
 Uploaded OpenRCT2-v0.4.25-3-g6f28ef9379-linux-x86_64.AppImage
 Uploaded OpenRCT2-v0.4.25-3-g6f28ef9379-android-arm.apk
```

https://github.com/OpenRCT2/OpenRCT2/actions/runs/16705273462/job/47282750562#step:9:16
2025-08-03 22:45:06 -03:00
Tulio Leao
971ac4419e Merge pull request #24868 from janisozaur/android-libs-13
Use Android libs v13
2025-08-03 22:43:35 -03:00
Michał Janiszewski
218848fb85 Update Android TV mode
This brings 107db2d89 - "Enable TV game mode by default on Android"
commit from SDL
2025-08-03 20:28:31 +02:00
Michał Janiszewski
d91ddf9787 Update Android SDL files
This updates Android SDL files to 2.32.8
2025-08-03 20:28:17 +02:00
Michał Janiszewski
b34b677e66 Use Android libs v13
This updates vcpkg to 2025.07.25, adds zstd and compiles libraries with
16kB pages support
2025-08-03 20:26:52 +02:00
Michał Janiszewski
6f28ef9379 Fix expected checksum file for release (#24877) 2025-08-03 10:00:33 -03:00
Tulio Leao
d73e105eba Start v0.4.26 2025-08-03 07:35:34 -03:00
Tulio Leao
6cbcce8682 Merge branch 'master' into develop 2025-08-03 07:34:07 -03:00
Tulio Leao
de986f58fd Release v0.4.25
- Feature: [#24468] [Plugin] Add awards to plugin API.
- Feature: [#24702] [Plugin] Add bindings for missing cheats (forcedParkRating, ignoreRidePrice, makeAllDestructible).
- Feature: [#24794] The load/save browser can now optionally show mini map previews instead of screenshots.
- Improved: [#24812] Taiwan Park has been added to the Extras tab if it is present.
- Improved: [OpenSFX#12] Add Brake Fix, Buy and Dinghy Slide running sounds.
- Change: [#24730] Security guards now only walk slowly in crowded areas.
- Change: [#24843] Update android targetSDK to 36.
- Fix: [#24598] Cannot load .park files that use official legacy footpaths by accident.
- Fix: [#24611] The confirmation prompt for track file deletion is not vertically aligned.
- Fix: [#24711] The map smoothing function only partially works for custom height map image files.
- Fix: [#24761] The reliability bar in the ride window visually does not go below 10%.
- Fix: [#24773] The new ride window debug authors does not show the correct authors for non legacy ride objects.
- Fix: [#24775] The scenery and new ride windows do not filter by file name or identifier correctly for non legacy objects.
- Fix: [#24777] The stall item preview cycles between all possible colours when random checkbox is ticked.
- Fix: [#24794] The load/save browser does not resize cleanly when toggling the preview sidebar.
- Fix: [#24824] The Air Powered Vertical Coaster top section track piece has vertical tunnels (original bug).
- Fix: [#24825] The River Rapids flat-to-gentle track piece tunnels are incorrect on the gentle side.
- Fix: [#24826] The Junior Roller Coaster flat-to-steep track piece tunnels are incorrect.
- Fix: [#24829] The pattern of long grass across tiles is different to RCT1 and RCT2.
- Fix: [#24831] Park names are being overwritten for custom RCT1 scenarios that use competition id slots.
- Fix: [#24838] Not using localized word for conjunction when having multiple shortcuts for the same action.
- Fix: [#24841] Fullscreen options do not work correctly with Emscripten.
v0.4.25
2025-08-03 06:54:38 -03:00
Tulio Leao
160ee8eaef Merge branch 'develop' 2025-08-03 06:50:11 -03:00
Tulio Leao
3028579c80 Update backtrace token for upcoming v0.4.25 release 2025-08-03 06:49:22 -03:00
Llewelyn Gareth Griffiths
61f9ecb313 Fix #24777: Random checkbox ticked now cycles between possible colours in preview (#24865)
* alternating between possible colours based on currentTick

* updating changelog
2025-08-02 09:55:11 -03:00
Michał Janiszewski
bb8ac6f132 Merge pull request #24866 from OpenRCT2/android-keystore
Use static keystore for signing Android builds
2025-08-02 12:12:47 +02:00
Michał Janiszewski
379ef5585c Use images v20 in CI (#24862) 2025-08-02 11:44:07 +02:00
Michał Janiszewski
2fa9b7eb8e Display sha256 digests instead of sha1 for releases (#24871)
As github now automatically displays sha256 checksums of uploaded
artifacts [1], lets match what they display.

[1] https://github.blog/changelog/2025-06-03-releases-now-expose-digests-for-release-assets/
2025-08-02 11:43:18 +02:00
Michał Janiszewski
80cd7e1fb8 Fallback to ephemeral debug signing if keystore is unavailable 2025-08-02 11:42:06 +02:00
Michał Janiszewski
559e1bf2ce Use static keystore for signing Android builds
Fixes #22861

GitHub Actions CI uses ephemeral debug keystore resulting in APKs being
signed differently each time. This results in user not having trust in
where the builds come from and Android rejecting the update due to
mismatched keys.

This commit introduces a script to (re)create a keystore to be used for
signing APKs in GitHub Actions, sets environment variables for CI job
with generated key and modifies gradle project to consume those
variables.

I have generated the keystore with aforementioned script and set
secrects in the main repository with both the keystore password and
keystore contents.
2025-08-02 11:41:54 +02:00
Ethan O'Brien
9b2657ac62 Update android targetsdk to 36 (#24843)
* Update targetsdk to 36

* Combine duplicate code into a method

* Update dependencies and cmake

* Update Android base image

* Add TODO note above all file access intent

---------

Co-authored-by: Michał Janiszewski <janisozaur@gmail.com>
2025-08-02 06:26:33 -03:00
Ríša Szlachta
b8e163ffcf Fix #24821: Unclear guest spawn point placement error message (#24827)
* Create named constant from previously commented-out line for string id 2251

* Change error message when trying to build spawn point outside footpath

Error message change to STR_2251    :Can only be built on paths!
2025-08-01 17:05:39 +02:00
Garrett Leach
a8767ec4d8 Only add full initialized windows to the window list (#24859)
This removes the possibility of a race condition where a window is added to the window list but OnOpen has not been called. Many windows use OnOpen to set up required members so if say OnDraw is called it may use uninitialized members. For an example see ProgressWindow.
2025-08-01 17:03:30 +02:00
Ethan O'Brien
ee23d47276 android: null response body on error (#24854) 2025-08-01 15:07:19 +02:00
OpenRCT2 git bot
ed5d372edb Merge Localisation/master into OpenRCT2/develop 2025-08-01 04:23:23 +00:00