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

28995 Commits

Author SHA1 Message Date
Silent
4029254263 JobPool: Simplify lock guard objects (#25281) 2025-10-01 08:13:53 +02:00
Michael Steenbeek
522a5c82fd Changelog: update entry for #25201
[ci skip]
2025-09-29 22:23:04 +02:00
Matt
f21af599cd Merge pull request #25278 from ZehMatt/use-after-move
RideList.cpp: Don't use the variable after it is moved
2025-09-28 22:13:54 +03:00
Michał Janiszewski
39153b5051 Fix multithreaded access to additional crash files (#25271)
`GetScenarioInfo` can be called from a `JobPool` in `FileIndex::Build`,
resulting in multiple threads trying to access the `_uploadFiles` map
for breakpad.

This commit adds a mutex guard for `_uploadFiles` and provides unique
names for the entries.

The crash handler itself does not verify mutex state, possibly causing
data races, but I don't think it's safe to access it at this point and
we have to make do with whatever state is present at this point.
2025-09-28 21:01:36 +02:00
ζeh Matt
8fbb649cc9 Don't use the variable after it is moved 2025-09-28 21:39:55 +03:00
Matt
5534e2ea7a Merge pull request #25254 from ZehMatt/fix-25201
Fix #25201: Maintain ride list sort order, apply natural sorting
2025-09-28 21:33:20 +03:00
Hielke Morsink
6e798af987 Update title sequence release dependency (#25274) 2025-09-28 09:52:35 +02:00
ζeh Matt
15e78dd98e Update changelog.txt 2025-09-27 20:22:21 +03:00
ζeh Matt
43f7d2d912 Fix logicalCmp not sorting in natural order, refactor the entire thing 2025-09-27 20:21:30 +03:00
ζeh Matt
3bf75a1bc1 Make unknown satisfaction go at the bottom when sorted by highest 2025-09-27 20:21:30 +03:00
ζeh Matt
5c693e56d6 Make unknown popularity go at the bottom when sorted by highest 2025-09-27 20:21:30 +03:00
ζeh Matt
8a6d855edd Fix #25201: Unstable sorting of the ride list 2025-09-27 20:21:26 +03:00
matheusvb3
4bd911b472 Fix chance of thunder effects being lower than vanilla 2025-09-25 18:33:07 +00:00
Aaron van Geffen
9019f00039 Split off WindowFootpathUpdateModifierKeyState to its own function 2025-09-25 19:27:26 +02:00
ZeeMaji
1af0874443 Revert crooked house & circus default prices to vanilla values 2025-09-25 08:51:43 +00:00
Michael Steenbeek
66ecedb201 Merge pull request #25258 from Gymnasiast/backport/spacek-data-tables
Rename sound_vector_factor to dopplerShift
2025-09-25 10:49:11 +02:00
OpenRCT2 git bot
34981ac2c6 Merge Localisation/master into OpenRCT2/develop 2025-09-25 04:02:14 +00:00
spacek531
d5035726ee Rename sound_vector_factor to dopplerShift 2025-09-24 23:13:03 +02:00
Aaron van Geffen
f289cd3e79 Make frozen guests no longer finish food or drinks (#25251) 2025-09-24 17:02:43 +00:00
Michael Steenbeek
a73bf7a2c7 Split CLI commands into their own files (#25241) 2025-09-24 15:43:25 +02:00
Michael Steenbeek
af8e6bb234 Merge pull request #25239 from Gymnasiast/refactor/no-repository-in-loading-code
Remove ObjectRepository from object reading code
2025-09-24 12:19:57 +02:00
Michael Steenbeek
7af3adeca7 Merge pull request #25243 from Gymnasiast/refactor/drawing-refactor
Code style change in Drawing.{cpp,h}
2025-09-24 10:07:12 +02:00
Michael Steenbeek
df9e874e75 Fix missing word in changelog
[ci skip]
2025-09-23 23:56:47 +02:00
Gymnasiast
a03613df35 Change FilterPaletteID to lowerCamelCase 2025-09-23 21:09:54 +02:00
Gymnasiast
c3ac626cd5 Update kTranslucentWindowPalettes name, replace defines 2025-09-23 21:03:57 +02:00
Aaron van Geffen
253d8484bf Make S4Importer::CorrectRCT1ParkValue independent of global game state (#25178) 2025-09-23 19:40:27 +02:00
Michael Steenbeek
e9c8a76344 Merge pull request #25199 from spacek531/vehicle/cleanup-car-entry-flags
Convert legacy sprite groups to FlagHolder
2025-09-23 19:07:57 +02:00
Gymnasiast
73f31b707b Pass car by reference 2025-09-23 18:33:42 +02:00
Spacek531
e656602f83 Convert legacy sprite groups to FlagHolder 2025-09-23 18:33:42 +02:00
Michael Steenbeek
744c1fd5a3 Fix #25207: No switch to block sectioned mode after building one on the LIM LRC 2025-09-23 17:34:38 +02:00
Michał Janiszewski
41dd05ea43 Include crashing scenario in breakpad upload (#25204)
Fixes missing park for #25202
2025-09-23 15:40:46 +02:00
Gymnasiast
04af97ec74 Remove repository from IReadObjectContext, ObjectFileIndex and helper functions 2025-09-23 14:10:07 +02:00
Gymnasiast
f768d2873e Do not read from repository when loading objects 2025-09-23 14:09:09 +02:00
Michael Steenbeek
3e11a8efdf Fix #24998: Some custom small scenery objects do not load 2025-09-23 14:06:20 +02:00
Michael Steenbeek
9e02ba453e Merge pull request #25225 from Gymnasiast/feature/sprite-exportobject
Create `sprite exportobject` command
2025-09-23 13:58:33 +02:00
Michał Janiszewski
7f5a56e047 Update default permissions for pull requests (#25224)
Update permissions for actions for #25211 .

It needs to be done this way and *not* via token, because pull
requests have no access to secrets.

The default branch dictates what kind of access the default actions token has
(constrained by repo config in https://github.com/OpenRCT2/OpenRCT2/settings/actions)
2025-09-22 22:54:12 +02:00
Gymnasiast
73d3e4f0e3 Change "sprite exportalldat" into "sprite exportobject", take a filename instead of an already loaded DAT 2025-09-21 21:18:59 +02:00
Gymnasiast
161a8359fc Create function to create object from file 2025-09-21 21:18:22 +02:00
Aaron van Geffen
db5f56f4aa Scripting: order available costumes array by display name (#25228) 2025-09-21 15:31:36 +00:00
Aaron van Geffen
f9e9cefb46 Add missing getCostumeStrings to openrct2.d.ts (#25227) 2025-09-21 17:11:39 +02:00
rarbor
b160210259 Update name in contributors.md 2025-09-21 17:10:08 +02:00
matheusvb3
72c6908cf0 Check if we're in shop tab before drawing track design info 2025-09-21 17:06:12 +02:00
Michael Steenbeek
eb38b7227f Change WindowFlag to strong enum 2025-09-20 21:46:42 +02:00
matheusvb3
f60dac165f Don't print the trailing comma in sprite exportalldat JSON output 2025-09-20 13:35:53 +02:00
spacek531
e5aa3b33f2 Use regular interval for swing sprite threshold (#25171)
* use regular interval for swing sprite threshold

* bump network

* bump park file version
2025-09-20 09:39:50 +02:00
Michał Janiszewski
263857a752 Merge pull request #25212 from janisozaur/update-formatter
Update clang-format runner
2025-09-20 00:13:00 +02:00
Aaron van Geffen
80badee58d Skip drawing accessories whilst peep is clapping 2025-09-20 00:11:47 +02:00
Michał Janiszewski
37112e42b0 Add information about run-clang-format licence 2025-09-19 21:08:00 +02:00
Michael Steenbeek
77d330a004 Merge pull request #25205 from Gymnasiast/refactor/more-code-style-b
Refactor more UI code style
2025-09-19 16:15:30 +02:00
Michał Janiszewski
fdcfd8704b Mark git directory as safe for formatting job 2025-09-19 14:55:10 +02:00