1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-17 12:03:07 +01:00
Commit Graph

218 Commits

Author SHA1 Message Date
Gymnasiast
0cb04754fb Rename members of PeepActionType 2025-10-05 14:46:12 +02:00
Gymnasiast
082c777d34 Rename members of PeepRideSubState 2025-10-05 14:46:12 +02:00
Gymnasiast
159dc7aab0 Rename members of PeepState 2025-10-05 14:46:12 +02:00
Gymnasiast
aa84394e7b Rename fields of PeepAnimation 2025-10-05 01:27:23 +02:00
Gymnasiast
be23fbc98c Rename fields of SpriteBounds 2025-10-05 01:20:49 +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
80badee58d Skip drawing accessories whilst peep is clapping 2025-09-20 00:11:47 +02: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
Gymnasiast
28fbe83a27 Rename g_music_tracking_viewport to gMusicTrackingViewport 2025-09-17 20:10:11 +02:00
ζeh Matt
1b1f8123b9 Move Guest specific ThrowUp logic to Guest.cpp 2025-09-12 15:08:18 +03:00
ζeh Matt
977ec4517f Reduce scope of some variables 2025-09-12 14:52:34 +03:00
Aaron van Geffen
12ab9195b6 Rework EntityRegistry into class 2025-08-31 14:29:36 +02:00
matheusvb3
7b9f52b6c4 Fix check in Peep::IsOnLevelCrossing() (#25062)
* Fix crossing check

* Update network version

* Add changelog entry
2025-08-29 23:17:04 -03:00
Aaron van Geffen
f11d1e33d0 Move Scenario::Objective into its own unit; enum class ObjectiveType 2025-08-22 17:40:47 +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
Aaron van Geffen
26f13ca81d Move .peepWarningThrottle into ParkData struct 2025-08-13 23:22:07 +02:00
Aaron van Geffen
21504650d3 Move .total(IncomeFrom|)Admissions into ParkData struct 2025-08-13 23:02:11 +02:00
Aaron van Geffen
e6c0de0382 Move .numGuests(HeadingForPark|InParkLastWeek) into ParkData struct 2025-08-13 22:28:18 +02:00
Aaron van Geffen
e5ead99c83 Move .numGuestsInPark, .guestsInParkHistory into ParkData struct 2025-08-13 21:20:13 +02: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
04c75f6f8b Remove code duplication for stepping 2025-05-21 17:28:05 +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
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
ζeh Matt
c7fd5093d3 Further cleanup the code, restrict maximum iterations 2025-03-21 15:55:58 +02:00
ζeh Matt
e3015198e7 Cleanup and style refactor PeepFootpathMoveForward 2025-03-21 15:55:54 +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
ζeh Matt
e22c2eeb62 Cleanup the function PeepInteractWithPath 2025-03-20 21:23:31 +02:00
Michael Steenbeek
05b64985f4 Update Ride struct to new codestyle 2025-03-09 00:26:25 +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
Michael Steenbeek
b62f7763a6 Fix #14486: Guests falling if path after park entrance is an upward slope 2025-02-19 22:34:31 +01:00
73
c7c703515e Rename audio.h to Audio.h (#23842) 2025-02-17 13:24:03 +01:00
73
b9b2c96c97 Rename sprites.h to SpriteIds.h (#23804) 2025-02-13 15:51:46 +00:00
Aaron van Geffen
aeca38d131 Prevent drawing peep accessories whilst drowning (#23729) 2025-01-27 19:24:33 +01:00
Aaron van Geffen
cf448753c1 Move WindowInvalidate and WidgetInvalidate families into WindowManager (#23692)
* Move WindowInvalidate and WidgetInvalidate families into WindowManager

* Use InvalidateWidget shorthand in more places

* Cut back on UiContext includes

* Cut back on Window.h includes

* Remove outdated parameter comments
2025-01-25 13:46:08 +01:00
Aaron van Geffen
a8773dd805 Move WindowClose family into WindowManager (#23646)
* Replace WindowClose() calls with Close method calls where possible

* Move WindowClose family into WindowManager

* Remove UpdateSceneryGroupIndexes hack
2025-01-19 18:49:18 +01:00
Michael Steenbeek
be9f27e4f9 Mass rename constants (#23656) 2025-01-19 15:59:45 +00:00
Aaron van Geffen
bed4d5bdca Move WindowCreate and WindowFocusOrCreate into WindowManager (#23643)
* Move WindowBringToFront into WindowManager

* Move WindowCreate and WindowFocusOrCreate into WindowManager

* Cut back on Context/UiContext includes
2025-01-19 06:58:28 -03:00
Aaron van Geffen
6ed7fd461e Move isSlowWalking property to animation group level 2024-12-23 12:21:04 +01:00
Aaron van Geffen
cc668f080e Fix rendering balloons/hats/umbrellas held by guests 2024-12-19 09:26:39 +01:00
Aaron van Geffen
44a9f530f7 Separate RCT12PeepAnimationGroup further from PeepAnimationGroup 2024-12-09 19:43:05 +01:00