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
Harry-Hopkinson
a3e685bf1f
Rename track_map_3x3 to kTrackMap3x3
2024-04-28 14:14:58 +00:00
Harry-Hopkinson
97e9634a61
Rename edges_2x2 to kEdges2x2
2024-04-28 14:08:02 +00:00
Harry-Hopkinson
b795d4ba8a
Rename track_map_2x2 to kTrackMap2x2
2024-04-28 14:04:26 +00:00
Harry Hopkinson
9266a6f0d3
Remove duplicate sprite_map in TrackPaint.cpp
2024-04-27 21:13:22 +02:00
Michael Steenbeek
7fc34ef612
Fix #21832 : Ghost Train in Haunted Harbour has missing pieces ( #21856 )
2024-04-21 00:01:55 +02:00
Michael Steenbeek
e190afeb80
Fix maze drawing ( #21729 )
2024-04-06 21:14:18 +02:00
Gymnasiast
96c9b7d85d
Refactor track paint functions and available pieces in RTD
2024-03-30 00:33:35 +01:00
Gymnasiast
b66f687880
Implement diagonal flat parts
2024-03-22 17:30:02 +01:00
Gymnasiast
7ae98f7421
Use EnumsToFlags() and create a proper enum
2024-03-11 01:12:35 +01:00
Gymnasiast
632f29e6a9
Name segment constants
2024-03-11 00:22:35 +01:00
Michael Steenbeek
045d610391
Merge pull request #21433 from Gymnasiast/refactor/split-supports.cpp
...
Split Supports.{cpp,h} into two and refactor the wooden supports
2024-02-20 23:42:37 +01:00
Harry Hopkinson
d8864e567c
Close #21379 : Move map base z to constant
2024-02-20 11:49:02 +01:00
Gymnasiast
849af8c2d8
Split Supports.{cpp,h} into two
2024-02-19 21:59:59 +01:00
Gymnasiast
accfa1af61
Add WoodenSupportType::Null, replace std::nullopt with it
2024-02-17 22:26:15 +01:00
Harry Hopkinson
a55da09e1c
Move gMapBaseZ to GameState_t ( #21370 )
...
* Move gMapBaseZ to GameState_t
* Fix fomatting
2024-02-11 21:40:32 +00:00
ζeh Matt
a5dde0f8dc
Replace gCurrentTicks with the one in GameState_t
2024-01-19 16:32:19 +02: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
Spacek531
b6bcb8e106
Add secondary colour to supports scheme
...
The wooden roller coaster and air powered vertical coaster both
construct a paint scheme that incorporates the tertiary colour in the
primary slot and the secondary colour in the secondary slot.
Constructing the scheme requires at least one condition that can be
removed by constructing the scheme when populating the PaintSessionCore.
2023-12-23 17:13:27 -08:00
Spacek531
a890844115
replace TrackColours array with two ImageId values
2023-12-23 17:01:56 -08:00
spacek531
1306dc048b
Remove SCHEME_MISC, SCHEME_3 from PaintSessionCore
2023-12-23 16:42:00 +01:00
Gymnasiast
5e38c15f58
Split up drawing functions for covered track elements
2023-12-10 15:11:46 +01:00
Gymnasiast
8df55ce5a9
Use modern support calls in TrackPaint.cpp
2023-11-17 23:24:45 +01:00
Gymnasiast
3b074be920
Confine RotatedMetalSupports to Supports.cpp
2023-10-25 19:43:34 +02:00
Gymnasiast
2d16df1072
Create TrackPaintUtilOnridePhotoPlatformPaint()
2023-10-25 19:43:34 +02:00
Gymnasiast
0e5c413385
Merge TrackPaintUtilDrawStationMetalSupports() and ...2()
2023-10-25 19:43:28 +02:00