1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-24 00:03:11 +01:00
Commit Graph

28754 Commits

Author SHA1 Message Date
Aaron van Geffen
a053a84486 Move all object units into OpenRCT2 namespace (#24980)
* Move all object units into OpenRCT2 namespace

* Dealing with fallout, part 1

* Dealing with fallout, part 2

* Dealing with fallout, part 3

* Apply clang-format in a few more places

* Remove redundant 'virtual' keyword
2025-08-17 06:46:03 -03:00
Tulio Leao
a6d8c623af Move kRideRatingUndefined into namespace 2025-08-17 06:41:30 -03:00
Tulio Leao
c86183bf3b Move RideRatingUpdateState into namespace 2025-08-17 06:37:49 -03:00
Tulio Leao
67b8b09244 Move RatingTuple into namespace 2025-08-17 06:27:07 -03:00
Tulio Leao
df68e84549 Move RideRatingUpdateStates into namespace 2025-08-17 06:27:07 -03:00
Tulio Leao
36f45b0991 Sanitize RideRatings.h includes 2025-08-17 06:27:07 -03:00
Tulio Leao
74e329c015 Move RideRatingsUpdateAll into namespace 2025-08-17 06:27:02 -03:00
Tulio Leao
ad375907b1 Move RideRatingsUpdateRide into namespace 2025-08-17 06:18:15 -03:00
mix
b3b9abb6d5 Fix multi dimension quarter loops blocking supports incorrectly 2025-08-17 08:34:00 +01:00
mix
98ce44aeb2 Fix #23440: Quarter loops do not block metal supports correctly 2025-08-17 08:33:59 +01:00
OpenRCT2 git bot
80b03b1502 Merge Localisation/master into OpenRCT2/develop 2025-08-17 04:10:40 +00:00
Tulio Leao
3874cf4c91 Move RideRatingResetUpdateStates into namespace 2025-08-16 07:09:04 -03:00
Tulio Leao
e72339cbbf Move RIDE_RATING_STATION_FLAG_NO_ENTRANCE to source file 2025-08-16 07:09:04 -03:00
OpenRCT2 git bot
3e8ea34507 Merge Localisation/master into OpenRCT2/develop 2025-08-16 04:04:40 +00:00
Matt
429118c60c Merge pull request #24978 from mixiate/fix-24151
Fix #24151: Sprites are cut off by 1 row of pixels when using OpenGL on Intel Macs
2025-08-16 02:52:36 +03:00
Michał Janiszewski
eb5dababc9 Fix a crash when closing windows would open other windows (#24972)
This could happen when trying to open a ride, which does not have
entrance or exit, from the ride list window. The `OnClose` handler would
want to open a window for placing said elements causing invalidation of
the window list.

20ac77904b/src/openrct2-ui/windows/RideConstruction.cpp (L324)
2025-08-16 01:07:07 +03:00
mix
b62b9e853d Fix #24151: Change OpenGL shader gl_FragCoord use to not require layout 2025-08-15 22:01:46 +01:00
Michał Janiszewski
5a8150a941 Fix #18048: Play music from all ride's stations (#24722) 2025-08-15 20:05:59 +00:00
Michał Janiszewski
b32d29330b Fix #24888: Add search for ride list (#24890)
* Fix #24888: Add search for ride list

* Cache ride name

* Hide unwanted ride list entries rather than rebuilding the list

* Minor touchups

* Display count of filtered rides/stalls in ride list

---------

Co-authored-by: Aaron van Geffen <aaron@aaronweb.net>
2025-08-15 18:51:14 +02:00
mix
1436d8ef2a Raise the Go-Karts maximum support height by 1 (#24974) 2025-08-15 13:43:08 -03:00
mix
6ed3783e06 Prevent diagonal slopes from being built if vehicles lack sprites (#23351) 2025-08-15 10:26:50 -03:00
mix
20ac77904b Add tunnels to dive loop track pieces (#24835) 2025-08-15 07:40:32 -03:00
Matt
a96ae9bbc7 Use debug break rather than a null dereference (#24931)
* Use debug break rather than a null dereference

* Silence clang-tidy
2025-08-15 12:09:39 +02:00
mix
7130486e65 Fix Hybrid Coaster zero g rolls not blocking all metal supports (#24955) 2025-08-15 06:38:24 -03:00
Tulio Leao
4d62075e5a Merge pull request #24961 from mixiate/path-paint-cleanups
Ignore corners when painting queues and rename some unknowns
2025-08-15 06:08:51 -03:00
Tulio Leao
94cd40d006 Merge pull request #24001 from mixiate/refactor-metal-support-type-a-and-b-paint
Fix offset type B metal supports, refactor type A and B metal support paint functions in to single function
2025-08-15 05:50:04 -03:00
mix
2c1e838844 Change metal support type b crossbeam offset index magic num to const 2025-08-15 07:07:36 +01:00
mix
ed59336da2 Change metal support joint interval magic number to const 2025-08-15 06:40:59 +01:00
OpenRCT2 git bot
6e94bde408 Merge Localisation/master into OpenRCT2/develop 2025-08-15 04:08:26 +00:00
Tulio Leao
1905c75d4e Merge pull request #24965 from AaronVanGeffen/parkdata
Move park-related fields from GameState into ParkData struct
2025-08-14 19:46:47 -03:00
Max
86788fc3b1 Close #24606: Double misc entity limit (#24957)
* 24606 - Raise entity limit 10x

* 24606 - MiscEntityLimit to 3200

* 24606 - Increase network version and add changelog
2025-08-14 06:57:25 -03:00
Michał Janiszewski
fd1a2c943b Run tests on macos amd64 (#24964)
We can't run aarch64 tests on amd64, but we can run amd64 on aarch64
using rosetta
2025-08-14 11:12:07 +03:00
Aaron van Geffen
26f13ca81d Move .peepWarningThrottle into ParkData struct 2025-08-13 23:22:07 +02:00
Aaron van Geffen
a99ffd9736 Move .suggestedGuestMaximum into ParkData struct 2025-08-13 23:20:59 +02:00
Aaron van Geffen
b40c5bd3b4 Move .totalRideValueForMoney into ParkData struct 2025-08-13 23:19:54 +02:00
Aaron van Geffen
681a489d15 Move .guest(ChangeModifier|GenerationProbability) into ParkData struct 2025-08-13 23:18:29 +02:00
Aaron van Geffen
51f17c5754 Move .bankLoanInterestRate into ParkData struct 2025-08-13 23:15:24 +02:00
Aaron van Geffen
b9481305ba Move .marketingCampaigns into ParkData struct 2025-08-13 23:06:51 +02:00
Aaron van Geffen
ee37cb1411 Move .currentAwards into ParkData struct 2025-08-13 23:05:14 +02:00
Aaron van Geffen
21504650d3 Move .total(IncomeFrom|)Admissions into ParkData struct 2025-08-13 23:02:11 +02:00
Aaron van Geffen
1c361dd508 Move .samePriceThroughoutPark into ParkData struct 2025-08-13 22:34:13 +02:00
Aaron van Geffen
e300ca8277 Move .maxBankLoan into ParkData struct 2025-08-13 22:29:25 +02:00
Aaron van Geffen
e6c0de0382 Move .numGuests(HeadingForPark|InParkLastWeek) into ParkData struct 2025-08-13 22:28:18 +02:00
Aaron van Geffen
84ec1cc209 Move .staff(Handyman|Mechanic|Security)Colour into ParkData struct 2025-08-13 22:06:01 +02:00
Aaron van Geffen
5d9de6292f Move .weeklyProfit* into ParkData struct 2025-08-13 22:03:14 +02:00
Aaron van Geffen
68a4991971 Move .bankLoan into ParkData struct 2025-08-13 21:24:06 +02:00
Aaron van Geffen
e5ead99c83 Move .numGuestsInPark, .guestsInParkHistory into ParkData struct 2025-08-13 21:20:13 +02:00
Aaron van Geffen
b8bc487f19 Move .currentProfit, .currentExpenditure into ParkData struct 2025-08-13 21:17:14 +02:00
Aaron van Geffen
0162b09236 Move .expenditureTable into ParkData struct 2025-08-13 21:14:23 +02:00
Aaron van Geffen
7b161c74ff Move .historicalProfit into ParkData struct 2025-08-13 21:10:51 +02:00