1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-06 06:32:56 +01:00
Commit Graph

227 Commits

Author SHA1 Message Date
mix
dcaef0fff3 Fix #19137: Non inverted left corkscrew supports wrong at one angle (#24988) 2025-08-17 09:20:57 -03:00
Gymnasiast
ed6cd227fc Rename enum members of MetalSupportType to lowerCamelCase 2025-06-21 14:16:40 +02:00
Gymnasiast
16ce220210 Rename enum members of MetalSupportPlace to lowerCamelCase 2025-06-21 14:12:49 +02:00
mix
cfaff31aff Fix narrow station base drawing with incorrect rotation 2025-04-16 11:30:34 +00:00
Michael Steenbeek
d97ae02db2 Fix #23484: Castle station styles are erroneously remappable 2025-03-31 17:54:08 +02:00
Gymnasiast
d0368a7f02 Rename STATION_OBJECT_FLAGS and its members 2025-03-25 22:05:53 +01:00
mix
a8e2c6e375 Fix #23710: Tracked rides draw station bases with No entrance, no platform station style 2025-03-24 21:32:56 +01:00
Matt
94be70f8a8 Merge pull request #24034 from Gymnasiast/refactor/gamestate-t-lower-camel-case
Change GameState_t members to lowerCamelCase
2025-03-21 23:32:02 +02:00
mix
7a9041c7f3 Shorten PaintSegment enum variant names 2025-03-21 09:17:15 +01:00
Gymnasiast
4badffcdb6 Change GameState_t members to lowerCamelCase 2025-03-20 23:05:57 +01:00
Michael Steenbeek
05b64985f4 Update Ride struct to new codestyle 2025-03-09 00:26:25 +01: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
mix
a520ceeaea Fix #23836: Adjacent track can draw over large turns 2025-02-20 17:47:39 +00:00
mix
c4c230b43b Fix spinning tunnels drawing over sloped terrain in front of them (#23818) 2025-02-15 15:41:18 +01:00
73
b9b2c96c97 Rename sprites.h to SpriteIds.h (#23804) 2025-02-13 15:51:46 +00: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
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
23d4032eed Move LightFX into its own namespace (#23506) 2024-12-30 11:04:39 +00:00
Gymnasiast
716117165b Reduce branching when drawing 2024-12-24 18:34:57 +01:00
Gymnasiast
9b7bbcf69a Number track styles 2024-12-24 17:23:58 +01:00
Gymnasiast
d9d5df509e Add RtdSpecialType to replace checks for maze and other naughty types 2024-11-24 12:58:32 +01:00
Gymnasiast
8243cf755a Replace direct check for RIDE_TYPE_INFORMATION_KIOSK 2024-11-24 12:58:03 +01:00
Michael Steenbeek
71ce725a2a Split off BannerElement and TrackElement (#22955) 2024-10-14 14:26:10 +02:00
Gymnasiast
599ae4006d Use wooden support table in APVC 2024-09-18 22:41:34 +02:00
Gymnasiast
2c5f3a74c9 Consolidate S-bend metal support code 2024-09-07 16:57:34 +02:00
Gymnasiast
d186128980 Consolidate more on-ride photo paint code 2024-09-07 16:57:33 +02:00
Gymnasiast
64dea4cd5d Replace usages of MetalSupportGraphic with MetalSupportType 2024-08-21 14:59:17 +02:00
Gymnasiast
dc3c22b820 Introduce deduplicated MetalSupportType 2024-08-21 14:20:03 +02:00
Gymnasiast
87e91e388b Rename MetalSupportType to MetalSupportGraphic 2024-08-21 14:20:03 +02:00
Michael Steenbeek
d5a3cb4103 Pass support type to track drawers at runtime (#22570) 2024-08-18 12:18:33 +02:00
Michael Steenbeek
47800cddcf Change RTD flags to a strong enum 2024-08-13 20:20:25 +00:00
Gymnasiast
9294a58e98 Change TrackDescriptor field names to lowerCamelCase 2024-08-03 12:51: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
51873dc0f6 Include Diagnostic.h at unit level 2024-07-09 16:23:31 +02:00
Aaron van Geffen
15ee05dfb0 Rename kNumOrthogonalDirections constant 2024-07-01 17:29:37 +02:00
Michael Steenbeek
31035cd7aa Fix #22063: Incorrect colour on hybrid diag flat 2024-06-17 23:28:10 +02:00
Gymnasiast
8c1a841a7f Refactor tunnels 2024-06-03 22:42:20 +02:00
Michael Steenbeek
311628dadf Condense diagonal straight flat drawing even more 2024-05-18 20:32:31 +02:00
Michael Steenbeek
6979e88b9e Clean up more diagonal track drawing
This consists mostly of using `TrackPaintUtilDiagTilesPaint()` where appropriate, as well as cleaning up some duplicate constants in the monorail/miniature railway paint code.
2024-05-13 14:37:35 +02:00
Harry Hopkinson
740ee91cb5 Refactor more constants in TrackPaint.h 2024-05-10 16:05:05 +02:00
Harry Hopkinson
613d60b446 Refactor more constants in TrackPaint.h (#21942) 2024-05-09 06:41:47 -03:00
Gymnasiast
3641e78341 Remove parameter from TrackPaintUtilDiagTilesPaint() 2024-05-02 20:42:12 +02:00
Gymnasiast
369996809c Add PaintSegment header, add constant for straight flat track 2024-05-02 18:12:51 +02:00
Harry-Hopkinson
dda8c3ecb2 Rename DiagBlockedSegments to kDiagBlockedSegments 2024-04-30 11:54:05 +00:00
Harry-Hopkinson
52ad6861af Rename track_map_1x4 to kTrackMap1x4 2024-04-28 14:33:41 +00:00
Harry-Hopkinson
d6efe4cd53 Rename edges_4x4 to kEdges4x4 2024-04-28 14:31:29 +00:00
Harry-Hopkinson
b9003d6e60 Rename track_map_4x4 to kTrackMap4x4 2024-04-28 14:26:12 +00:00
Harry-Hopkinson
8eebcc5486 Rename edges_3x3 to kEdges3x3 2024-04-28 14:19:19 +00:00