Commit Graph
825 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 12ab9195b6 Rework EntityRegistry into class 2025-08-31 14:29:36 +02:00
Aaron van Geffen 5b8fedd5b2 Rework Map.h includes (remove transitive header includes) 2025-09-04 22:16:53 +02:00
Aaron van Geffen cd68270e7f Split off MapLimits.h from Map.h 2025-09-04 21:17:45 +02:00
Aaron van Geffen abe58f6439 Move ClearAction, GameAction, ScenarioSetSettingAction into GameActions (#25045) 2025-08-29 06:32:05 -03:00
Michael Steenbeek dd957d46e8 Fix spelling of ‘separate’ and ‘separator’ 2025-08-27 22:33:05 +00:00
Aaron van Geffen 439afd9d5d Move Pause, PeepSpawn, Player, TileModify game actions to GameActions namespace 2025-08-26 21:39:29 +02:00
Aaron van Geffen afdee8852a Move LoadOrQuit, Map, Maze, Network game actions 2025-08-26 21:17:44 +02:00
Aaron van Geffen 620c1f40ef Move Staff game actions into GameActions namespace 2025-08-26 18:34:31 +02:00
Aaron van Geffen 238b397968 Move scenery game actions into GameActions namespace 2025-08-26 15:55:26 +02:00
Aaron van Geffen bcb803df96 Move Footpath game actions into GameActions namespace 2025-08-26 14:48:16 +02:00
Aaron van Geffen 134f4ac43e Start moving game actions into GameActions namespace 2025-08-25 22:16:55 +02:00
Aaron van Geffen bbd67e8dfb Move EntityList and EntityRegistry into OpenRCT2 namespace (#25039) 2025-08-26 23:05:49 +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
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 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 e300ca8277 Move .maxBankLoan into ParkData struct 2025-08-13 22:29:25 +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 0162b09236 Move .expenditureTable into ParkData struct 2025-08-13 21:14:23 +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
Aaron van Geffen 3f9352b511 Split off ParkData.h from Park.h 2025-08-13 19:55:58 +02:00
Michał Janiszewski f6292b4c13 Use clang-format 20 (#24861)
https://clang.llvm.org/docs/ClangFormatStyleOptions.html
2025-07-31 11:01:48 +02:00
Jan Strauss 0522ae848b Add award plugin APIs (#24468)
* Add award plugin apis

* Address review feedback (use erase_if, extract AwardAdd method)

* Address review feedback (remove redundant comments, make AwardAdd static)

* Address review feedback (bump plugin api version, add changelog entry)
2025-07-13 07:04:26 -03:00
Cory Sanin 65b5d86e6c Feature: [Plugin] Add bindings for missing cheats
Added the following binds for completeness:
- ignoreRidePrice
- makeAllDestructible
- forcedParkRating*

`allowSpecialColourSchemes` was missing from the type definition file so I added that as well.

\*forcedParkRating required a little more logic than the boolean cheats and I added some safeguards to prevent setting invalid values
2025-07-08 09:18:25 +02:00
Michael Steenbeek b77aa9a956 Small cleanup of sound range parameters 2025-07-04 18:52:58 +02:00
Garv Changrani b47506dd90 Close #24665: Don't return empty strings with quotes for std::string 2025-07-02 13:33:54 +02:00
Aaron van Geffen 2d8d1e3eee Rename ScenarioText object type to ScenarioMeta 2025-05-16 12:54:14 +02:00
Bas 288513635c Fix include formatting in ScVehicle.cpp 2025-05-25 16:07:08 +02:00
Bas cc45570379 Apply code formatting to ScVehicle.cpp 2025-05-25 16:07:07 +02:00
Bas 711d162063 Fix moveToTrack() by applying segment 0 offset 2025-05-25 16:05:21 +02:00
Gymnasiast d2615beb6e Change News enums to use lowerCamelCase 2025-05-24 23:47:18 +02:00
Gymnasiast 47bb449e34 Make news item fields lowerCamelCase 2025-05-24 23:47:18 +02:00
Gymnasiast 068112c1ee Rename Banner methods to use camelCase 2025-05-21 00:15:16 +02:00
Gymnasiast 7a68050897 Rename Banner::ride_index to rideIndex 2025-05-21 00:15:16 +02:00
Gymnasiast cbd2c7b3d7 Use FlagHolder for banner flags 2025-05-21 00:15:12 +02:00
Gymnasiast ddacaacc71 Change SCROLLING_MODE_NONE to kScrollingModeNone 2025-05-20 22:57:59 +02:00
MaxandGymnasiast 5a95e5e27d Close #24313 - Add API for setting a car’s ‘isCrashed’ flag
Co-authored-by: Gymnasiast <Gymnasiast@users.noreply.github.com>
2025-05-12 21:42:46 +00:00
Michael Steenbeek 1a571cd4e4 Create enum for TextColour 2025-05-11 22:37:21 +02:00
Basssiiie cae36aa010 Fix missing invalidation on various plugin api setters for entities (#24310) 2025-04-30 20:59:17 +00:00
Max 08cb8cb8c3 Add plugin call for breakdowns (#24207) 2025-04-30 14:41:47 +00:00