1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-27 00:34:46 +01:00
Commit Graph

801 Commits

Author SHA1 Message Date
Gymnasiast
4badffcdb6 Change GameState_t members to lowerCamelCase 2025-03-20 23:05:57 +01:00
mix
647ab23c33 Fix #18309: Vehicles glitch going inverted to uninverted with uncap fps (#24011) 2025-03-17 20:39:28 +01:00
Gymnasiast
73cda29208 Create strong enum for RideTestingFlags 2025-03-14 21:30:50 +01:00
Michael Steenbeek
05b64985f4 Update Ride struct to new codestyle 2025-03-09 00:26:25 +01:00
Gymnasiast
114e8da200 Update RideMode to current code style 2025-03-06 23:01:47 +01:00
Gymnasiast
e35c7fdb5c Update RideStatus to current code style 2025-03-06 23:01:46 +01:00
Michael Steenbeek
06c1fed4f7 Refactor gScreenFlags to LegacyScene enum 2025-03-05 20:45:04 +00:00
Aaron van Geffen
a380413c56 Remove Scenario.h include from many units (#23901)
* Reduce includes/dependencies for Scenario.h

* Remove Scenario.h include from many units
2025-03-01 17:32:32 +01:00
73
c7c703515e Rename audio.h to Audio.h (#23842) 2025-02-17 13:24:03 +01:00
Gymnasiast
5769e9237f Move Loc6DCA9A to own function 2025-01-25 15:05:33 +01:00
Gymnasiast
4b13f45eec Move Loc6DC462 to own function 2025-01-25 14:40:23 +01:00
Gymnasiast
3ad19f71ee Make Loc6DCA9A a loop 2025-01-25 14:21:24 +01:00
Gymnasiast
774240d081 Make Loc6DC462 a loop 2025-01-25 13:59:37 +01:00
Aaron van Geffen
cf448753c1 Move WindowInvalidate and WidgetInvalidate families into WindowManager (#23692)
* Move WindowInvalidate and WidgetInvalidate families into WindowManager

* Use InvalidateWidget shorthand in more places

* Cut back on UiContext includes

* Cut back on Window.h includes

* Remove outdated parameter comments
2025-01-25 13:46:08 +01:00
Michael Steenbeek
a3d5b4e0c3 Change FIXED_XDP from macros to constexprs 2025-01-25 13:42:22 +01:00
Michael Steenbeek
b0c99fcb6c Refactor more constants to kConstant notation 2025-01-22 16:16:55 +00:00
spacek531
bf413b2ab7 Booster code cleanups/unified booster speed preparation 2025-01-19 16:43:26 +01:00
Aaron van Geffen
bed4d5bdca Move WindowCreate and WindowFocusOrCreate into WindowManager (#23643)
* Move WindowBringToFront into WindowManager

* Move WindowCreate and WindowFocusOrCreate into WindowManager

* Cut back on Context/UiContext includes
2025-01-19 06:58:28 -03:00
X123M3-256
29503e6606 Allow cable lift to start after block brake 2025-01-17 19:38:15 +01:00
X123M3-256
a935084e55 Fix holding brakes being skipped if they're too close together 2025-01-15 12:54:27 +00:00
ζeh Matt
1d7bd7ac27 Use std::span for GetStations 2025-01-06 19:54:56 +02:00
Severin Paul Höfer
c925ae26c1 Rename Sub6D7AC0 to VehicleSoundFadeInOut 2025-01-02 14:37:03 +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
6ee798337a Introduce EnumUtils header (#23407) 2024-12-15 17:39:52 +01:00
Michael Steenbeek
4ea3e334f6 Fix #22908: Crash when passing through invalid wall door 2024-10-30 19:44:08 +01: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
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
Michael Steenbeek
2e877aa581 Eliminate Loc6DBF3E 2024-10-14 08:13:08 +02:00
Michael Steenbeek
52b70703af Turn TrackElemType into a strong enum 2024-10-11 13:30:27 +00:00
Gymnasiast
9bdbeaf563 Mini golf vehicle code: remove more flag checks that are never set 2024-10-07 22:50:34 +02:00
Gymnasiast
7694195db7 Mini golf vehicle code: remove ifs that are always true 2024-10-07 22:50:34 +02:00
Gymnasiast
717622ed01 Cut out Mini Golf inverted code 2024-10-07 22:50:34 +02:00
Gymnasiast
98992ea616 Extract UpdateTrackMotionMiniGolfFlagsStatus() 2024-10-07 22:23:13 +02:00
duncanspumpkin
6283993351 Move WallElement into its own header/source files 2024-10-07 22:04:13 +02:00
Michael Steenbeek
01cd900a1c Eliminate Loc6DAEB9 (#22899) 2024-10-04 13:49:21 +02:00
lewyche
0f58efe198 Fix #22133: Ride time is incorrect for extremely low speeds (#22311) 2024-09-29 10:02:02 -03:00
Michael Steenbeek
018d9be3ae Create Vehicle::IsOnCoveredTrack() (#22843)
In the future, the duplicate covered pieces will be removed and vehicles and track elements will just have a flag to mark them as “covered”. This eases this transition.
2024-09-28 15:03:38 +02:00
Aaron van Geffen
584f6b8661 Rename Peep::SpriteType to AnimationGroup 2024-09-22 16:54:33 +02:00
Gymnasiast
5f92d1920b Group all sequence-bound properties 2024-09-18 22:43:55 +02:00
Michael Steenbeek
47800cddcf Change RTD flags to a strong enum 2024-08-13 20:20:25 +00:00
Gymnasiast
d93233f9fd Update TrackCoordinates field names 2024-08-11 15:06:19 +02:00
Gymnasiast
0ea9c5a2c2 Update TrackDefinition field names 2024-08-11 14:52:25 +02:00
Gymnasiast
9294a58e98 Change TrackDescriptor field names to lowerCamelCase 2024-08-03 12:51:25 +02:00
Gymnasiast
6949c62529 Turn SpinFunction into strong enum 2024-08-02 23:55:23 +02:00
Michael Steenbeek
e5a6cccd5c Split RTD, track and vehicle drawing 2024-07-31 20:10:55 +00:00
mrmbernardi
9ed5c63857 Rename Location.hpp constants (#22385) 2024-07-26 10:23:25 +02:00
Aaron van Geffen
3d5c19de08 Drop Localisation.h include where not required 2024-07-13 13:33:32 +02:00
Aaron van Geffen
8cef18cd2f Include cassert as needed at unit level 2024-07-09 16:43:03 +02:00