Commit Graph

24582 Commits

Author SHA1 Message Date
Michał Janiszewski cdb2c39d46
Fix #19275: Update NSIS to current version (v3.08) (#19594) 2023-03-08 06:12:57 +01:00
ζeh Matt ff1941eb8d
Fix #19586: Guests generated have potentially a large amount of money 2023-03-07 06:46:50 +02:00
Matthias Moninger 30e6eb9f08
Merge pull request #19422 from ZehMatt/string-duplicate
Remove String::Duplicate
2023-03-06 23:29:32 +02:00
Michał Janiszewski c1e5fda330
Fix path to AppImage file for upload (#19583) 2023-03-06 19:48:23 +02:00
Michał Janiszewski 60935c2047
Reduce amount of debug information in Linux builds (#19582) 2023-03-06 14:45:02 +01:00
Matthias Moninger 7e48b57d6a
Fix #18986: Sending remote scripts larger than 63KiB crashing all clients. (#19573)
* Fix #18986: Sending remote scripts larger than 63KiB crashing clients

* Add GetRemotePlugins in ScriptEngine

* Bump up network version

* Update changelog.txt
2023-03-06 13:50:05 +01:00
Michał Janiszewski e11a7c5384
Merge pull request #19560 from janisozaur/opensound-skip-download
Automatically download OpenSFX for Linux builds
2023-03-06 01:26:24 +01:00
Michał Janiszewski 484818ecd5
Rework build uploads to openrct2.org (#19552)
This is in line with latest changes to openrct2.org backend accepting
artifacts.
2023-03-06 02:25:55 +02:00
Michał Janiszewski 645f620c2c Scope zipversion cache files to their downloads 2023-03-05 23:06:01 +01:00
Johan Mattsson 0c8486f2d3
Fix potential index out of bounds (#19561) 2023-03-05 20:17:03 +00:00
Ernest Wong e9ecf6ee4a
Fix #19553: Undefined upkeep cost check uses new sentinel value (#19568)
* Fix #19553: Undefined upkeep cost check uses new sentinel value

Mistake from #19469
2023-03-05 20:16:31 +00:00
Michał Janiszewski 855659adc1 Automatically download OpenSFX for Linux builds
Allow skipping of download if prepopulated
2023-03-04 22:55:57 +01:00
Matthias Moninger b8966a83e3
Enable Large address awareness for 32-bit builds (#19549)
* Enable large address awareness for 32 bit builds allowing 4GiB memory

* Fix debug builds failing for 32 bit

* Update changelog.txt
2023-03-04 15:55:40 +00:00
Mathias Gibbens 6f7af78642
Fix #17069: Fix build on ppc64el architectures (#19555)
Co-authored-by: Mathias Gibbens <mathias@calenhad.com>
2023-03-04 12:51:08 -03:00
OpenRCT2 git bot f13bdd9b18 Merge Localisation/master into OpenRCT2/develop 2023-03-04 04:01:50 +00:00
Michał Janiszewski 07132b60dc
Restore arm64 MSVC builds in CI for upcoming release (#19550) 2023-03-03 23:48:31 +01:00
Matthias Moninger a85cf57bc8
Merge pull request #19548 from ZehMatt/staffllist-scroll
Fix #19545: Unable to scroll staff list with over 32768 staff
2023-03-03 23:25:02 +02:00
Michał Janiszewski 463234e59f
Allow skipping of OpenMusic download if prepopulated (#19542) 2023-03-03 20:22:55 +02:00
ζeh Matt 712cb49a8d
Fix #19545: Unable to scroll staff list with over 32768 staff 2023-03-03 20:19:39 +02:00
Duncan a018cb1ca5
Fix import of ride value (#19541)
The ride value undefined constant was changed causing all imports of the undefined value to be incorrect. We can fix the broken imports but can't fix the users of the broken value (gParkValue and its history)
2023-03-03 08:45:32 +00:00
Michael Steenbeek dd624f9bff
Replace remaining usages of money16, money32 (#19469)
* Use money64 for ride prices and shop items

* Use money64 for park entrance fee

* Use money64 for gGuestInitialCash

* Use money64 for upkeep costs

* Use money64 for ride value

* Use money64 for marketing campaign cost

* Use money64 for object prices

* Use money64 for land prices

* Use money64 for guest expenditure

* Replace remaining occurrences of money32 with money64

* Update replays

* Bump network version

---------

Co-authored-by: duncanspumpkin <duncans_pumpkin@hotmail.co.uk>
2023-03-02 21:55:42 +00:00
Michael Steenbeek 6a89dfbfe9
Fix #19434, #19509: OpenRCT2 object types not removed by ‘remove_unused_objects’ (#19511)
* Add ObjectTypeIsTransient() and ObjectTypeIsIntransient()

* Fix #19434, #19509: remove_unused_objects does not remove OpenRCT2 types
2023-03-02 19:26:19 +00:00
Matthias Moninger e26a18f8b9
Merge pull request #19493 from ZeeMajora/rct1-color-imports
Fix RCT1 color imports
2023-03-02 17:08:43 +02:00
ZeeMajora 2887104707
Fix some RCT1 vehicle colour imports
Fixes a few errors in the vehicle colours table used for RCT1 imports, they are:
Both steam trains third colour should be yellow (the bell and some other details)
Suspended swinging airplane cars third colour should copy colour 2 (the restraints are colour 2 in RCT1 but colour 3 in RCT2)
Reverse freefall car colour 3 should copy colour 1 (the front bits are the same as colour 1 in RCT1)
Vertical drop trains colour 3 should copy colour 2 (the bottom metal bar is the same as colour 2 in RCT1)
Sitdown twister train colour 2 should copy colour 1, colour 3 should copy colour 2 (restraints are colour 2 in RCT1 but colour 3 in RCT2)
Laydown trains colour 3 should copy colour 2 (part of the restraint, it uses colour 2 in RCT1)
Hyper-twister trains colour 3 should copy colour 1 (the lap bar, it uses colour 1 in RCT1)
Face-off trains colour 3 should copy colour 2 (the restraints use colour 2 in RCT1 but colour 3 in RCT2)
River rafts colour 3 should copy colour 2 (the top of the roof uses colour 2 in RCT1 but colour 3 in RCT2)
2023-03-02 09:40:40 +01:00
Michael Steenbeek 4a78fd772c
Fix #19524: Incorrect staff count beyond 32767 (#19530) 2023-03-01 20:58:15 +00:00
Matthias Moninger c3bd837c42
Fix #19517: Crash when peeps try to exit or enter a hacked ride (#19518)
* Fix #19517: Crash when peeps try to exit or enter a hacked ride

* Update changelog.txt
2023-03-01 08:31:20 +00:00
Michael Steenbeek 2a8872018b
Close #13780: Refactor MapGen to class (#19477) 2023-03-01 08:26:30 +00:00
OpenRCT2 git bot c38e9b59b0 Merge Localisation/master into OpenRCT2/develop 2023-03-01 04:01:56 +00:00
Michał Janiszewski 3e3f1d3cfd
Remove Windows Vista from systems claimed as supported (#19520)
It was reported OpenRCT2 stopped working on Vista with 0.4.2 release due
to `CoGetApartmentType` and `TryAcquireSRWLockExclusive` symbols linked
in statically.

This commit simply removes references to Vista as a supported system.
2023-02-28 21:42:41 +00:00
Michael Steenbeek 0674d9527c
Fix #19475: Cannot increase loan when in debt (#19478)
* Small refactor of ParkSetLoanAction

* Fix #19475: Cannot increase loan when in debt
2023-02-28 20:34:18 +00:00
Matthias Moninger d18de99579
Merge pull request #19515 from ZehMatt/fix-large-list
Fix window scrollbar not able to navigate to the end of large lists
2023-02-28 22:34:06 +02:00
Matthias Moninger 71e2618265
Merge pull request #19514 from ZehMatt/hire-staff-complexity
Improve performance of hiring staff and its window
2023-02-28 22:33:28 +02:00
Matthias Moninger 59875eb409
Merge pull request #19480 from Gymnasiast/refactor/dpi-string
Pass DPI by ref to string drawing
2023-02-28 22:27:51 +02:00
Michał Janiszewski 7459ba0efe
GCC 13 fixes (#19519)
This addresses issues when compiling with GCC 13
2023-02-28 21:04:52 +02:00
Michał Janiszewski 38783c0c1d
Improve build uploading (#17401)
There have been changes to how incoming builds are getting classified
on openrct2.org side, see
e5b738f3da/src/misc/releaseAsset.js (L94-L116),
rendering the 'flavour' mechanism obsolete. Additionally, AppImage
should now be accepted as well.
2023-02-28 21:01:42 +02:00
Matthias Moninger 3b86a27137
Merge pull request #19496 from ZehMatt/backtrace-commit
Remove code tag for commit hash in issues for backtrace reports
2023-02-28 17:56:24 +02:00
ζeh Matt f062c64876
Apply review suggestions 2023-02-28 17:27:20 +02:00
ζeh Matt 8777ba0195
Improve performance staff list 2023-02-28 16:33:59 +02:00
ζeh Matt 16cc1d3eb9
Change loop for searching free staff id from O(N^2) to O(N*log(N)) 2023-02-28 16:32:42 +02:00
ζeh Matt c0905857b7
Update changelog.txt 2023-02-28 16:28:49 +02:00
Matthias Moninger 4f361bf37f
Merge pull request #19516 from ZehMatt/fix-stale-workflow
Ensure the stale action has no defaults
2023-02-28 16:17:20 +02:00
ζeh Matt acbb06fcbf
Ensure the stale action has no defaults 2023-02-28 15:46:31 +02:00
ζeh Matt 320894971f
Fix window scrollbar not able to navigate to the end of large lists 2023-02-28 06:21:15 +02:00
ζeh Matt fec5314da4
Remove code tag for commit hash in issues for backtrace reports 2023-02-28 02:34:45 +02:00
Michael Steenbeek 291a778720
Remove unused WaveFormat and WaveFormatEx structs (#19512) 2023-02-27 23:29:42 +01:00
Matthias Moninger edde337177
Merge pull request #19465 from Gymnasiast/refactor/cmd-line-consistent
Close #19176, close #19273: Consistent “CmdLine” naming
2023-02-27 18:54:38 +02:00
Hielke Morsink 8a5d3ff9a3
Cleanup changelog inconsistencies (#19504) 2023-02-27 08:16:29 -03:00
OpenRCT2 git bot 85bc32af75 Merge Localisation/master into OpenRCT2/develop 2023-02-27 04:02:17 +00:00
Andrew 0da9693e15
Fix blank row getting added at exactly 19 scenery groups (#19502) 2023-02-26 21:29:00 +00:00
Matthias Moninger c062f59d33
Merge pull request #19447 from ZehMatt/fix-19445
Fix #19445: Text not cleared using Ctrl+Backspace
2023-02-26 19:22:12 +02:00