Commit Graph
124 Commits
Author SHA1 Message Date
Michał Janiszewski c9609ac64d Return empty strings instead of nullptr 2026-02-08 21:40:14 +01:00
Michael Steenbeek 343c7a70d7 Change colour to a strong enum (#25873) 2026-01-28 10:06:45 +01:00
matheusvb3 f6cbfb91f8 Remove stray semicolons after declarations 2026-01-16 12:43:59 -03:00
matheusvb3 bba937a03d Remove more redundant namespace qualifiers (#25828) 2026-01-16 08:38:20 +01:00
Aaron van Geffen 6a6bd8e1aa Reduce dependencies for Ride.h (#25757) 2026-01-06 20:03:31 +00: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 4d69f8f944 Rename members of Vehicle::Status 2025-12-12 12:21:29 +01:00
Michael Steenbeek 4fe983bac4 MapRange: do not inherit from RectRange 2025-10-08 20:38:44 -03:00
Gymnasiast cce7975115 Rename members of RCT12PeepAnimationGroup 2025-10-07 20:00:21 +02:00
Gymnasiast 524646e32a Rename members of ShopItem 2025-10-05 15:06:24 +02:00
Gymnasiast fe8e04652f Rename members of Litter::Type 2025-10-05 14:58:57 +02:00
Gymnasiast 8f399dfbdd Rename members of EntityType 2025-10-05 14:58:57 +02:00
Gymnasiast 18a25688e3 Rename members of StaffType 2025-10-05 14:47:16 +02:00
Gymnasiast d97512f498 Rename members of PeepAnimationGroup 2025-10-05 14:46:12 +02:00
Gymnasiast f1d74507a0 Rename members of PeepAnimationType 2025-10-05 14:46:12 +02:00
Gymnasiast 0cb04754fb Rename members of PeepActionType 2025-10-05 14:46:12 +02:00
Gymnasiast 159dc7aab0 Rename members of PeepState 2025-10-05 14:46:12 +02:00
Gymnasiast aa84394e7b Rename fields of PeepAnimation 2025-10-05 01:27:23 +02:00
Gymnasiast ee67a827c0 Rename members of AnimationPeepType 2025-10-05 01:10:06 +02:00
matheusvb3 2ad4d4be72 Add isEntertainer method to Staff class, small cleanup 2025-09-15 23:00:13 +02:00
spacek531 8eb9e4aceb Use strong types for VehiclePitch and VehicleRoll 2025-09-09 15:47:19 +02:00
spacek531 02ce098a2f Rename bank_rotation to roll, Pitch to pitch 2025-09-06 23:56:29 +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 bbd67e8dfb Move EntityList and EntityRegistry into OpenRCT2 namespace (#25039) 2025-08-26 23:05:49 +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
Garv Changrani b47506dd90 Close #24665: Don't return empty strings with quotes for std::string 2025-07-02 13:33:54 +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
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
Basssiiie cae36aa010 Fix missing invalidation on various plugin api setters for entities (#24310) 2025-04-30 20:59:17 +00:00
Max 923a38c990 Close #24146: Expand plugin functionality for balloons and money effects 2025-04-19 23:23:02 +02:00
b92e05bc14 Scripting: Add Car.moveToTrack API (#23359)
* Scripting: Redraw vehicle when setting track location

* Scripting: introduce car.moveToTrack

A new function to move cars to tracks easier. Also redraws the car.

* Revert car.trackLocation to CoordsXYZD

reverts 30a555d3c2
car.moveToTrack() achieves the same thing in a saner API.

* Final fixes for vehicle.moveToTrack

added back tracklocation.Get with track type
added EntityTweener call at the end of travelBy/moveToTrack

* moveToTrack: final bassie review fixes.

* moveToTrack: use tile coords

* moveToTrack: api increment

---------

Co-authored-by: Guy Sviry <guy@axissecurity.com>
Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
2025-04-02 23:42:30 +00:00
Gymnasiast 4badffcdb6 Change GameState_t members to lowerCamelCase 2025-03-20 23:05:57 +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 90143b2e38 Address review comments 2025-01-09 12:34:45 +01:00
Aaron van Geffen 2f0af0a005 Expose getCostumeStrings to scripts 2024-12-11 19:06:47 +01:00
Aaron van Geffen 44a9f530f7 Separate RCT12PeepAnimationGroup further from PeepAnimationGroup 2024-12-09 19:43:05 +01:00
Aaron van Geffen dbc394cb67 Scripting: list and use available costumes dynamically 2024-12-08 12:34:13 +01:00
Aaron van Geffen 7e3fe58067 Use peep animation objects for guest and staff sprites 2024-12-05 13:37:39 +01:00
Aaron van Geffen fa06a49302 Update copyright year to 2025 (#23514) 2024-12-31 20:30:04 +01:00
Aaron van Geffen ec14a6dca8 Move invalidation out of Peep::UpdateSpriteBoundingBox 2024-12-17 21:05:38 +01:00
Aaron van Geffen c034d2c921 Introduce PeepAnimation compilation unit (#23383)
* Move StaffType enum into Staff.h

* Introduce PeepAnimation compilation unit
2024-12-12 00:23:42 +01:00
Aaron van Geffen a24dc2e60a Reduce includes in and of Util.h/cpp 2024-12-11 20:42:43 +01:00
Aaron van Geffen f65ef67260 Rename PeepAnimationType::None to PeepAnimationType::Walking (#23317) 2024-12-04 16:09:17 +00:00
Aaron van Geffen 3685d1a24b clang-format: change IndentPPDirectives to BeforeHash (#23287) 2024-11-29 12:04:56 +09:00
Aaron van Geffen 80b63a5ae7 Add line breaks after template declarations (#23086)
* Add line breaks after template declarations

* Additional clang-format patches
2024-10-29 16:54:01 +01:00