1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-23 23:04:36 +01:00
Commit Graph

22707 Commits

Author SHA1 Message Date
mix
c3cd9da819 Unify metal support type a and b function start setup 2025-08-12 13:54:43 +01:00
mix
1455f7bf5e Unify metal support type a and b base drawing 2025-08-12 13:54:43 +01:00
mix
2380e151ab Unify metal support type a and b base to main segment drawing 2025-08-12 13:54:43 +01:00
mix
234631c32c Unify metal support type a and b main segment drawing 2025-08-12 13:54:43 +01:00
mix
72d7fbd81b Rename si to crossbeamHeight in metal support paint functions 2025-08-12 13:54:43 +01:00
mix
199d9893c9 Unify metal support type a and b extra height drawing 2025-08-12 13:54:43 +01:00
mix
d7282e8ab6 Rename MetalSupportsImages beamA and beamB to beamUncapped/Capped 2025-08-12 13:54:43 +01:00
mix
de630e1672 Rename baseHeight to currentHeight in MetalBSupportsPaintSetup 2025-08-12 13:54:43 +01:00
mix
8445a1bdb7 Make MetalASupportsPaintSetup height parameter const 2025-08-12 13:54:43 +01:00
mix
e794492f58 Rename unk variable to segmentHeight in metal support paint 2025-08-12 13:54:43 +01:00
mix
8bb790ae22 Add const to metal support function parameters 2025-08-12 13:54:43 +01:00
mix
29816355e7 Rename special parameter to heightExtra in metal support functions 2025-08-12 13:54:42 +01: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
ζ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
Ethan O'Brien
a784fe46fe Resolve issues with save before load/quit prompt 2025-08-10 14:30:26 -05: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
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
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
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
Aaron van Geffen
de44ce948e Rename register variables in CentreMapOnViewPoint (#24905) 2025-08-08 15:20:24 +02: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
Ethan O'Brien
1eff246b1a Emscripten: Reimplement save/load 2025-08-07 08:34:26 -05: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
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
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
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
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.
2025-08-03 06:54:38 -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
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