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

254 Commits

Author SHA1 Message Date
Gymnasiast
0cb04754fb Rename members of PeepActionType 2025-10-05 14:46:12 +02:00
Gymnasiast
e3204c95e6 Rename members of PeepUsingBinSubState 2025-10-05 14:46:12 +02:00
Gymnasiast
082c777d34 Rename members of PeepRideSubState 2025-10-05 14:46:12 +02:00
Gymnasiast
e0f7c120b4 Rename members of PeepSittingSubState 2025-10-05 14:46:12 +02:00
Gymnasiast
159dc7aab0 Rename members of PeepState 2025-10-05 14:46:12 +02:00
Gymnasiast
be23fbc98c Rename fields of SpriteBounds 2025-10-05 01:20:49 +02:00
Gymnasiast
ee67a827c0 Rename members of AnimationPeepType 2025-10-05 01:10:06 +02:00
matheusvb3
d8da02e7dd Make peeps not stop on level crossings (#25089)
* Check if actions can be performed safely

* Add explanatory comment

* Refactor Easter egg logic in Guest::UpdateWalking

* Add changelog entry

* Make the comment more explanatory

* Update NetworkBase.cpp

* Update changelog for v0.28
2025-10-04 22:52:26 +00:00
Gymnasiast
45912ec9a3 Rename members of SoundId 2025-10-01 20:35:34 +02:00
Aaron van Geffen
f289cd3e79 Make frozen guests no longer finish food or drinks (#25251) 2025-09-24 17:02:43 +00:00
Gymnasiast
a662c5ef8e Change WindowClass members to use lowerCamelCase 2025-09-17 23:18:52 +02:00
Gymnasiast
3a803e13e2 Change window functions to use lowerCamelCase 2025-09-17 20:10:12 +02:00
Aaron van Geffen
531cb68727 RideManager: use explicit game state rather than using implicit global 2025-09-11 13:42:18 +02:00
ζeh Matt
1b1f8123b9 Move Guest specific ThrowUp logic to Guest.cpp 2025-09-12 15:08:18 +03:00
matheusvb3
e4aa9c6920 Change some fields related to the spiral slide 2025-09-07 12:01:01 +00:00
spacek531
2fa20a2f3d Separate flat ride and tracked ride users of pitch and roll fields
In preparation for strong-typing the pitch and roll enums, unions are created to properly document which users of the field are flat rides.
2025-09-07 12:06:49 +02:00
spacek531
02ce098a2f Rename bank_rotation to roll, Pitch to pitch 2025-09-06 23:56:29 +02:00
Aaron van Geffen
5a4cc7d00d Remove Network function name prefixes given namespace qualifiers 2025-08-31 16:02:43 +02:00
Aaron van Geffen
12ab9195b6 Rework EntityRegistry into class 2025-08-31 14:29:36 +02:00
matheusvb3
aaa4ae05f4 Make guests in mazes not jump during heavy snow or blizzard (#25024) 2025-09-02 19:23:04 +02:00
Aaron van Geffen
f11d1e33d0 Move Scenario::Objective into its own unit; enum class ObjectiveType 2025-08-22 17:40:47 +02:00
Aaron van Geffen
aa35ec07cd Introduce Scenario::Options struct; move cash and guest options 2025-08-22 15:57:33 +02:00
matheusvb3
4b9a4ae604 Add ClimateIsPrecipitating() 2025-08-22 08:15:26 +02:00
Gymnasiast
61df9eaf9a Update ExpenditureType enum to new code style 2025-08-21 22:12:41 +02:00
Gymnasiast
9c810d9e32 Update ParkData fields to new code style 2025-08-21 22:12:41 +02:00
Tulio Leao
80b5187da9 Rename ride_rating to RideRating_t 2025-08-17 08:49:03 -03:00
Tulio Leao
8a542a348d Move MakeRideRating into namespace 2025-08-17 08:47:21 -03:00
matheusvb3
8dd7b7976f Prevent ride and stall statistics from overflowing (#24378)
* Prevent ride and stall statistic from overflowing

Clamps guestsFavourite, totalCustomers, lastInspection, totalProfit, numPrimaryItemsSold and numSecondaryItemsSold

* Change line of comment in Ride.h

This caused the tooltip with the comment to appear when hovering over notFixedTimeout instead of breakdownSoundModifier in Visual Studio

* Remove redundant overflow prevention

* Invalidate maintenance tab

Missed this before. Also fix an issue I inadvertently caused with PR #23719 when updating the count of vandals stopped

* Deduce lastInspection type in compile time

* Add changelog entry
2025-05-31 03:10:36 +03:00
Gymnasiast
d2615beb6e Change News enums to use lowerCamelCase 2025-05-24 23:47:18 +02:00
ζeh Matt
98c058be1c Make some members static functions 2025-05-21 22:27:14 +03:00
ζeh Matt
8c6ba00494 Couple more places 2025-05-21 21:59:31 +03:00
ζeh Matt
eb9cf26f1b Pass guest by reference, rename parameter 2025-05-21 21:48:46 +03:00
ζeh Matt
5a98133c1d Handle peep state directly in the update switch 2025-05-21 17:32:35 +03:00
ζeh Matt
04c75f6f8b Remove code duplication for stepping 2025-05-21 17:28:05 +03:00
ζeh Matt
db23e69597 Remove useless checks 2025-05-21 17:23:30 +03:00
ζeh Matt
f475ef050f Start splitting Peep::Update into Staff::Update and Guest::Update 2025-05-21 17:15:38 +03:00
Aaron van Geffen
99836faeff Rename Window_internal unit to WindowBase for consistency (#24163) 2025-04-06 17:43:36 +02:00
Gymnasiast
eaaba9fbfb Rename HOOK_TYPE and its members 2025-03-26 12:16:47 +01:00
Gymnasiast
fa15bc56d2 Rename INVALID_DIRECTION to kInvalidDirection 2025-03-25 22:47:08 +01:00
Matt
94be70f8a8 Merge pull request #24034 from Gymnasiast/refactor/gamestate-t-lower-camel-case
Change GameState_t members to lowerCamelCase
2025-03-21 23:32:02 +02:00
Gymnasiast
4badffcdb6 Change GameState_t members to lowerCamelCase 2025-03-20 23:05:57 +01:00
ζeh Matt
cac21504cd Refactor PerformNextAction, we don't need a wrapper 2025-03-20 21:23:32 +02:00
Aaron van Geffen
2ce206ed03 Move item temperature thresholds to climate objects 2025-03-07 18:57:00 +01:00
Michael Steenbeek
05b64985f4 Update Ride struct to new codestyle 2025-03-09 00:26:25 +01:00
Gymnasiast
3c35debafe Rename RIDE_VALUE_UNDEFINED to kRideValueUndefined 2025-03-06 23:30:57 +01:00
Gymnasiast
114e8da200 Update RideMode to current code style 2025-03-06 23:01:47 +01:00
Gymnasiast
e35c7fdb5c Update RideStatus to current code style 2025-03-06 23:01:46 +01:00
Michael Steenbeek
06c1fed4f7 Refactor gScreenFlags to LegacyScene enum 2025-03-05 20:45:04 +00:00
Aaron van Geffen
a380413c56 Remove Scenario.h include from many units (#23901)
* Reduce includes/dependencies for Scenario.h

* Remove Scenario.h include from many units
2025-03-01 17:32:32 +01:00
73
a976a43708 Rename network.h to Network.h (#23882) 2025-02-24 10:43:06 +01:00