27657 Commits

Author SHA1 Message Date
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
Gymnasiast
2c6491f34a Move track design statistics to their own struct 2024-07-02 17:08:05 +02:00
Gymnasiast
5fa007eb3b Make TrackDesignTrackElement adhere to new coding style 2024-07-02 16:45:32 +02:00
Gymnasiast
fe76427bf3 Make TrackDesignTrackElementFlag adhere to new coding style 2024-07-02 16:35:45 +02:00
Gymnasiast
2372ae39bd Make TrackDesignState adhere to new coding style 2024-07-02 16:30:04 +02:00
Stephan Spengler
e96c999c43 Fix typo in Viewport.cpp (#22215) 2024-07-02 22:33:20 +10:00
OpenRCT2 git bot
19c666479c Merge Localisation/master into OpenRCT2/develop 2024-07-02 04:02:04 +00:00