Commit Graph
353 Commits
Author SHA1 Message Date
Gymnasiast f08bc61f03 Refactor park flags into enum class+FlagHolder 2026-08-08 18:49:32 +02:00
Harry Hopkinson 6323d95edc Remove openrct2/ride includes 2026-08-07 07:13:38 +02:00
Harry Hopkinson 69872010ae Reorder/remove more includes (#26847)
* Remove unneeded includes from src/openrct2/interface

* Remove unneeded includes from src/openrct2/entity

* Remove unneeded includes from src/openrct2/localisation

* Remove unneeded includes from src/openrct2/management

* Remove unneeded includes from src/openrct2/network
2026-07-31 21:33:22 +02:00
Aaron van Geffen 2e4f21b1b0 Rename EditorObjectSelectionSession to EditorController and namespace (#26729)
* Rename EditorObjectSelectionSession to EditorController

* Move EditorController into Editor namespace
2026-06-30 22:56:35 +02:00
mgiannopoulos24 d85835a0a0 Rename Staff entity members (#26603)
* Rename Staff entity member fields

* Rename Staff entity methods for consistency

* Remove unused EntertainerCostume enum class
2026-05-28 12:28:45 +02:00
Harry Hopkinson 9d5e532064 Rename enum members to lowerCamelCase in actions/ (#26593)
* Rename enums in LoadOrQuitAction.h

* Rename enums in ScenarioSetSettingAction.h

* Rename enums in TileModifyAction.h

* Rename enums in NetworkModifyGroupAction.h

* Rename enums in LandBuyRightsAction.h

* Rename enums in LandSetRightsAction.h

* Rename enums in ParkSetParameterAction.h

* Rename enums in PeepPickupAction.h

* Rename enums in StaffSetPatrolAreaAction.h

* Rename enums in RideFreezeRatingAction.h

* Rename enums in RideSetAppearanceAction.h

* Rename enums in RideSetSettingAction.h

* Rename enums in RideSetVehicleAction.h

* Rename enums in BannerSetStyleAction.h
2026-05-21 19:16:07 +00:00
Marino Rottier 66e1411d84 Rename EntityBase and EntitySpriteData members (#26520)
* Rename EntitySpriteData members to camelCase

* Rename EntityBase members to camelCase
2026-05-17 11:21:59 +00:00
frozensnowy 011ddc12a4 Improve: Profiler thread safety and JSON export support (#26025)
* Refactor: Profiler thread safety and JSON export support

Refactors the profiling system to be thread safe using lock free atomics for the hot path, adds JSON export with call graph data, and updates the
API to use camelCase naming convention

* Address profiler refactor review feedback

Use a ',' for CSV export and moved implementations to the profiling.cpp to avoid <algorithm> in the header.
2026-02-26 22:30:45 +01:00
Aaron van Geffen 1cc7006127 Reorganise game actions into folders (#25987) 2026-02-10 08:57:40 +01:00
Aaron van Geffen 773ba479cd Create separate unit for GameActionRunner 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
matheusvb3 71d636e6b1 Merge variable declarations and assignment into one line 2026-01-16 12:43:59 -03:00
matheusvb3 162977a84b Remove redundant namespace qualifiers from miscellaneous files (#25816) 2026-01-14 23:15:07 +01: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 c744b76632 Rename members of GameActions::Result 2025-12-12 12:11:49 +01:00
Gymnasiast 5ffee91c8a Rename members of GameActions::Status 2025-12-12 11:41:49 +01:00
Kirill Gusev b1103708ea Show error message when issuing replay_start with a nonexistent file 2025-12-09 08:56:08 +01:00
Gymnasiast 8e7bc2bc43 Close #21375: extend to allow loading JSON objects 2025-10-25 13:43:36 +02:00
Gymnasiast e3d9cc1c96 Unwrap long if 2025-10-25 13:43:36 +02:00
Gymnasiast 890b8137ba Rename members of FormatToken 2025-10-07 20:27:03 +02:00
Gymnasiast daa4fe8ac3 Rename field of all config categories 2025-10-07 20:21:32 +02:00
Gymnasiast 8f399dfbdd Rename members of EntityType 2025-10-05 14:58:57 +02:00
Gymnasiast ee67a827c0 Rename members of AnimationPeepType 2025-10-05 01:10:06 +02:00
Gymnasiast 4158ddfe11 Change CheatType to lowerCamelCase 2025-10-01 20:34:54 +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 b6e09bbc7e Change code style of enums in Viewport.h 2025-09-17 20:10:11 +02:00
matheusvb3 2ad4d4be72 Add isEntertainer method to Staff class, small cleanup 2025-09-15 23:00:13 +02:00
Aaron van Geffen 531cb68727 RideManager: use explicit game state rather than using implicit global 2025-09-11 13:42:18 +02:00
Aaron van Geffen 4446ff9f6f Pass game state ref as parameter to game actions (#25065) 2025-09-08 16:21: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 5b8fedd5b2 Rework Map.h includes (remove transitive header includes) 2025-09-04 22:16:53 +02:00
Aaron van Geffen abe58f6439 Move ClearAction, GameAction, ScenarioSetSettingAction into GameActions (#25045) 2025-08-29 06:32:05 -03:00
Aaron van Geffen 45ad3ec683 Move RideEntranceExit{Place/Remove}/FreezeRating/SetAppearance/SetColourScheme 2025-08-27 10:55:37 +02:00
Aaron van Geffen 1bcee698a9 Move RideSetName/Price/Setting actions into GameActions namespace 2025-08-27 10:47:34 +02:00
Aaron van Geffen a052437d12 Move Park game actions to GameActions namespace 2025-08-26 20:52:46 +02:00
Aaron van Geffen 620c1f40ef Move Staff game actions into GameActions namespace 2025-08-26 18:34:31 +02:00
Aaron van Geffen 1e059d18d0 Move Guest and Land game actions into GameActions namespace 2025-08-26 15:10:05 +02:00
Aaron van Geffen e8ef3897df Rework more game actions into GameActions namespace 2025-08-26 14:22:58 +02:00
Aaron van Geffen 19dd05c32f Move landPrice/constructionRightsPrice into Scenario::Options 2025-08-22 16:10:12 +02:00
Aaron van Geffen aa35ec07cd Introduce Scenario::Options struct; move cash and guest options 2025-08-22 15:57:33 +02:00
Gymnasiast 9c810d9e32 Update ParkData fields to new code style 2025-08-21 22:12:41 +02:00
Tulio Leao 80b5187da9 Rename ride_rating to RideRating_t 2025-08-17 08:49:03 -03:00
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
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 94f40e46ef Move .companyValue into ParkData struct 2025-08-13 21:08:00 +02:00