Commit Graph
261 Commits
Author SHA1 Message Date
Aaron van Geffen 5a4cc7d00d Remove Network function name prefixes given namespace qualifiers 2025-08-31 16:02:43 +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 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
Tulio Leao 8a542a348d Move MakeRideRating into namespace 2025-08-17 08:47:21 -03:00
Aaron van Geffen b40c5bd3b4 Move .totalRideValueForMoney into ParkData struct 2025-08-13 23:19:54 +02:00
Aaron van Geffen b9481305ba Move .marketingCampaigns into ParkData struct 2025-08-13 23:06:51 +02:00
Aaron van Geffen 21504650d3 Move .total(IncomeFrom|)Admissions into ParkData struct 2025-08-13 23:02:11 +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
Aaron van Geffen 94f40e46ef Move .companyValue into ParkData struct 2025-08-13 21:08:00 +02:00
Aaron van Geffen b842537616 Move .cash, .cashHistory into ParkData struct 2025-08-13 20:23:14 +02:00
Gymnasiast 8c001ba4b5 Move SawyerEncoding files to their own folder 2025-07-04 22:07:17 +02:00
Aaron van Geffen 2d8d1e3eee Rename ScenarioText object type to ScenarioMeta 2025-05-16 12:54:14 +02:00
Gymnasiast d2615beb6e Change News enums to use lowerCamelCase 2025-05-24 23:47:18 +02:00
Matt 42df41efdb Remove the use of shared_ptr for the Context (#24404)
* Replace shared_ptr with unique_ptr for Context systems, return refs

* Fix all the users

* clang-format fix

* Fix linux builds
2025-05-15 22:46:06 +03:00
Gymnasiast 14b881e22b Rename DIRID and its members 2025-03-25 23:39:27 +01:00
Gymnasiast 622a8dc525 Rename DIRBASE and its members 2025-03-25 22:47:09 +01:00
Gymnasiast a8982ac113 Rename SCENARIO_CATEGORY and turn into strong enum 2025-03-25 15:09:23 +01:00
Michael Steenbeek 70bdddcf36 Reduce object casting (#24072) 2025-03-25 08:51:44 +01:00
Gymnasiast 4badffcdb6 Change GameState_t members to lowerCamelCase 2025-03-20 23:05:57 +01:00
Gymnasiast 79514bbb79 Modify News::InitQueue to take GameState_t 2025-03-18 23:25:25 +01:00
Michael Steenbeek 05b64985f4 Update Ride struct to new codestyle 2025-03-09 00:26:25 +01:00
Gymnasiast 9778d7b0ba Create strong enum for RideCategory 2025-03-06 23:12:26 +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
73 c7c703515e Rename audio.h to Audio.h (#23842) 2025-02-17 13:24:03 +01:00
Aaron van Geffen bb94ee8bc0 Rename ObjectType enum to follow recent code style (#23810) 2025-02-13 23:07:55 +01:00
Aaron van Geffen 2302f0d2e3 Rework Localisation includes (#23789)
* Clean up internal localisation header includes

* Remove some external localisation includes

* Remove dependency on FormatCodes.h from InteractiveConsole.h

* Reduce Formatter.h, Localisation.Date.h includes
2025-02-07 22:36:42 +01:00
Michael Steenbeek a3d5b4e0c3 Change FIXED_XDP from macros to constexprs 2025-01-25 13:42:22 +01:00
Michael Steenbeek b0c99fcb6c Refactor more constants to kConstant notation 2025-01-22 16:16:55 +00: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
Aaron van Geffen fa06a49302 Update copyright year to 2025 (#23514) 2024-12-31 20:30:04 +01:00
Tulio Leao fef568c7c8 Use std::chrono for easier to read durations (#23499) 2024-12-29 17:48:24 -03:00
Aaron van Geffen 6ee798337a Introduce EnumUtils header (#23407) 2024-12-15 17:39:52 +01:00
Aaron van Geffen 4f32028e01 Move RideManager struct into its own compilation unit (#23379)
* Move RideManager struct into its own compilation unit

* Move RidesEndOfUsedRange into GameState_t

* Let RideManager keep a GameState_t& internally
2024-12-11 15:54:45 +01:00
Aaron van Geffen f90954b1a4 Reduce dependencies for Research.h (#23268) 2024-11-25 14:32:16 +00:00
Aaron van Geffen e13dfc1741 Append scenario text object on S4/S6 park load 2024-10-30 20:45:18 +01:00
Aaron van Geffen f7ae40bac8 Re-introduce basic scenario text objects 2024-10-30 20:45:18 +01:00
Gymnasiast 749b331187 Replace C string in scenario name handling 2024-10-30 18:04:45 +01:00