Commit Graph
498 Commits
Author SHA1 Message Date
Aaron van Geffen bcb803df96 Move Footpath game actions into GameActions namespace 2025-08-26 14:48:16 +02:00
Aaron van Geffen e8ef3897df Rework more game actions into GameActions namespace 2025-08-26 14:22:58 +02:00
Gymnasiast 9c810d9e32 Update ParkData fields to new code style 2025-08-21 22:12:41 +02:00
Gymnasiast 8c001ba4b5 Move SawyerEncoding files to their own folder 2025-07-04 22:07:17 +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
Matt 6335c31336 Rename DrawPixelInfo to RenderTarget (#24339)
* Begin backend separation, rename type DrawingPixelInfo to RenderTarget

* Rename dpi variables to rt
2025-05-04 22:06:46 +00:00
ζeh Matt 3dc084a438 Fix #24289: Prebuilt track designs using an invalid drawing state 2025-04-26 14:46:42 +03:00
Gymnasiast cc2546b681 Close #19782: Game stops counting inversions after 31 2025-04-19 19:00:22 +02:00
Gymnasiast 4badffcdb6 Change GameState_t members to lowerCamelCase 2025-03-20 23:05:57 +01:00
Gymnasiast 3800d0bca1 Create strong enum for TrackElementSetFlag and TrackSelectionFlag 2025-03-14 21:27:27 +01:00
Michael Steenbeek 05b64985f4 Update Ride struct to new codestyle 2025-03-09 00:26:25 +01:00
Gymnasiast a35ce7ced3 Create RideModifyType enum 2025-03-06 23:24:43 +01:00
Michael Steenbeek 06c1fed4f7 Refactor gScreenFlags to LegacyScene enum 2025-03-05 20:45:04 +00: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
Michael Steenbeek b0c99fcb6c Refactor more constants to kConstant notation 2025-01-22 16:16:55 +00:00
Michael Steenbeek be9f27e4f9 Mass rename constants (#23656) 2025-01-19 15:59:45 +00:00
Aaron van Geffen fa06a49302 Update copyright year to 2025 (#23514) 2024-12-31 20:30:04 +01:00
Aaron van Geffen a24dc2e60a Reduce includes in and of Util.h/cpp 2024-12-11 20:42:43 +01:00
RedMarcher c24e47dea1 Rename cheat variables to match new code style 2024-12-01 18:15:37 +01:00
Michael Steenbeek c8388002d9 Merge pull request #23245 from Gymnasiast/refactor/ride-type-checks
Replace some direct ride type checks
2024-11-28 19:55:36 +01:00
Aaron van Geffen f90954b1a4 Reduce dependencies for Research.h (#23268) 2024-11-25 14:32:16 +00:00
Gymnasiast d9d5df509e Add RtdSpecialType to replace checks for maze and other naughty types 2024-11-24 12:58:32 +01:00
Aaron van Geffen f40da09ab8 Move SawyerCoding from util into core, and into its own namespace 2024-10-29 21:59:28 +01:00
Aaron van Geffen ece199176e Move UnitConversion from Util into its own compilation unit 2024-10-29 11:27:00 +01:00
Aaron van Geffen 9436a9501e Move bitScanForward from Util.h to Numerics.hpp 2024-10-29 11:08:39 +01:00
Duncan f6582647f5 Large scenery tiles 2 (#22888)
* Use std::span for tiles

* Add an index helper parameter

* Use coordsxyz

* Split up corners and walls

* Use bools for the two flags

* Apply coding style

* Refer only to LargeSceneryObject where required

* Address comments
2024-10-16 22:35:29 +01:00
Michael Steenbeek a2ed026264 Split up remaining tile elements 2024-10-15 22:02:31 +02:00
Michael Steenbeek 71ce725a2a Split off BannerElement and TrackElement (#22955) 2024-10-14 14:26:10 +02:00
duncanspumpkin 6283993351 Move WallElement into its own header/source files 2024-10-07 22:04:13 +02:00
AT41andTulio Leao 6e7b489304 Added additional stats to Plugin interface
Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
2024-10-03 11:23:50 +00:00
Michael Steenbeek e6e0f97557 Split off EntranceElement header 2024-10-03 12:42:53 +02:00
Michael Steenbeek 5c29967d61 Use FlagHolder for lift+inverted flags (#22839) 2024-09-27 22:51:04 -03:00
Michael Bernardi 09fa68a803 Revert DPI accessors 2024-09-27 02:50:50 +10:00
Michael Bernardi 8cc53324b6 Remove view width and height from Viewport struct 2024-09-27 00:07:40 +10:00
Michael Bernardi 8212c83965 Rewrite ViewportPaint to handle new DPI coords 2024-09-27 00:07:40 +10:00
Michael Bernardi 4cd5548352 Refactor DPI to distinguish screen and world coords 2024-09-27 00:07:40 +10:00
Gymnasiast 5f92d1920b Group all sequence-bound properties 2024-09-18 22:43:55 +02:00
Aaron van Geffen 960bea7aae Prefer using passed game state in save import classes (#22682)
* Wrap global game state in a unique_ptr

* Make ImportTileElements, SetTileElements use game state passed

* Make ImportParkName, ImportSavedView use game state passed

* Make ImportPeepSpawns use game state passed

* Make FixEntrancePositions use game state passed
2024-09-06 23:04:14 +02:00
Michael Steenbeek 47800cddcf Change RTD flags to a strong enum 2024-08-13 20:20:25 +00:00
Harry Hopkinson 4744c7416d Refactor object and network constants to kCamelCase 2024-08-11 20:21:24 +00:00
Gymnasiast d93233f9fd Update TrackCoordinates field names 2024-08-11 15:06:19 +02:00
Gymnasiast 9294a58e98 Change TrackDescriptor field names to lowerCamelCase 2024-08-03 12:51:25 +02:00
Aaron van Geffen 51816d2bd5 Disambiguate calls to UtilBitScanForward (#22402) 2024-07-28 18:44:59 +02:00
mrmbernardi 9ed5c63857 Rename Location.hpp constants (#22385) 2024-07-26 10:23:25 +02:00
Aaron van Geffen 05e56517ab Adopt existing namespaces into OpenRCT2 namespace (#22368)
* Put all of TitleSequenceManager into the same namespace

* Move RideConstructionState into the OpenRCT2 namespace

* Adopt existing namespaces into OpenRCT2 namespace

This adds `using namespace OpenRCT2` to compilation units where appropriate,
as a means to get the codebase to compile until these units have been placed
in a namespace of their own.
2024-07-26 09:59:58 +02:00
Aaron van Geffen 3d5c19de08 Drop Localisation.h include where not required 2024-07-13 13:33:32 +02:00
Aaron van Geffen 51873dc0f6 Include Diagnostic.h at unit level 2024-07-09 16:23:31 +02:00
Gymnasiast 64230380af Sync more TrackDesign fields with their Ride counterparts 2024-07-04 00:29:41 +02:00