1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-06 06:32:56 +01:00
Commit Graph

28633 Commits

Author SHA1 Message Date
mix
8d76071f22 Change PathPaintGetBaseImage rotatedEdgesAndCorners arg to uint8_t 2025-08-13 14:59:40 +01:00
mix
4a5f802021 Rename Sub6A3F61 to PathPaintFencesAdditionsTunnels 2025-08-13 14:59:39 +01:00
mix
fab6c70b2c Rename stru_98D804 to kPathBoundingBoxes in path paint 2025-08-13 14:59:39 +01:00
mix
6e5532ebeb Rename Byte98D6E0 to kPathEdgesAndCornersToSurfaceImageIndexOffset 2025-08-13 14:59:39 +01:00
mix
7d88571402 Ignore corner connections when painting queues 2025-08-13 14:59:39 +01:00
Matt
378bf44825 Merge pull request #24962 from OpenRCT2/janisozaur-patch-2
Update changelog for #24958
2025-08-13 15:33:12 +03:00
Michał Janiszewski
cda2bba2b2 Update changelog.txt 2025-08-13 12:17:47 +02:00
Michał Janiszewski
c1ee8aee24 Android: fix crash when device is offline (#24958)
When processing response, we unconditionally reference a value in `headers` field, but it is null.

0f956ef910/src/openrct2/core/Http.Android.cpp (L110-L113)
2025-08-13 01:55:51 +03:00
Matt
0f956ef910 Merge pull request #24954 from ZehMatt/fix-24745
Fix #24745: Do not create a paint session when rendering is inhibited
2025-08-12 15:46:41 +03:00
mix
b43e3e6727 Add option to draw bounding boxes to command line screenshot command (#24949) 2025-08-12 05:57:20 -03:00
OpenRCT2 git bot
d42e4bdf9b Merge Localisation/master into OpenRCT2/develop 2025-08-12 04:06:58 +00:00
ζeh Matt
57d6cdd9cb Update changelog.txt 2025-08-12 01:19:30 +03:00
ζeh Matt
d20ecc119c Fix spelling 2025-08-12 01:17:05 +03:00
ζeh Matt
a192980db9 Cleanup the code a bit 2025-08-12 01:05:54 +03:00
ζeh Matt
c4f7e0a1fb Fix #24745: Do not create a paint session when rendering is inhibited 2025-08-12 00:49:04 +03:00
Matt
d26252c883 Index and load objects after the editor scene is initialized not before (#24953)
* Index and load objects after the editor scene is initialized not before

* Remove pointless calls and cleanup

* Display the progress window when loading the editor

* Update changelog.txt
2025-08-11 20:51:39 +00:00
Michał Janiszewski
81e956bbfd Add Trixie (#24950)
* Use CI images v23, add trixie

* Use per-linux-release cache key
2025-08-11 12:21:45 +00:00
Michał Janiszewski
bdf81280a5 Format Objective-C source (#24945)
* Reformat Objective-C source

* clang-format Objective-C code

Format objective-c code as well.

I think way back in the past clang-format failed to parse objective-c code, but it works ok now.
2025-08-10 13:58:22 +02:00
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