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

28595 Commits

Author SHA1 Message Date
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
Michał Janiszewski
f6292b4c13 Use clang-format 20 (#24861)
https://clang.llvm.org/docs/ClangFormatStyleOptions.html
2025-07-31 11:01:48 +02:00
OpenRCT2 git bot
616fdee571 Merge Localisation/master into OpenRCT2/develop 2025-07-30 04:16:50 +00:00
OpenRCT2 git bot
fe0edd71f7 Merge Localisation/master into OpenRCT2/develop 2025-07-29 04:19:13 +00:00
OpenRCT2 git bot
24c719de67 Merge Localisation/master into OpenRCT2/develop 2025-07-28 04:18:03 +00:00
Ethan O'Brien
b92a005459 Enhance emscripten display settings (#24841)
* emscripten: Invoke HTML5 emscripten fullscreen API instead of using SDL

* emscripten: Disable OpenGL

* emscripten: Add fullscreen change to changelog
2025-07-27 23:44:08 +02:00
Ríša Szlachta
19035ec2eb Fix unlocalized word for conjunction when having multiple shortcuts for the same action (#24838)
* create STR_7000: "or"

* declare STR_OR

* enable localisation via LanguageGetString()

* Update ShortcutManager.cpp

* Update changelog.txt

---------

Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
2025-07-27 16:25:03 +00:00
Ethan O'Brien
f8865469cb emscripten: increase STACK_SIZE to 8mb (#24840) 2025-07-27 13:07:46 -03:00
OpenRCT2 git bot
8292885ea2 Merge Localisation/master into OpenRCT2/develop 2025-07-27 04:17:32 +00:00
OpenRCT2 git bot
87a9e7888f Merge Localisation/master into OpenRCT2/develop 2025-07-26 04:12:56 +00:00
Aaron van Geffen
b404f1193a Merge pull request #24794 from AaronVanGeffen/loadsave-previews
Allow showing minimaps in file browser previews
2025-07-25 12:44:30 +02:00
AuraSpecs
3c52205810 Update OpenMSX and OpenSFX 2025-07-25 11:43:48 +03:00
OpenRCT2 git bot
815f75f02d Merge Localisation/master into OpenRCT2/develop 2025-07-25 04:14:45 +00:00
mix
5eaeaf3c95 Fix the pattern of long grass being different to RCT1 and 2 (#24829) 2025-07-24 20:19:14 +00:00
Aaron van Geffen
975b64a7fd Fix custom RCT1 scenarios potentially being confused with official ones (#24832) 2025-07-24 18:12:35 +00:00
Matt
8681b7f18a Merge pull request #24774 from NylePudding/develop
Fix #24761: Reliability progress bar no longer has a min value of 10
2025-07-24 17:24:43 +03:00
Aaron van Geffen
dfff043c93 Merge pull request #24812 from ZeeMaji/taiwan-park
Add Taiwan Park to extras tab
2025-07-24 14:44:47 +02:00
mix
cacf352059 Fix Junior Roller Coaster flat to steep tunnels (#24826) 2025-07-24 14:34:54 +02:00
Aaron van Geffen
0c8ea41c6d Update distribution/changelog.txt 2025-07-24 12:35:27 +02:00
Aaron van Geffen
420cea17ae Update objects to v1.7.2 2025-07-24 12:24:10 +02:00
mix
386bebe700 Fix River Rapids flat to gentle track piece tunnels (#24825) 2025-07-24 06:52:03 -03:00