Commit Graph
256 Commits
Author SHA1 Message Date
Gymnasiast f3cec44278 Move TrackTypeIs*() to TrackElemType.{cpp,h} 2026-03-10 18:33:43 +01:00
matheusvb3 40e4c0d5ae Update comment in RideObject.cpp (#26063)
Updated comment for VEHICLE_ENTRY_FLAG_11 to clarify its obsolescence.
2026-02-21 06:58:55 +01:00
matheusvb3 c5904e1138 Convert RideEntry flags into a FlagHolder (#25957) 2026-02-08 10:36:17 +01:00
matheusvb3 416a005b88 Replace uses of .size() or .length() with .empty() when appropriate (#25950) 2026-02-05 13:14:12 +01:00
Gymnasiast b2fcecb79e Refactor RtdFlags into FlagHolder 2026-01-31 14:00:52 +01:00
matheusvb3 20f8339963 Convert car entry flags into a FlagHolder (#25784) 2026-01-29 22:00:03 +01:00
Michael Steenbeek 343c7a70d7 Change colour to a strong enum (#25873) 2026-01-28 10:06:45 +01:00
matheusvb3 bba937a03d Remove more redundant namespace qualifiers (#25828) 2026-01-16 08:38:20 +01:00
matheusvb3 214b5f7203 Make CarSpriteFlag a strong enum 2026-01-06 23:22:24 -03:00
Aaron van Geffen 40aaf97c07 Update copyright years to 2026 (#25741) 2026-01-05 13:42:59 +00:00
Aaron van Geffen 8a0a655025 Unwrangle Drawing.h and Paint.h (#25706)
* Drop Drawing.h include from Paint.h

* Split off RenderTarget to its own header/unit

* Move FilterPaletteID to its own header
2025-12-26 12:58:33 +01:00
Gymnasiast 56d26b677b Fix #25406: Crash while building track designs repository 2025-10-27 20:25:21 +01:00
Michael Steenbeek 218318cf7f Rename constants and flags related to swing modes and rotation types (#25259)
* Rename rotation consts and flags

* Rename swing flags
2025-10-24 20:46:01 +02:00
matheusvb3 5ffd672a9e Rename swing flags 2025-10-15 22:22:04 -03:00
matheusvb3 1007c11771 Rename rotation consts and flags 2025-10-15 22:21:43 -03:00
Gymnasiast 0c5c21596d Rename members of ObjectStringID 2025-10-07 22:08:15 +02:00
Gymnasiast 26b02d9126 Rename members of ObjectError 2025-10-07 22:01:22 +02:00
Gymnasiast 524646e32a Rename members of ShopItem 2025-10-05 15:06:24 +02:00
Gymnasiast be23fbc98c Rename fields of SpriteBounds 2025-10-05 01:20:49 +02:00
Gymnasiast 45912ec9a3 Rename members of SoundId 2025-10-01 20:35:34 +02:00
Gymnasiast 73f31b707b Pass car by reference 2025-09-23 18:33:42 +02:00
Spacek531 e656602f83 Convert legacy sprite groups to FlagHolder 2025-09-23 18:33:42 +02:00
Gymnasiast d4a0bca091 Rename Window fields 2025-09-17 20:10:12 +02:00
spacek531 b65f633456 Fix checking incorrect flags field when determining number of sprites of legacy vehicles 2025-09-16 13:46:09 +02:00
spacek531 3e10c20792 Add variable for number of spin frames 2025-09-08 12:57:04 +02: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
Michael Steenbeek b77aa9a956 Small cleanup of sound range parameters 2025-07-04 18:52:58 +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
Michael Steenbeek ee7c7a3a9a Fix #21919: Non-recolourable cars still show colour picker 2025-04-07 20:50:40 +00:00
discollizard bef76d5017 Remove rideCategory field from ObjectRepositoryItem struct 2025-03-11 17:36:17 +01:00
Michael Steenbeek 05b64985f4 Update Ride struct to new codestyle 2025-03-09 00:26:25 +01:00
Gymnasiast 1c3cb890e0 Rename NoFlatRideCars to kNoFlatRideCars 2025-03-06 23:32:17 +01:00
Gymnasiast 9778d7b0ba Create strong enum for RideCategory 2025-03-06 23:12:26 +01:00
73 c7c703515e Rename audio.h to Audio.h (#23842) 2025-02-17 13:24:03 +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
X123M3-256 864d9b2d73 Add large diagonal flat to steep and dive loop track pieces 2025-01-15 13:25:29 +01:00
Aaron van Geffen fa06a49302 Update copyright year to 2025 (#23514) 2024-12-31 20:30:04 +01:00
Michael Steenbeek 7baae607ac Use ride_type_t in more places 2024-12-22 19:59:36 +01:00
Aaron van Geffen b3aa852a8d Consolidate util/Math.hpp into core/Numerics.hpp (#23319)
* Consolidate util/Math.hpp into core/Numerics.hpp

* Remove branching; replace isPowerOf2 with std::has_single_bit

* Add templated types to floor2 and ceil2
2024-12-04 21:00:26 +00:00
Aaron van Geffen 9436a9501e Move bitScanForward from Util.h to Numerics.hpp 2024-10-29 11:08:39 +01:00
Duncan 5934dc6380 Remove void* obj from RideEntry 2024-10-16 10:50:38 +02:00
Michael Steenbeek 066e5a557b Close #17025: Do not change ride type of JSON ride objects (#22765) 2024-09-21 22:44:53 +02:00
Michael Steenbeek 47800cddcf Change RTD flags to a strong enum 2024-08-13 20:20:25 +00:00
Aaron van Geffen 51816d2bd5 Disambiguate calls to UtilBitScanForward (#22402) 2024-07-28 18:44:59 +02:00
Michał Janiszewski 7b12667ddb Reduce <algorithm> include (#21947) 2024-05-01 13:47:27 +02:00
Claudio Tiecher 2c4c2da319 Part of #21421: Refactor VEHICLE_SEAT_PAIR_FLAG 2024-03-25 16:17:32 +01:00
Peter Froud 1e51925968 Change "ternary" to "tertiary" (#21582) 2024-03-11 08:42:54 -03:00
James103 1d8dc111f1 Replace 2023 with 2024 in copyright headers (#21139)
Replace all instances of the year 2023 with 2024 in all copyright headers
2024-01-01 12:52:28 +01:00
Aaron van Geffen d425e0a8bb Remove const qualifier from constexpr statements 2023-06-24 11:45:26 +02:00