Commit Graph

26488 Commits

Author SHA1 Message Date
icy17
75fb313e5a Fix #19279: Memory leak in Zip.cpp upon error (#19283)
* fix memleak

* Replace deprecated functions and throw on error

---------

Co-authored-by: ζeh Matt <5415177+ZehMatt@users.noreply.github.com>
2023-03-09 18:07:33 -03:00
spacek531
fdbc3d29bb steam position modifier and animation speed properties (#11269)
* Add speed and frame properties

* add steam position modifier

* copy code from OpenLoco

* update sin and cos

* add computation function

* finalize locomotion code

* fix formatting

* refine code

* refactor things slightly

* manually fix formatting

* use PascalCase and rename

* fix copyright notice

* fix name again

* rename function, move outt  of namespace

* fix rebase issues

* remove pitch table derived from physics

* rename some stuff

* flip vertical component sign to make sense

* change json structure

* create steam particles based on number of animation frames

* fix formatting

* add slope for spiral lift hill down

* fix formatting again

* parens around bitwise and

* make animations separate functions

* rename MultiDimCoaster to MultiDimension

* use EnumValue method

* rework multidim frame count

* bump network to be safe

* fix formatting

* move array out of function

* make table const

* move struct into RideObject.cpp

* try new method to fix numbers in multidim

* implement ZehMatt modulo

* add documentation to new function

* include Yaw.hpp

* rename src/ride/SteamPosition.hpp to src/math/Trigonometry.hpp

* actually add src/math/Trigonometry.hpp

* move ComputeSteamOffset to Vehicle.cpp

* use static asserts on arrays

* fix changelog grammar

* add more static asserts
2023-03-09 15:45:45 +02:00
Matthias Moninger
2ac5e070c1 Fix #19601: Crash hiring staff with auto placement turned off (#19602) 2023-03-09 12:04:19 +00:00
Matthias Moninger
68b92ba7d6 Merge pull request #19587 from ZehMatt/fix-19586
Fix some issues regarding money64 change
2023-03-09 00:47:12 +02:00
duncanspumpkin
b2efb3a6f7 Update replays 2023-03-08 22:09:01 +00:00
duncanspumpkin
58247ce5c1 Bump network version 2023-03-08 22:05:35 +00:00
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