Commit Graph

26488 Commits

Author SHA1 Message Date
Bas
908130cca1 Do not run ScriptEngine.Tick() during initialisation/preloading 2024-07-06 19:40:50 +02:00
Aaron van Geffen
f4723e515e Initialise script engine off main thread 2024-07-06 16:36:08 +02:00
lewyche
78300a80dd Fix #22185: Intensity and nausea are incorrectly sorted in the rides list after ratings invalidation
Co-authored-by: Michael Steenbeek <1478678+Gymnasiast@users.noreply.github.com>
2024-07-06 16:27:18 +02:00
Aaron van Geffen
447bb865a4 Merge pull request #22210 from AaronVanGeffen/peep-refactor
Introduce peep flags for fixed position and animation
2024-07-06 16:08:08 +02:00
Aaron van Geffen
7adf817fa6 Amend changelog 2024-07-06 15:16:08 +02:00
Aaron van Geffen
83e5aeb9c5 Increment versions for park format, script engine, network for new flags 2024-07-06 15:14:12 +02:00
Michael Steenbeek
fb4c1451e4 Fix #22226: Traffic light shows incorrect sprite 2024-07-06 14:23:10 +02:00
Aaron van Geffen
90dee86267 Constrain plugins to normal range when assigning ride prices (#22227)
* Constrain plugins to normal range when assigning ride prices

* Introduce kRideMinPrice, kRideMaxPrice

* Adjust RideSetPriceAction to fail in case of invalid price

* Add changelog entry
2024-07-06 09:39:00 +00:00
Michael Steenbeek
7e014753b1 Fix #21533: Hybrid C diagonal incline support glitch (#22223) 2024-07-05 20:22:13 +02:00
Aaron van Geffen
f2c266d310 Allow scripts to manipulate peep directions 2024-07-05 15:46:03 +02:00
Michael Steenbeek
4204d767bb Merge pull request #22220 from Gymnasiast/refactor/more-track-4
Sync more TrackDesign fields with their Ride counterparts
2024-07-05 10:41:47 +02:00
Gymnasiast
02d41c83cc Simplify TD6 struct 2024-07-04 01:14:00 +02:00
Gymnasiast
6d8ffeb99c Fix formatting 2024-07-04 00:29:41 +02:00
Gymnasiast
64230380af Sync more TrackDesign fields with their Ride counterparts 2024-07-04 00:29:41 +02:00
Gymnasiast
624aa53038 Pass TrackDesign by reference 2024-07-04 00:29:41 +02:00
Gymnasiast
3977841dd9 Move track and vehicle settings to their own struct 2024-07-04 00:29:41 +02:00
Gymnasiast
e47f526067 Move variables not saved in the track design to their own struct 2024-07-04 00:29:40 +02:00
Gymnasiast
56accb3790 Use RatingTuple across the codebase 2024-07-04 00:29:40 +02:00
Aaron van Geffen
7dcedfb260 Prevent having ANIMATION_FROZEN set while POSITION_FROZEN is not 2024-07-03 23:09:56 +02:00
Michael Steenbeek
c46701983b Merge pull request #22216 from Gymnasiast/refactor/more-track-3
More track design refactors
2024-07-03 09:33:02 +02:00
Aaron van Geffen
658529464b Ignore partially hidden sprites for viewport interaction (#22217) 2024-07-02 23:18:38 +02:00
Gymnasiast
bc13b46f96 Do not use td6 as a variable name for TrackDesign 2024-07-02 22:35:20 +02:00
Gymnasiast
9a616cd055 Remove vehicleType parameter (not used by OpenRCT2 and RCT2) 2024-07-02 22:35:20 +02:00
Gymnasiast
918ccf4c63 Move track design operations to its own struct 2024-07-02 22:35:20 +02:00
Gymnasiast
2c7d2fff7c Move track design appearance to its own struct 2024-07-02 22:35:19 +02:00