Commit Graph
279 Commits
Author SHA1 Message Date
spacek531 281aea6ebe Refactor VehicleFlags to FlagHolder (#26014) 2026-02-13 09:50:54 +00:00
Aaron van Geffen ef054c1f24 Split off GameCommand enum to its own header as well 2026-02-09 16:06:56 +01:00
matheusvb3 416a005b88 Replace uses of .size() or .length() with .empty() when appropriate (#25950) 2026-02-05 13:14:12 +01:00
Michael Steenbeek 343c7a70d7 Change colour to a strong enum (#25873) 2026-01-28 10:06:45 +01:00
Michael SteenbeekandZehMatt 795cdaa53e Fix #23636: Mismatched entity count in save file (#25731)
This is based on #24552, with two changes:
1. The entity list is copied and used for both the count and the actual writes
2. It no longer asserts if the count mismatches (which is why #24552 was not merged).

Co-authored-by: ZehMatt <ZehMatt@users.noreply.github.com>
2026-01-18 14:18:44 +01:00
matheusvb3 f6cbfb91f8 Remove stray semicolons after declarations 2026-01-16 12:43:59 -03:00
matheusvb3 bba937a03d Remove more redundant namespace qualifiers (#25828) 2026-01-16 08:38:20 +01:00
matheusvb3 507f1dedce Convert ride measurement flags into a FlagHolder (#25782) 2026-01-09 14:20:53 +01:00
Gymnasiast a13b1c4e11 Make PaletteIndex into a strong enum and move into namespace 2026-01-07 23:55:30 +01:00
Aaron van Geffen 6a6bd8e1aa Reduce dependencies for Ride.h (#25757) 2026-01-06 20:03:31 +00:00
Aaron van Geffen 1b844d9e52 Rework object header includes (#25742)
* Remove EntityList.h includes in a few places

* Remove Object.h dependency from Footpath.h

* Remove Object.h dependency from Editor headers

* Remove Object.h dependency from NetworkBase.h

* Move RideFilters struct to RideTypes.h

* Move ObjectSourceGame enum to its own header

* Remove Object.h dependency from ObjectManager.h

* Remove Object.h dependency from ObjectRepository.h

* Remove Object.h dependency from ObjectTypes.h

* Add missing copyright header to ObjectEntryManager.cpp

* Add missing copyright header to SurfaceData.h
2026-01-05 19:31:34 +01:00
Aaron van Geffen 40aaf97c07 Update copyright years to 2026 (#25741) 2026-01-05 13:42:59 +00:00
Gymnasiast 7f8eeb09c1 Rename members of TrackElemType 2025-12-23 19:15:44 +01:00
spacek531 d5035726ee Rename sound_vector_factor to dopplerShift 2025-09-24 23:13:03 +02:00
Aaron van Geffen 531cb68727 RideManager: use explicit game state rather than using implicit global 2025-09-11 13:42:18 +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
Aaron van Geffen db5b98f702 Pass GameState on when importing entities from save files 2025-08-27 14:04:08 +02:00
Aaron van Geffen be125fc9e1 Use ParkData refs in more places (#25035) 2025-08-25 22:25:53 +02:00
Aaron van Geffen e88c5e4399 Move Scenario::Category into its own unit 2025-08-22 18:07:55 +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 19dd05c32f Move landPrice/constructionRightsPrice into Scenario::Options 2025-08-22 16:10:12 +02:00
Aaron van Geffen f5f3199dfe Move scenario objective/category/name/details into Scenario::Options 2025-08-22 16:05:38 +02:00
Aaron van Geffen aa35ec07cd Introduce Scenario::Options struct; move cash and guest options 2025-08-22 15:57:33 +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
Gymnasiast 1bdad53998 Update OrcaStream::Chunkstream methods to new code style 2025-08-21 20:40:16 +02:00
Gymnasiast 8f6f7c2855 Update OrcaStream methods to new code style 2025-08-21 20:34:54 +02:00
Gymnasiast 91133d96da Update OrcaStream::Header fields to new code style 2025-08-21 20:29:13 +02:00
Gymnasiast d0090a33f2 Update OrcaStream::Mode enum to new code style 2025-08-21 20:22:19 +02:00
Tulio Leao c86183bf3b Move RideRatingUpdateState into namespace 2025-08-17 06:37:49 -03:00
Tulio Leao 3874cf4c91 Move RideRatingResetUpdateStates into namespace 2025-08-16 07:09:04 -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