1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-19 13:03:11 +01:00
Commit Graph

26481 Commits

Author SHA1 Message Date
Aaron van Geffen
7dcedfb260 Prevent having ANIMATION_FROZEN set while POSITION_FROZEN is not 2024-07-03 23:09:56 +02:00
Aaron van Geffen
666e8a1518 Prevent assigning invalid energy values to peeps 2024-06-29 16:05:54 +02:00
Aaron van Geffen
0efbf7f5ea Split off Update{Action,Walking}Animation and use for frozen peeps 2024-06-29 15:25:40 +02:00
Aaron van Geffen
ed6bde7d56 Introduce peep flags for static positions and animations 2024-06-29 14:42:09 +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
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
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
Aaron van Geffen
55474dd7ee Merge pull request #22211 from AaronVanGeffen/peep-refactor2
Misc peep function refactor work
2024-07-01 17:53:52 +02:00
Aaron van Geffen
766da9789f Name walkingOffsetByDirection 2024-07-01 17:30:14 +02:00
Aaron van Geffen
15ee05dfb0 Rename kNumOrthogonalDirections constant 2024-07-01 17:29:37 +02:00
Aaron van Geffen
b30acc6ae9 Reduce nesting in Tick128UpdateGuest 2024-07-01 17:29:37 +02:00
Aaron van Geffen
27be62d8d5 Minor simplification of energy update logic 2024-07-01 17:29:37 +02:00
Aaron van Geffen
f4cd1f18c8 Rename Guest::Loc68F9F3 to UpdateMotivesIdle 2024-07-01 17:29:37 +02:00
Aaron van Geffen
fe655cdc26 Rename Guest::Loc68FA89 to UpdateConsumptionMotives 2024-07-01 17:29:36 +02:00
Arnold Zhou
58e576688c Amend changelog (#22214) 2024-07-01 13:20:00 +10:00
Brad Smith
6af7f258e0 Fix building on *BSDs
None of the *BSD's have the alloca.h header.
2024-06-29 23:56:33 +02:00
mrmbernardi
b4a38e42ce Close #22173: Patrol path tiles change colour to show selection. (#22201) 2024-06-29 16:54:32 +00:00
OpenRCT2 git bot
30a9ade6ae Merge Localisation/master into OpenRCT2/develop 2024-06-28 04:01:52 +00:00
OpenRCT2 git bot
ae9ebe97d4 Merge Localisation/master into OpenRCT2/develop 2024-06-27 04:02:06 +00:00
Arnold Zhou
4975e79bac Close #22171: Make track section navigation buttons holdable 2024-06-26 08:33:14 +02:00
Michael Steenbeek
d53b6922a3 Close #21774: Enable alternative colour schemes on Alpine RC 2024-06-25 12:19:41 +02:00
Michael Steenbeek
a4839ea975 Merge pull request #22194 from Gymnasiast/fix/22161
Fix #22161: Using arrow keys in textboxes crashes the game
2024-06-25 12:19:23 +02:00
spacek531
4e72d580f8 Allow non-networked plug-ins to set pause state directly 2024-06-25 11:36:01 +02:00
UnknownShadow200
232f37e186 Fix #22161: Using arrow keys in textboxes crashes the game 2024-06-25 11:23:23 +02:00
Arnold Zhou
889139976f Fix #22174: Cheats are reset when starting a server 2024-06-25 08:17:45 +02:00
OpenRCT2 git bot
557f926e0f Merge Localisation/master into OpenRCT2/develop 2024-06-25 04:02:11 +00:00
Arnold Zhou
1cd8ed4ade Close #22179: Create strong enum for PTD_OPERATION_* 2024-06-24 09:25:11 +02:00
Arnold Zhou
6c12eed204 List @mrmagic2020 as Chinese (Simplified) translator 2024-06-24 09:08:15 +02:00
OpenRCT2 git bot
8a031b49fb Merge Localisation/master into OpenRCT2/develop 2024-06-24 04:02:10 +00:00
Arnold Zhou
a0f5d09408 Expose monthly expenditure history to plug-in API 2024-06-23 22:49:49 +02:00