Commit Graph

24768 Commits

Author SHA1 Message Date
ζeh Matt d6be08a410
Apply review suggestions 2023-02-22 15:58:05 +02:00
Michael Steenbeek 28476cb9a9
Raise max objective guests to 50000 2023-02-22 13:43:26 +01:00
Michael Steenbeek 767d65f101
RideConstruction: Create constant for group box width (#19461) 2023-02-22 09:08:44 -03:00
ζeh Matt ef8d08c5e5
Add assert to test if the ride slot is actually free 2023-02-22 00:01:44 +02:00
ζeh Matt 6a5bfa5cad
Ensure all rides names are cleared on map load 2023-02-21 23:45:11 +02:00
ζeh Matt b1667d3423
Use a dedicated Ride instance for previews 2023-02-21 23:44:03 +02:00
ζeh Matt d60890f7e5
Use ride id to determine if the slot is unused 2023-02-21 23:29:59 +02:00
ζeh Matt 063d97f4f2
Use fixed size storage for Rides, cleanup interface a bit 2023-02-21 23:20:48 +02:00
Michał Janiszewski 4e45c0176c
Update commitlint-github-action to latest version (#19452) 2023-02-21 13:21:13 +01:00
Nick Graham 980555bc89
Install OpenMusic by default in Linux (#19247)
* Add OpenMusic and OpenSoundEffects install options to CMakeLists

* Fix #19160: Import OpenMusic by default on Linux

Required to open park files using music found in OpenMusic repository
2023-02-21 12:19:22 +01:00
OpenRCT2 git bot 618c5bd4a7 Merge Localisation/master into OpenRCT2/develop 2023-02-21 04:02:02 +00:00
Matthias Moninger 6f1a1f29c1
Merge pull request #19444 from ZehMatt/stale-fix
Fix stale backtrace issues not being commented, increase operation count
2023-02-20 22:37:52 +02:00
ζeh Matt ebd56f45ce
Fix stale backtrace issues not being commented, increase operation count 2023-02-20 22:13:39 +02:00
Matthias Moninger ef25274560
Merge pull request #19442 from Gymnasiast/fix/launchpad-build-error
Add missing null check
2023-02-20 00:33:27 +02:00
Matthias Moninger 6b7b80f71a
Add workflow to manage stale PRs 2023-02-19 22:19:03 +00:00
Gymnasiast ee7b9ae6b0
Add missing null check 2023-02-19 23:06:05 +01:00
ζeh Matt 60bd8a4f3a
Fix crash at scenario completion 2023-02-19 23:59:16 +02:00
ζeh Matt b057f0fe82
Remove memset 2023-02-19 23:59:15 +02:00
ζeh Matt 1f03bc89d7
Remove unused String::Duplicate 2023-02-19 23:59:15 +02:00
ζeh Matt b465b9d6e5
Use string to store ScenarioIndexEntry name 2023-02-19 23:59:15 +02:00
ζeh Matt 1b216c4d01
Use string to store ScenarioIndexEntry filename 2023-02-19 23:59:15 +02:00
ζeh Matt a0bc5d9f3f
Remove unused functions 2023-02-19 23:59:15 +02:00
ζeh Matt a7ef031430
Remove String::Duplicate in TextComposition.cpp 2023-02-19 23:59:15 +02:00
Michał Janiszewski f893a60ec5
Install pkg-config on macOS CI (#19440) 2023-02-19 22:29:25 +01:00
OpenRCT2 git bot bff191c178 Merge Localisation/master into OpenRCT2/develop 2023-02-18 04:02:40 +00:00
OpenRCT2 git bot f5265109c8 Merge Localisation/master into OpenRCT2/develop 2023-02-17 04:02:02 +00:00
Hielke Morsink 3e713e5c2f
Fix memory leak in GetFileName (#19420) 2023-02-16 19:45:48 +00:00
kyphii a428f20d46
Fix #19243: .park scenarios don't complete properly (#19411)
* Check for .park scenario during scenario completion

* Update changelog

---------

Co-authored-by: Trevor Finney <8711258+finneyt@users.noreply.github.com>
2023-02-16 05:39:31 +00:00
Michael Steenbeek 583b4ed0e6
Replace GfxDrawStringNoFormatting() (#19414)
* Replace GfxDrawStringNoFormatting()

* Unwrap static DrawText overload
2023-02-15 22:44:22 +00:00
Duncan b56748bc82
ObjectEntry Cleanup. FootpathItem, SceneryGroup, Water, LargeScenery (#19385)
* Move footpathitem entry into new getter

* Move scenery group entry into new getter

* Move water entry into new getter

* Move large scenery entry into new getter

* Remove unused header includes

* Fix compile issue

* Include missing header from vcxproj
2023-02-15 21:35:16 +00:00
Michael Steenbeek eb33147013
Bump network version for #19401 (#19410) 2023-02-15 11:34:03 +00:00
Raymond Zhao a19cd214e7
Introduce mph literal for velocities 2023-02-15 10:40:46 +01:00
OpenRCT2 git bot 5f59e6fd1e Merge Localisation/master into OpenRCT2/develop 2023-02-15 04:02:04 +00:00
Duncan 93b5cabb9e
Merge pull request #19399 from Gymnasiast/refactor/wooden-rc-track-paint
Update WoodenRCTrackPaint() signature
2023-02-14 23:01:29 +00:00
Michael Steenbeek 5fbd3e6ea5
Merge pull request #19401 from Gymnasiast/feature/better-clearances
Allow shops and stalls to set their own clearances
2023-02-14 23:56:43 +01:00
Michael Steenbeek 3ac7858549
Fix #7210: Land tile smoothing occurs with edge tiles (#19400) 2023-02-14 22:09:36 +00:00
Michael Steenbeek b4dc2d3fe6
Fix #19339: Incorrect import of crashed particles from SV4 (#19404) 2023-02-14 22:08:42 +00:00
John R Patek Sr 6e9c10167e
Refactor TopToolbar to class (#19043) 2023-02-14 21:19:42 +00:00
Andrew ef730aa56c
Fix #14635: Show more scenery tab groups in rows (#19373) 2023-02-14 20:57:11 +00:00
Matthias Moninger d767d5e410
Merge pull request #19391 from CookiePLMonster/asan-fixes
Fix broken string wrapping and language loading
2023-02-14 16:55:49 +02:00
Gymnasiast d450a85c5b
Update WoodenRCTrackPaint() signature
Make the signature reflect the arguments and order of PaintAddImage*
2023-02-14 09:57:19 +01:00
Gymnasiast 8b2d3937fd
Clean up call to PaintAddImageAsParent() 2023-02-14 09:57:19 +01:00
Silent 0763fd5a78
Fix GfxWrapString potentially corrupting the in/out buffer
Fixes a consistent assertion when displaying "Cannot start construction"
in Japanese, but it has potential fix countless other crashes
related to string wrapping/display.
2023-02-14 09:50:05 +01:00
Silent 8216d00522
Set the container type in LanguagePack::FromFile to std::string
The code interpreting fileData assumes the string has a valid null terminator,
which is not guaranteed by std::vector, but is guaranteed by std::string.
2023-02-14 09:50:05 +01:00
ACGNnsj d3ea4bfbc8
Remove Duplicated Preprocessor Macro Definition (#19376)
* Update openrct2.common.props

Remove duplicated preprocessor macro definition of _USE_MATH_DEFINES which defined in src/openrct2/common.h and SDL2/SDL_stdinc.h

* Remove the definition of _USE_MATH_DEFINES from 'common.h'
2023-02-14 08:19:58 +00:00
Michael Steenbeek 8a0a4819ca
Close #19393: Replace PaintMonorailCyclesUtil7C() (#19395) 2023-02-14 08:14:47 +00:00
Michael Steenbeek bd84d626c9
Clean up PaintAddImageAsChildRotated() (#19394) 2023-02-14 08:13:56 +00:00
OpenRCT2 git bot 4f00fbcea2 Merge Localisation/master into OpenRCT2/develop 2023-02-14 04:02:18 +00:00
Gymnasiast e585f1a633
Base shop/facility bounding box on actual height 2023-02-14 01:05:13 +01:00
Gymnasiast 23a5044509
Allow shops and stalls to set their own clearances 2023-02-14 00:52:21 +01:00