Remove unused symbols, fixes

This commit is contained in:
Gymnasiast committed 2022-09-30 00:01:13 +02:00
1 parent a69a8fa7e8
commit 26c080a0d7
24 files changed
+86 -89

No files matched your search

+2 -1
View File
@@ -2110,7 +2110,8 @@ private:
uint8_t window_colour = NOT_TRANSLUCENT(colours[widget->colour]);
// Draw greyed out (light border bottom right shadow)
gfx_draw_sprite_solid(dpi, ImageId(spriteIndex), screenCoords + ScreenCoordsXY{ 1, 1 }, ColourMapA[window_colour].lighter);
gfx_draw_sprite_solid(
dpi, ImageId(spriteIndex), screenCoords + ScreenCoordsXY{ 1, 1 }, ColourMapA[window_colour].lighter);
// Draw greyed out (dark)
gfx_draw_sprite_solid(dpi, ImageId(spriteIndex), screenCoords, ColourMapA[window_colour].mid_light);
+1 -1
View File
@@ -4112,7 +4112,7 @@ static void WindowRideMaintenancePaint(rct_window* w, rct_drawpixelinfo* dpi)
// Locate mechanic button image
rct_widget* widget = &window_ride_maintenance_widgets[WIDX_LOCATE_MECHANIC];
auto screenCoords = w->windowPos + ScreenCoordsXY{ widget->left, widget->top };
auto image = ImageId(SPR_MECHANIC, COLOUR_BLACK, gStaffMechanicColour << 24);
auto image = ImageId(SPR_MECHANIC, COLOUR_BLACK, gStaffMechanicColour);
gfx_draw_sprite(dpi, image, screenCoords);
// Inspection label
+2 -1
View File
@@ -811,7 +811,8 @@ public:
uint8_t colour = ThemeGetColour(wc, j);
const bool isPressed = (i == _colour_index_1 && j == _colour_index_2);
auto image = ImageId(isPressed ? SPR_PALETTE_BTN_PRESSED : SPR_PALETTE_BTN, colour & ~COLOUR_FLAG_TRANSLUCENT);
auto image = ImageId(
isPressed ? SPR_PALETTE_BTN_PRESSED : SPR_PALETTE_BTN, colour & ~COLOUR_FLAG_TRANSLUCENT);
gfx_draw_sprite(&dpi, image, { _button_offset_x + 12 * j, screenCoords.y + _button_offset_y });
ScreenCoordsXY topLeft{ _button_offset_x + 12 * j, screenCoords.y + _check_offset_y };
-4
View File
@@ -462,10 +462,6 @@ void FASTCALL BlitPixels(const uint8_t* src, uint8_t* dst, const PaletteMap& pal
}
#define SPRITE_ID_PALETTE_COLOUR_1(colourId) (IMAGE_TYPE_REMAP | ((colourId) << 19))
#define SPRITE_ID_PALETTE_COLOUR_2(primaryId, secondaryId) \
(IMAGE_TYPE_REMAP_2_PLUS | IMAGE_TYPE_REMAP | (((primaryId) << 19) | ((secondaryId) << 24)))
#define SPRITE_ID_PALETTE_COLOUR_3(primaryId, secondaryId) \
(IMAGE_TYPE_REMAP_2_PLUS | (((primaryId) << 19) | ((secondaryId) << 24)))
#define PALETTE_TO_G1_OFFSET_COUNT 144
-1
View File
@@ -286,7 +286,6 @@ extern CoordsXY gClipSelectionA;
extern CoordsXY gClipSelectionB;
/** rct2: 0x00993CC4. The white ghost that indicates not-yet-built elements. */
#define CONSTRUCTION_MARKER (COLOUR_DARK_GREEN << 19 | COLOUR_GREY << 24 | IMAGE_TYPE_REMAP)
constexpr const ImageId ConstructionMarker = ImageId(0).WithRemap(FilterPaletteID::Palette44);
constexpr const ImageId HighlightMarker = ImageId(0).WithRemap(FilterPaletteID::Palette44);
@@ -1267,14 +1267,13 @@ void PaintSurface(paint_session& session, uint8_t direction, uint16_t height, co
continue;
}
colour_t colour1 = COLOUR_BRIGHT_PURPLE;
colour_t colour2 = COLOUR_GREY;
FilterPaletteID fpId = static_cast<FilterPaletteID>(37);
if (gMapSelectFlags & MAP_SELECT_FLAG_GREEN)
{
colour1 = COLOUR_SATURATED_GREEN;
fpId = static_cast<FilterPaletteID>(43);
}
const auto image_id = ImageId(SPR_TERRAIN_SELECTION_CORNER + byte_97B444[surfaceShape], colour1, colour2);
const auto image_id = ImageId(SPR_TERRAIN_SELECTION_CORNER + byte_97B444[surfaceShape], fpId);
PaintAttachToPreviousPS(session, image_id, 0, 0);
break;
}
@@ -315,12 +315,13 @@ static void PaintTileElementBase(paint_session& session, const CoordsXY& origCoo
for (int32_t sx = 0; sx < 3; sx++)
{
uint16_t segmentHeight = session.SupportSegments[segmentPositions[sy][sx]].height;
auto imageColourFlats = ImageId(0, FilterPaletteID::PaletteDarken3);
auto imageColourFlats = ImageId(SPR_LAND_TOOL_SIZE_1).WithTransparancy(FilterPaletteID::PaletteDarken3);
if (segmentHeight == 0xFFFF)
{
segmentHeight = session.Support.height;
// white: 0b101101
imageColourFlats = ImageId(0, FilterPaletteID::PaletteTranslucentBordeauxRedHighlight);
imageColourFlats = ImageId(SPR_LAND_TOOL_SIZE_1)
.WithTransparancy(FilterPaletteID::PaletteTranslucentBordeauxRedHighlight);
}
// Only draw supports below the clipping height.
@@ -330,7 +331,7 @@ static void PaintTileElementBase(paint_session& session, const CoordsXY& origCoo
int32_t xOffset = sy * 10;
int32_t yOffset = -22 + sx * 10;
paint_struct* ps = PaintAddImageAsParent(
session, imageColourFlats.WithIndex(SPR_LAND_TOOL_SIZE_1), { xOffset, yOffset, segmentHeight }, { 10, 10, 1 },
session, imageColourFlats, { xOffset, yOffset, segmentHeight }, { 10, 10, 1 },
{ xOffset + 1, yOffset + 16, segmentHeight });
if (ps != nullptr)
{
@@ -3830,7 +3830,7 @@ static void bobsleigh_rc_track_on_ride_photo(
{
case 0:
PaintAddImageAsParentRotated(
session, direction, ImageId(IMAGE_TYPE_REMAP | SPR_STATION_BASE_D), { 0, 0, height }, { 32, 32, 1 });
session, direction, ImageId(SPR_STATION_BASE_D, COLOUR_BLACK), { 0, 0, height }, { 32, 32, 1 });
metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]);
metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 8, 0, height, session.TrackColours[SCHEME_SUPPORTS]);
PaintAddImageAsParentRotated(
@@ -3842,7 +3842,7 @@ static void bobsleigh_rc_track_on_ride_photo(
break;
case 1:
PaintAddImageAsParentRotated(
session, direction, ImageId(IMAGE_TYPE_REMAP | SPR_STATION_BASE_D), { 0, 0, height }, { 32, 32, 1 });
session, direction, ImageId(SPR_STATION_BASE_D, COLOUR_BLACK), { 0, 0, height }, { 32, 32, 1 });
metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 6, 0, height, session.TrackColours[SCHEME_SUPPORTS]);
metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 7, 0, height, session.TrackColours[SCHEME_SUPPORTS]);
PaintAddImageAsParentRotated(
@@ -3854,7 +3854,7 @@ static void bobsleigh_rc_track_on_ride_photo(
break;
case 2:
PaintAddImageAsParentRotated(
session, direction, ImageId(IMAGE_TYPE_REMAP | SPR_STATION_BASE_D), { 0, 0, height }, { 32, 32, 1 });
session, direction, ImageId(SPR_STATION_BASE_D, COLOUR_BLACK), { 0, 0, height }, { 32, 32, 1 });
metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]);
metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 8, 0, height, session.TrackColours[SCHEME_SUPPORTS]);
PaintAddImageAsParentRotated(
@@ -3867,7 +3867,7 @@ static void bobsleigh_rc_track_on_ride_photo(
break;
case 3:
PaintAddImageAsParentRotated(
session, direction, ImageId(IMAGE_TYPE_REMAP | SPR_STATION_BASE_D), { 0, 0, height }, { 32, 32, 1 });
session, direction, ImageId(SPR_STATION_BASE_D, COLOUR_BLACK), { 0, 0, height }, { 32, 32, 1 });
metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 6, 0, height, session.TrackColours[SCHEME_SUPPORTS]);
metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 7, 0, height, session.TrackColours[SCHEME_SUPPORTS]);
PaintAddImageAsParentRotated(
@@ -4640,7 +4640,7 @@ static void bolliger_mabillard_track_on_ride_photo(
{
case 0:
PaintAddImageAsParentRotated(
session, direction, ImageId(IMAGE_TYPE_REMAP | SPR_STATION_BASE_D), { 0, 0, height }, { 32, 32, 1 });
session, direction, ImageId(SPR_STATION_BASE_D, COLOUR_BLACK), { 0, 0, height }, { 32, 32, 1 });
metal_a_supports_paint_setup(session, supportType, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]);
metal_a_supports_paint_setup(session, supportType, 8, 0, height, session.TrackColours[SCHEME_SUPPORTS]);
PaintAddImageAsParentRotated(
@@ -4649,7 +4649,7 @@ static void bolliger_mabillard_track_on_ride_photo(
break;
case 1:
PaintAddImageAsParentRotated(
session, direction, ImageId(IMAGE_TYPE_REMAP | SPR_STATION_BASE_D), { 0, 0, height }, { 32, 32, 1 });
session, direction, ImageId(SPR_STATION_BASE_D, COLOUR_BLACK), { 0, 0, height }, { 32, 32, 1 });
metal_a_supports_paint_setup(session, supportType, 6, 0, height, session.TrackColours[SCHEME_SUPPORTS]);
metal_a_supports_paint_setup(session, supportType, 7, 0, height, session.TrackColours[SCHEME_SUPPORTS]);
PaintAddImageAsParentRotated(
@@ -4658,7 +4658,7 @@ static void bolliger_mabillard_track_on_ride_photo(
break;
case 2:
PaintAddImageAsParentRotated(
session, direction, ImageId(IMAGE_TYPE_REMAP | SPR_STATION_BASE_D), { 0, 0, height }, { 32, 32, 1 });
session, direction, ImageId(SPR_STATION_BASE_D, COLOUR_BLACK), { 0, 0, height }, { 32, 32, 1 });
metal_a_supports_paint_setup(session, supportType, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]);
metal_a_supports_paint_setup(session, supportType, 8, 0, height, session.TrackColours[SCHEME_SUPPORTS]);
PaintAddImageAsParentRotated(
@@ -4667,7 +4667,7 @@ static void bolliger_mabillard_track_on_ride_photo(
break;
case 3:
PaintAddImageAsParentRotated(
session, direction, ImageId(IMAGE_TYPE_REMAP | SPR_STATION_BASE_D), { 0, 0, height }, { 32, 32, 1 });
session, direction, ImageId(SPR_STATION_BASE_D, COLOUR_BLACK), { 0, 0, height }, { 32, 32, 1 });
metal_a_supports_paint_setup(session, supportType, 6, 0, height, session.TrackColours[SCHEME_SUPPORTS]);
metal_a_supports_paint_setup(session, supportType, 7, 0, height, session.TrackColours[SCHEME_SUPPORTS]);
PaintAddImageAsParentRotated(
@@ -5214,7 +5214,7 @@ static void compact_inverted_rc_track_on_ride_photo(
{
case 0:
PaintAddImageAsParentRotated(
session, direction, ImageId(IMAGE_TYPE_REMAP | SPR_STATION_BASE_D), { 0, 0, height }, { 32, 32, 1 });
session, direction, ImageId(SPR_STATION_BASE_D, COLOUR_BLACK), { 0, 0, height }, { 32, 32, 1 });
metal_a_supports_paint_setup(
session, METAL_SUPPORTS_TUBES_INVERTED, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]);
metal_a_supports_paint_setup(
@@ -5225,7 +5225,7 @@ static void compact_inverted_rc_track_on_ride_photo(
break;
case 1:
PaintAddImageAsParentRotated(
session, direction, ImageId(IMAGE_TYPE_REMAP | SPR_STATION_BASE_D), { 0, 0, height }, { 32, 32, 1 });
session, direction, ImageId(SPR_STATION_BASE_D, COLOUR_BLACK), { 0, 0, height }, { 32, 32, 1 });
metal_a_supports_paint_setup(
session, METAL_SUPPORTS_TUBES_INVERTED, 6, 0, height, session.TrackColours[SCHEME_SUPPORTS]);
metal_a_supports_paint_setup(
@@ -5236,7 +5236,7 @@ static void compact_inverted_rc_track_on_ride_photo(
break;
case 2:
PaintAddImageAsParentRotated(
session, direction, ImageId(IMAGE_TYPE_REMAP | SPR_STATION_BASE_D), { 0, 0, height }, { 32, 32, 1 });
session, direction, ImageId(SPR_STATION_BASE_D, COLOUR_BLACK), { 0, 0, height }, { 32, 32, 1 });
metal_a_supports_paint_setup(
session, METAL_SUPPORTS_TUBES_INVERTED, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]);
metal_a_supports_paint_setup(
@@ -5247,7 +5247,7 @@ static void compact_inverted_rc_track_on_ride_photo(
break;
case 3:
PaintAddImageAsParentRotated(
session, direction, ImageId(IMAGE_TYPE_REMAP | SPR_STATION_BASE_D), { 0, 0, height }, { 32, 32, 1 });
session, direction, ImageId(SPR_STATION_BASE_D, COLOUR_BLACK), { 0, 0, height }, { 32, 32, 1 });
metal_a_supports_paint_setup(
session, METAL_SUPPORTS_TUBES_INVERTED, 6, 0, height, session.TrackColours[SCHEME_SUPPORTS]);
metal_a_supports_paint_setup(
@@ -4958,7 +4958,7 @@ static void corkscrew_rc_track_on_ride_photo(
{
case 0:
PaintAddImageAsParentRotated(
session, direction, ImageId(IMAGE_TYPE_REMAP | SPR_STATION_BASE_D), { 0, 0, height }, { 32, 32, 1 });
session, direction, ImageId(SPR_STATION_BASE_D, COLOUR_BLACK), { 0, 0, height }, { 32, 32, 1 });
metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]);
metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 8, 0, height, session.TrackColours[SCHEME_SUPPORTS]);
PaintAddImageAsParentRotated(
@@ -4967,7 +4967,7 @@ static void corkscrew_rc_track_on_ride_photo(
break;
case 1:
PaintAddImageAsParentRotated(
session, direction, ImageId(IMAGE_TYPE_REMAP | SPR_STATION_BASE_D), { 0, 0, height }, { 32, 32, 1 });
session, direction, ImageId(SPR_STATION_BASE_D, COLOUR_BLACK), { 0, 0, height }, { 32, 32, 1 });
metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 6, 0, height, session.TrackColours[SCHEME_SUPPORTS]);
metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 7, 0, height, session.TrackColours[SCHEME_SUPPORTS]);
PaintAddImageAsParentRotated(
@@ -4976,7 +4976,7 @@ static void corkscrew_rc_track_on_ride_photo(
break;
case 2:
PaintAddImageAsParentRotated(
session, direction, ImageId(IMAGE_TYPE_REMAP | SPR_STATION_BASE_D), { 0, 0, height }, { 32, 32, 1 });
session, direction, ImageId(SPR_STATION_BASE_D, COLOUR_BLACK), { 0, 0, height }, { 32, 32, 1 });
metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]);
metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 8, 0, height, session.TrackColours[SCHEME_SUPPORTS]);
PaintAddImageAsParentRotated(
@@ -4985,7 +4985,7 @@ static void corkscrew_rc_track_on_ride_photo(
break;
case 3:
PaintAddImageAsParentRotated(
session, direction, ImageId(IMAGE_TYPE_REMAP | SPR_STATION_BASE_D), { 0, 0, height }, { 32, 32, 1 });
session, direction, ImageId(SPR_STATION_BASE_D, COLOUR_BLACK), { 0, 0, height }, { 32, 32, 1 });
metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 6, 0, height, session.TrackColours[SCHEME_SUPPORTS]);
metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 7, 0, height, session.TrackColours[SCHEME_SUPPORTS]);
PaintAddImageAsParentRotated(
@@ -7565,7 +7565,7 @@ static void flying_rc_track_on_ride_photo(
{
case 0:
PaintAddImageAsParentRotated(
session, direction, ImageId(IMAGE_TYPE_REMAP | SPR_STATION_BASE_D), { 0, 0, height }, { 32, 32, 1 });
session, direction, ImageId(SPR_STATION_BASE_D, COLOUR_BLACK), { 0, 0, height }, { 32, 32, 1 });
metal_a_supports_paint_setup(
session, METAL_SUPPORTS_TUBES_INVERTED, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]);
metal_a_supports_paint_setup(
@@ -7576,7 +7576,7 @@ static void flying_rc_track_on_ride_photo(
break;
case 1:
PaintAddImageAsParentRotated(
session, direction, ImageId(IMAGE_TYPE_REMAP | SPR_STATION_BASE_D), { 0, 0, height }, { 32, 32, 1 });
session, direction, ImageId(SPR_STATION_BASE_D, COLOUR_BLACK), { 0, 0, height }, { 32, 32, 1 });
metal_a_supports_paint_setup(
session, METAL_SUPPORTS_TUBES_INVERTED, 6, 0, height, session.TrackColours[SCHEME_SUPPORTS]);
metal_a_supports_paint_setup(
@@ -7587,7 +7587,7 @@ static void flying_rc_track_on_ride_photo(
break;
case 2:
PaintAddImageAsParentRotated(
session, direction, ImageId(IMAGE_TYPE_REMAP | SPR_STATION_BASE_D), { 0, 0, height }, { 32, 32, 1 });
session, direction, ImageId(SPR_STATION_BASE_D, COLOUR_BLACK), { 0, 0, height }, { 32, 32, 1 });
metal_a_supports_paint_setup(
session, METAL_SUPPORTS_TUBES_INVERTED, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]);
metal_a_supports_paint_setup(
@@ -7598,7 +7598,7 @@ static void flying_rc_track_on_ride_photo(
break;
case 3:
PaintAddImageAsParentRotated(
session, direction, ImageId(IMAGE_TYPE_REMAP | SPR_STATION_BASE_D), { 0, 0, height }, { 32, 32, 1 });
session, direction, ImageId(SPR_STATION_BASE_D, COLOUR_BLACK), { 0, 0, height }, { 32, 32, 1 });
metal_a_supports_paint_setup(
session, METAL_SUPPORTS_TUBES_INVERTED, 6, 0, height, session.TrackColours[SCHEME_SUPPORTS]);
metal_a_supports_paint_setup(
@@ -7619,7 +7619,7 @@ static void flying_rc_track_on_ride_photo(
{
case 0:
PaintAddImageAsParentRotated(
session, direction, ImageId(IMAGE_TYPE_REMAP | SPR_STATION_BASE_D), { 0, 0, height }, { 32, 32, 1 });
session, direction, ImageId(SPR_STATION_BASE_D, COLOUR_BLACK), { 0, 0, height }, { 32, 32, 1 });
metal_a_supports_paint_setup(
session, METAL_SUPPORTS_TUBES_INVERTED, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]);
metal_a_supports_paint_setup(
@@ -7630,7 +7630,7 @@ static void flying_rc_track_on_ride_photo(
break;
case 1:
PaintAddImageAsParentRotated(
session, direction, ImageId(IMAGE_TYPE_REMAP | SPR_STATION_BASE_D), { 0, 0, height }, { 32, 32, 1 });
session, direction, ImageId(SPR_STATION_BASE_D, COLOUR_BLACK), { 0, 0, height }, { 32, 32, 1 });
metal_a_supports_paint_setup(
session, METAL_SUPPORTS_TUBES_INVERTED, 6, 0, height, session.TrackColours[SCHEME_SUPPORTS]);
metal_a_supports_paint_setup(
@@ -7641,7 +7641,7 @@ static void flying_rc_track_on_ride_photo(
break;
case 2:
PaintAddImageAsParentRotated(
session, direction, ImageId(IMAGE_TYPE_REMAP | SPR_STATION_BASE_D), { 0, 0, height }, { 32, 32, 1 });
session, direction, ImageId(SPR_STATION_BASE_D, COLOUR_BLACK), { 0, 0, height }, { 32, 32, 1 });
metal_a_supports_paint_setup(
session, METAL_SUPPORTS_TUBES_INVERTED, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]);
metal_a_supports_paint_setup(
@@ -7652,7 +7652,7 @@ static void flying_rc_track_on_ride_photo(
break;
case 3:
PaintAddImageAsParentRotated(
session, direction, ImageId(IMAGE_TYPE_REMAP | SPR_STATION_BASE_D), { 0, 0, height }, { 32, 32, 1 });
session, direction, ImageId(SPR_STATION_BASE_D, COLOUR_BLACK), { 0, 0, height }, { 32, 32, 1 });
metal_a_supports_paint_setup(
session, METAL_SUPPORTS_TUBES_INVERTED, 6, 0, height, session.TrackColours[SCHEME_SUPPORTS]);
metal_a_supports_paint_setup(
+4 -4
View File
@@ -4236,7 +4236,7 @@ static void giga_rc_track_on_ride_photo(
{
case 0:
PaintAddImageAsParentRotated(
session, direction, ImageId(IMAGE_TYPE_REMAP | SPR_STATION_BASE_D), { 0, 0, height }, { 32, 32, 1 });
session, direction, ImageId(SPR_STATION_BASE_D, COLOUR_BLACK), { 0, 0, height }, { 32, 32, 1 });
metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]);
metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 8, 0, height, session.TrackColours[SCHEME_SUPPORTS]);
PaintAddImageAsParentRotated(
@@ -4245,7 +4245,7 @@ static void giga_rc_track_on_ride_photo(
break;
case 1:
PaintAddImageAsParentRotated(
session, direction, ImageId(IMAGE_TYPE_REMAP | SPR_STATION_BASE_D), { 0, 0, height }, { 32, 32, 1 });
session, direction, ImageId(SPR_STATION_BASE_D, COLOUR_BLACK), { 0, 0, height }, { 32, 32, 1 });
metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 6, 0, height, session.TrackColours[SCHEME_SUPPORTS]);
metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 7, 0, height, session.TrackColours[SCHEME_SUPPORTS]);
PaintAddImageAsParentRotated(
@@ -4254,7 +4254,7 @@ static void giga_rc_track_on_ride_photo(
break;
case 2:
PaintAddImageAsParentRotated(
session, direction, ImageId(IMAGE_TYPE_REMAP | SPR_STATION_BASE_D), { 0, 0, height }, { 32, 32, 1 });
session, direction, ImageId(SPR_STATION_BASE_D, COLOUR_BLACK), { 0, 0, height }, { 32, 32, 1 });
metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]);
metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 8, 0, height, session.TrackColours[SCHEME_SUPPORTS]);
PaintAddImageAsParentRotated(
@@ -4263,7 +4263,7 @@ static void giga_rc_track_on_ride_photo(
break;
case 3:
PaintAddImageAsParentRotated(
session, direction, ImageId(IMAGE_TYPE_REMAP | SPR_STATION_BASE_D), { 0, 0, height }, { 32, 32, 1 });
session, direction, ImageId(SPR_STATION_BASE_D, COLOUR_BLACK), { 0, 0, height }, { 32, 32, 1 });
metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 6, 0, height, session.TrackColours[SCHEME_SUPPORTS]);
metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 7, 0, height, session.TrackColours[SCHEME_SUPPORTS]);
PaintAddImageAsParentRotated(
+1 -1
View File
@@ -10813,7 +10813,7 @@ namespace HybridRC
const TrackElement& trackElement)
{
PaintAddImageAsParentRotated(
session, direction, ImageId(IMAGE_TYPE_REMAP | SPR_STATION_BASE_D), { 0, 0, height }, { 32, 32, 1 });
session, direction, ImageId(SPR_STATION_BASE_D, COLOUR_BLACK), { 0, 0, height }, { 32, 32, 1 });
PaintAddImageAsParentRotated(
session, direction, GetTrackColour(session).WithIndex(SPR_G2_HYBRID_TRACK_FLAT + (direction & 1)), { 0, 0, height },
{ 32, 20, 0 }, { 0, 6, height + 3 });
@@ -5227,7 +5227,7 @@ static void inverted_rc_track_on_ride_photo(
{
case 0:
PaintAddImageAsParentRotated(
session, direction, ImageId(IMAGE_TYPE_REMAP | SPR_STATION_BASE_D), { 0, 0, height }, { 32, 32, 1 });
session, direction, ImageId(SPR_STATION_BASE_D, COLOUR_BLACK), { 0, 0, height }, { 32, 32, 1 });
metal_a_supports_paint_setup(session, METAL_SUPPORTS_BOXED, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]);
metal_a_supports_paint_setup(session, METAL_SUPPORTS_BOXED, 8, 0, height, session.TrackColours[SCHEME_SUPPORTS]);
PaintAddImageAsParentRotated(
@@ -5236,7 +5236,7 @@ static void inverted_rc_track_on_ride_photo(
break;
case 1:
PaintAddImageAsParentRotated(
session, direction, ImageId(IMAGE_TYPE_REMAP | SPR_STATION_BASE_D), { 0, 0, height }, { 32, 32, 1 });
session, direction, ImageId(SPR_STATION_BASE_D, COLOUR_BLACK), { 0, 0, height }, { 32, 32, 1 });
metal_a_supports_paint_setup(session, METAL_SUPPORTS_BOXED, 6, 0, height, session.TrackColours[SCHEME_SUPPORTS]);
metal_a_supports_paint_setup(session, METAL_SUPPORTS_BOXED, 7, 0, height, session.TrackColours[SCHEME_SUPPORTS]);
PaintAddImageAsParentRotated(
@@ -5245,7 +5245,7 @@ static void inverted_rc_track_on_ride_photo(
break;
case 2:
PaintAddImageAsParentRotated(
session, direction, ImageId(IMAGE_TYPE_REMAP | SPR_STATION_BASE_D), { 0, 0, height }, { 32, 32, 1 });
session, direction, ImageId(SPR_STATION_BASE_D, COLOUR_BLACK), { 0, 0, height }, { 32, 32, 1 });
metal_a_supports_paint_setup(session, METAL_SUPPORTS_BOXED, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]);
metal_a_supports_paint_setup(session, METAL_SUPPORTS_BOXED, 8, 0, height, session.TrackColours[SCHEME_SUPPORTS]);
PaintAddImageAsParentRotated(
@@ -5254,7 +5254,7 @@ static void inverted_rc_track_on_ride_photo(
break;
case 3:
PaintAddImageAsParentRotated(
session, direction, ImageId(IMAGE_TYPE_REMAP | SPR_STATION_BASE_D), { 0, 0, height }, { 32, 32, 1 });
session, direction, ImageId(SPR_STATION_BASE_D, COLOUR_BLACK), { 0, 0, height }, { 32, 32, 1 });
metal_a_supports_paint_setup(session, METAL_SUPPORTS_BOXED, 6, 0, height, session.TrackColours[SCHEME_SUPPORTS]);
metal_a_supports_paint_setup(session, METAL_SUPPORTS_BOXED, 7, 0, height, session.TrackColours[SCHEME_SUPPORTS]);
PaintAddImageAsParentRotated(
@@ -5898,7 +5898,7 @@ static void junior_rc_track_on_ride_photo(
{
case 0:
PaintAddImageAsParentRotated(
session, direction, ImageId(IMAGE_TYPE_REMAP | SPR_STATION_BASE_D), { 0, 0, height + photoCameraOffset },
session, direction, ImageId(SPR_STATION_BASE_D, COLOUR_BLACK), { 0, 0, height + photoCameraOffset },
{ 32, 32, 1 });
metal_a_supports_paint_setup(
session, METAL_SUPPORTS_FORK, 5, 6, height + photoCameraOffset, session.TrackColours[SCHEME_SUPPORTS]);
@@ -5908,7 +5908,7 @@ static void junior_rc_track_on_ride_photo(
break;
case 1:
PaintAddImageAsParentRotated(
session, direction, ImageId(IMAGE_TYPE_REMAP | SPR_STATION_BASE_D), { 0, 0, height + photoCameraOffset },
session, direction, ImageId(SPR_STATION_BASE_D, COLOUR_BLACK), { 0, 0, height + photoCameraOffset },
{ 32, 32, 1 });
metal_a_supports_paint_setup(
session, METAL_SUPPORTS_FORK_ALT, 6, 6, height + photoCameraOffset, session.TrackColours[SCHEME_SUPPORTS]);
@@ -5918,7 +5918,7 @@ static void junior_rc_track_on_ride_photo(
break;
case 2:
PaintAddImageAsParentRotated(
session, direction, ImageId(IMAGE_TYPE_REMAP | SPR_STATION_BASE_D), { 0, 0, height + photoCameraOffset },
session, direction, ImageId(SPR_STATION_BASE_D, COLOUR_BLACK), { 0, 0, height + photoCameraOffset },
{ 32, 32, 1 });
metal_a_supports_paint_setup(
session, METAL_SUPPORTS_FORK, 5, 6, height + photoCameraOffset, session.TrackColours[SCHEME_SUPPORTS]);
@@ -5928,7 +5928,7 @@ static void junior_rc_track_on_ride_photo(
break;
case 3:
PaintAddImageAsParentRotated(
session, direction, ImageId(IMAGE_TYPE_REMAP | SPR_STATION_BASE_D), { 0, 0, height + photoCameraOffset },
session, direction, ImageId(SPR_STATION_BASE_D, COLOUR_BLACK), { 0, 0, height + photoCameraOffset },
{ 32, 32, 1 });
metal_a_supports_paint_setup(
session, METAL_SUPPORTS_FORK_ALT, 6, 6, height + photoCameraOffset, session.TrackColours[SCHEME_SUPPORTS]);
@@ -7280,7 +7280,7 @@ static void lay_down_rc_track_on_ride_photo(
{
case 0:
PaintAddImageAsParentRotated(
session, direction, ImageId(IMAGE_TYPE_REMAP | SPR_STATION_BASE_D), { 0, 0, height }, { 32, 32, 1 });
session, direction, ImageId(SPR_STATION_BASE_D, COLOUR_BLACK), { 0, 0, height }, { 32, 32, 1 });
metal_a_supports_paint_setup(
session, METAL_SUPPORTS_TUBES_INVERTED, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]);
metal_a_supports_paint_setup(
@@ -7291,7 +7291,7 @@ static void lay_down_rc_track_on_ride_photo(
break;
case 1:
PaintAddImageAsParentRotated(
session, direction, ImageId(IMAGE_TYPE_REMAP | SPR_STATION_BASE_D), { 0, 0, height }, { 32, 32, 1 });
session, direction, ImageId(SPR_STATION_BASE_D, COLOUR_BLACK), { 0, 0, height }, { 32, 32, 1 });
metal_a_supports_paint_setup(
session, METAL_SUPPORTS_TUBES_INVERTED, 6, 0, height, session.TrackColours[SCHEME_SUPPORTS]);
metal_a_supports_paint_setup(
@@ -7302,7 +7302,7 @@ static void lay_down_rc_track_on_ride_photo(
break;
case 2:
PaintAddImageAsParentRotated(
session, direction, ImageId(IMAGE_TYPE_REMAP | SPR_STATION_BASE_D), { 0, 0, height }, { 32, 32, 1 });
session, direction, ImageId(SPR_STATION_BASE_D, COLOUR_BLACK), { 0, 0, height }, { 32, 32, 1 });
metal_a_supports_paint_setup(
session, METAL_SUPPORTS_TUBES_INVERTED, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]);
metal_a_supports_paint_setup(
@@ -7313,7 +7313,7 @@ static void lay_down_rc_track_on_ride_photo(
break;
case 3:
PaintAddImageAsParentRotated(
session, direction, ImageId(IMAGE_TYPE_REMAP | SPR_STATION_BASE_D), { 0, 0, height }, { 32, 32, 1 });
session, direction, ImageId(SPR_STATION_BASE_D, COLOUR_BLACK), { 0, 0, height }, { 32, 32, 1 });
metal_a_supports_paint_setup(
session, METAL_SUPPORTS_TUBES_INVERTED, 6, 0, height, session.TrackColours[SCHEME_SUPPORTS]);
metal_a_supports_paint_setup(
@@ -7334,7 +7334,7 @@ static void lay_down_rc_track_on_ride_photo(
{
case 0:
PaintAddImageAsParentRotated(
session, direction, ImageId(IMAGE_TYPE_REMAP | SPR_STATION_BASE_D), { 0, 0, height }, { 32, 32, 1 });
session, direction, ImageId(SPR_STATION_BASE_D, COLOUR_BLACK), { 0, 0, height }, { 32, 32, 1 });
metal_a_supports_paint_setup(
session, METAL_SUPPORTS_TUBES_INVERTED, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]);
metal_a_supports_paint_setup(
@@ -7345,7 +7345,7 @@ static void lay_down_rc_track_on_ride_photo(
break;
case 1:
PaintAddImageAsParentRotated(
session, direction, ImageId(IMAGE_TYPE_REMAP | SPR_STATION_BASE_D), { 0, 0, height }, { 32, 32, 1 });
session, direction, ImageId(SPR_STATION_BASE_D, COLOUR_BLACK), { 0, 0, height }, { 32, 32, 1 });
metal_a_supports_paint_setup(
session, METAL_SUPPORTS_TUBES_INVERTED, 6, 0, height, session.TrackColours[SCHEME_SUPPORTS]);
metal_a_supports_paint_setup(
@@ -7356,7 +7356,7 @@ static void lay_down_rc_track_on_ride_photo(
break;
case 2:
PaintAddImageAsParentRotated(
session, direction, ImageId(IMAGE_TYPE_REMAP | SPR_STATION_BASE_D), { 0, 0, height }, { 32, 32, 1 });
session, direction, ImageId(SPR_STATION_BASE_D, COLOUR_BLACK), { 0, 0, height }, { 32, 32, 1 });
metal_a_supports_paint_setup(
session, METAL_SUPPORTS_TUBES_INVERTED, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]);
metal_a_supports_paint_setup(
@@ -7367,7 +7367,7 @@ static void lay_down_rc_track_on_ride_photo(
break;
case 3:
PaintAddImageAsParentRotated(
session, direction, ImageId(IMAGE_TYPE_REMAP | SPR_STATION_BASE_D), { 0, 0, height }, { 32, 32, 1 });
session, direction, ImageId(SPR_STATION_BASE_D, COLOUR_BLACK), { 0, 0, height }, { 32, 32, 1 });
metal_a_supports_paint_setup(
session, METAL_SUPPORTS_TUBES_INVERTED, 6, 0, height, session.TrackColours[SCHEME_SUPPORTS]);
metal_a_supports_paint_setup(
+4 -4
View File
@@ -3239,7 +3239,7 @@ static void mine_ride_track_on_ride_photo(
{
case 0:
PaintAddImageAsParentRotated(
session, direction, ImageId(IMAGE_TYPE_REMAP | SPR_STATION_BASE_D), { 0, 0, height }, { 32, 32, 1 });
session, direction, ImageId(SPR_STATION_BASE_D, COLOUR_BLACK), { 0, 0, height }, { 32, 32, 1 });
metal_a_supports_paint_setup(session, METAL_SUPPORTS_FORK, 5, 6, height, session.TrackColours[SCHEME_SUPPORTS]);
metal_a_supports_paint_setup(session, METAL_SUPPORTS_FORK, 8, 6, height, session.TrackColours[SCHEME_SUPPORTS]);
PaintAddImageAsParentRotated(
@@ -3248,7 +3248,7 @@ static void mine_ride_track_on_ride_photo(
break;
case 1:
PaintAddImageAsParentRotated(
session, direction, ImageId(IMAGE_TYPE_REMAP | SPR_STATION_BASE_D), { 0, 0, height }, { 32, 32, 1 });
session, direction, ImageId(SPR_STATION_BASE_D, COLOUR_BLACK), { 0, 0, height }, { 32, 32, 1 });
metal_a_supports_paint_setup(session, METAL_SUPPORTS_FORK_ALT, 6, 6, height, session.TrackColours[SCHEME_SUPPORTS]);
metal_a_supports_paint_setup(session, METAL_SUPPORTS_FORK_ALT, 7, 6, height, session.TrackColours[SCHEME_SUPPORTS]);
PaintAddImageAsParentRotated(
@@ -3257,7 +3257,7 @@ static void mine_ride_track_on_ride_photo(
break;
case 2:
PaintAddImageAsParentRotated(
session, direction, ImageId(IMAGE_TYPE_REMAP | SPR_STATION_BASE_D), { 0, 0, height }, { 32, 32, 1 });
session, direction, ImageId(SPR_STATION_BASE_D, COLOUR_BLACK), { 0, 0, height }, { 32, 32, 1 });
metal_a_supports_paint_setup(session, METAL_SUPPORTS_FORK, 5, 6, height, session.TrackColours[SCHEME_SUPPORTS]);
metal_a_supports_paint_setup(session, METAL_SUPPORTS_FORK, 8, 6, height, session.TrackColours[SCHEME_SUPPORTS]);
PaintAddImageAsParentRotated(
@@ -3266,7 +3266,7 @@ static void mine_ride_track_on_ride_photo(
break;
case 3:
PaintAddImageAsParentRotated(
session, direction, ImageId(IMAGE_TYPE_REMAP | SPR_STATION_BASE_D), { 0, 0, height }, { 32, 32, 1 });
session, direction, ImageId(SPR_STATION_BASE_D, COLOUR_BLACK), { 0, 0, height }, { 32, 32, 1 });
metal_a_supports_paint_setup(session, METAL_SUPPORTS_FORK_ALT, 6, 6, height, session.TrackColours[SCHEME_SUPPORTS]);
metal_a_supports_paint_setup(session, METAL_SUPPORTS_FORK_ALT, 7, 6, height, session.TrackColours[SCHEME_SUPPORTS]);
PaintAddImageAsParentRotated(
@@ -4562,7 +4562,7 @@ static void mini_rc_track_on_ride_photo(
{
case 0:
PaintAddImageAsParentRotated(
session, direction, ImageId(IMAGE_TYPE_REMAP | SPR_STATION_BASE_D), { 0, 0, height }, { 32, 32, 1 });
session, direction, ImageId(SPR_STATION_BASE_D, COLOUR_BLACK), { 0, 0, height }, { 32, 32, 1 });
metal_a_supports_paint_setup(session, METAL_SUPPORTS_FORK, 5, 6, height, session.TrackColours[SCHEME_SUPPORTS]);
metal_a_supports_paint_setup(session, METAL_SUPPORTS_FORK, 8, 6, height, session.TrackColours[SCHEME_SUPPORTS]);
PaintAddImageAsParentRotated(
@@ -4571,7 +4571,7 @@ static void mini_rc_track_on_ride_photo(
break;
case 1:
PaintAddImageAsParentRotated(
session, direction, ImageId(IMAGE_TYPE_REMAP | SPR_STATION_BASE_D), { 0, 0, height }, { 32, 32, 1 });
session, direction, ImageId(SPR_STATION_BASE_D, COLOUR_BLACK), { 0, 0, height }, { 32, 32, 1 });
metal_a_supports_paint_setup(session, METAL_SUPPORTS_FORK_ALT, 6, 6, height, session.TrackColours[SCHEME_SUPPORTS]);
metal_a_supports_paint_setup(session, METAL_SUPPORTS_FORK_ALT, 7, 6, height, session.TrackColours[SCHEME_SUPPORTS]);
PaintAddImageAsParentRotated(
@@ -4580,7 +4580,7 @@ static void mini_rc_track_on_ride_photo(
break;
case 2:
PaintAddImageAsParentRotated(
session, direction, ImageId(IMAGE_TYPE_REMAP | SPR_STATION_BASE_D), { 0, 0, height }, { 32, 32, 1 });
session, direction, ImageId(SPR_STATION_BASE_D, COLOUR_BLACK), { 0, 0, height }, { 32, 32, 1 });
metal_a_supports_paint_setup(session, METAL_SUPPORTS_FORK, 5, 6, height, session.TrackColours[SCHEME_SUPPORTS]);
metal_a_supports_paint_setup(session, METAL_SUPPORTS_FORK, 8, 6, height, session.TrackColours[SCHEME_SUPPORTS]);
PaintAddImageAsParentRotated(
@@ -4589,7 +4589,7 @@ static void mini_rc_track_on_ride_photo(
break;
case 3:
PaintAddImageAsParentRotated(
session, direction, ImageId(IMAGE_TYPE_REMAP | SPR_STATION_BASE_D), { 0, 0, height }, { 32, 32, 1 });
session, direction, ImageId(SPR_STATION_BASE_D, COLOUR_BLACK), { 0, 0, height }, { 32, 32, 1 });
metal_a_supports_paint_setup(session, METAL_SUPPORTS_FORK_ALT, 6, 6, height, session.TrackColours[SCHEME_SUPPORTS]);
metal_a_supports_paint_setup(session, METAL_SUPPORTS_FORK_ALT, 7, 6, height, session.TrackColours[SCHEME_SUPPORTS]);
PaintAddImageAsParentRotated(
@@ -5090,7 +5090,7 @@ static void multi_dimension_rc_track_on_ride_photo(
{
case 0:
PaintAddImageAsParentRotated(
session, direction, ImageId(IMAGE_TYPE_REMAP | SPR_STATION_BASE_D), { 0, 0, height }, { 32, 32, 1 });
session, direction, ImageId(SPR_STATION_BASE_D, COLOUR_BLACK), { 0, 0, height }, { 32, 32, 1 });
metal_a_supports_paint_setup(
session, METAL_SUPPORTS_TUBES_INVERTED, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]);
metal_a_supports_paint_setup(
@@ -5101,7 +5101,7 @@ static void multi_dimension_rc_track_on_ride_photo(
break;
case 1:
PaintAddImageAsParentRotated(
session, direction, ImageId(IMAGE_TYPE_REMAP | SPR_STATION_BASE_D), { 0, 0, height }, { 32, 32, 1 });
session, direction, ImageId(SPR_STATION_BASE_D, COLOUR_BLACK), { 0, 0, height }, { 32, 32, 1 });
metal_a_supports_paint_setup(
session, METAL_SUPPORTS_TUBES_INVERTED, 6, 0, height, session.TrackColours[SCHEME_SUPPORTS]);
metal_a_supports_paint_setup(
@@ -5112,7 +5112,7 @@ static void multi_dimension_rc_track_on_ride_photo(
break;
case 2:
PaintAddImageAsParentRotated(
session, direction, ImageId(IMAGE_TYPE_REMAP | SPR_STATION_BASE_D), { 0, 0, height }, { 32, 32, 1 });
session, direction, ImageId(SPR_STATION_BASE_D, COLOUR_BLACK), { 0, 0, height }, { 32, 32, 1 });
metal_a_supports_paint_setup(
session, METAL_SUPPORTS_TUBES_INVERTED, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]);
metal_a_supports_paint_setup(
@@ -5123,7 +5123,7 @@ static void multi_dimension_rc_track_on_ride_photo(
break;
case 3:
PaintAddImageAsParentRotated(
session, direction, ImageId(IMAGE_TYPE_REMAP | SPR_STATION_BASE_D), { 0, 0, height }, { 32, 32, 1 });
session, direction, ImageId(SPR_STATION_BASE_D, COLOUR_BLACK), { 0, 0, height }, { 32, 32, 1 });
metal_a_supports_paint_setup(
session, METAL_SUPPORTS_TUBES_INVERTED, 6, 0, height, session.TrackColours[SCHEME_SUPPORTS]);
metal_a_supports_paint_setup(
@@ -5144,7 +5144,7 @@ static void multi_dimension_rc_track_on_ride_photo(
{
case 0:
PaintAddImageAsParentRotated(
session, direction, ImageId(IMAGE_TYPE_REMAP | SPR_STATION_BASE_D), { 0, 0, height }, { 32, 32, 1 });
session, direction, ImageId(SPR_STATION_BASE_D, COLOUR_BLACK), { 0, 0, height }, { 32, 32, 1 });
metal_a_supports_paint_setup(
session, METAL_SUPPORTS_TUBES_INVERTED, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]);
metal_a_supports_paint_setup(
@@ -5155,7 +5155,7 @@ static void multi_dimension_rc_track_on_ride_photo(
break;
case 1:
PaintAddImageAsParentRotated(
session, direction, ImageId(IMAGE_TYPE_REMAP | SPR_STATION_BASE_D), { 0, 0, height }, { 32, 32, 1 });
session, direction, ImageId(SPR_STATION_BASE_D, COLOUR_BLACK), { 0, 0, height }, { 32, 32, 1 });
metal_a_supports_paint_setup(
session, METAL_SUPPORTS_TUBES_INVERTED, 6, 0, height, session.TrackColours[SCHEME_SUPPORTS]);
metal_a_supports_paint_setup(
@@ -5166,7 +5166,7 @@ static void multi_dimension_rc_track_on_ride_photo(
break;
case 2:
PaintAddImageAsParentRotated(
session, direction, ImageId(IMAGE_TYPE_REMAP | SPR_STATION_BASE_D), { 0, 0, height }, { 32, 32, 1 });
session, direction, ImageId(SPR_STATION_BASE_D, COLOUR_BLACK), { 0, 0, height }, { 32, 32, 1 });
metal_a_supports_paint_setup(
session, METAL_SUPPORTS_TUBES_INVERTED, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]);
metal_a_supports_paint_setup(
@@ -5177,7 +5177,7 @@ static void multi_dimension_rc_track_on_ride_photo(
break;
case 3:
PaintAddImageAsParentRotated(
session, direction, ImageId(IMAGE_TYPE_REMAP | SPR_STATION_BASE_D), { 0, 0, height }, { 32, 32, 1 });
session, direction, ImageId(SPR_STATION_BASE_D, COLOUR_BLACK), { 0, 0, height }, { 32, 32, 1 });
metal_a_supports_paint_setup(
session, METAL_SUPPORTS_TUBES_INVERTED, 6, 0, height, session.TrackColours[SCHEME_SUPPORTS]);
metal_a_supports_paint_setup(
@@ -10773,7 +10773,7 @@ namespace SingleRailRC
{
case 0:
PaintAddImageAsParentRotated(
session, direction, ImageId(IMAGE_TYPE_REMAP | SPR_STATION_BASE_D), { 0, 0, height }, { 32, 32, 1 });
session, direction, ImageId(SPR_STATION_BASE_D, COLOUR_BLACK), { 0, 0, height }, { 32, 32, 1 });
metal_a_supports_paint_setup(
session, METAL_SUPPORTS_TUBES, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]);
metal_a_supports_paint_setup(
@@ -10784,7 +10784,7 @@ namespace SingleRailRC
break;
case 1:
PaintAddImageAsParentRotated(
session, direction, ImageId(IMAGE_TYPE_REMAP | SPR_STATION_BASE_D), { 0, 0, height }, { 32, 32, 1 });
session, direction, ImageId(SPR_STATION_BASE_D, COLOUR_BLACK), { 0, 0, height }, { 32, 32, 1 });
metal_a_supports_paint_setup(
session, METAL_SUPPORTS_TUBES, 6, 0, height, session.TrackColours[SCHEME_SUPPORTS]);
metal_a_supports_paint_setup(
@@ -10795,7 +10795,7 @@ namespace SingleRailRC
break;
case 2:
PaintAddImageAsParentRotated(
session, direction, ImageId(IMAGE_TYPE_REMAP | SPR_STATION_BASE_D), { 0, 0, height }, { 32, 32, 1 });
session, direction, ImageId(SPR_STATION_BASE_D, COLOUR_BLACK), { 0, 0, height }, { 32, 32, 1 });
metal_a_supports_paint_setup(
session, METAL_SUPPORTS_TUBES, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]);
metal_a_supports_paint_setup(
@@ -10806,7 +10806,7 @@ namespace SingleRailRC
break;
case 3:
PaintAddImageAsParentRotated(
session, direction, ImageId(IMAGE_TYPE_REMAP | SPR_STATION_BASE_D), { 0, 0, height }, { 32, 32, 1 });
session, direction, ImageId(SPR_STATION_BASE_D, COLOUR_BLACK), { 0, 0, height }, { 32, 32, 1 });
metal_a_supports_paint_setup(
session, METAL_SUPPORTS_TUBES, 6, 0, height, session.TrackColours[SCHEME_SUPPORTS]);
metal_a_supports_paint_setup(
@@ -5143,7 +5143,7 @@ static void stand_up_rc_track_on_ride_photo(
{
case 0:
PaintAddImageAsParentRotated(
session, direction, ImageId(IMAGE_TYPE_REMAP | SPR_STATION_BASE_D), { 0, 0, height }, { 32, 32, 1 });
session, direction, ImageId(SPR_STATION_BASE_D, COLOUR_BLACK), { 0, 0, height }, { 32, 32, 1 });
metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]);
metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 8, 0, height, session.TrackColours[SCHEME_SUPPORTS]);
PaintAddImageAsParentRotated(
@@ -5152,7 +5152,7 @@ static void stand_up_rc_track_on_ride_photo(
break;
case 1:
PaintAddImageAsParentRotated(
session, direction, ImageId(IMAGE_TYPE_REMAP | SPR_STATION_BASE_D), { 0, 0, height }, { 32, 32, 1 });
session, direction, ImageId(SPR_STATION_BASE_D, COLOUR_BLACK), { 0, 0, height }, { 32, 32, 1 });
metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 6, 0, height, session.TrackColours[SCHEME_SUPPORTS]);
metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 7, 0, height, session.TrackColours[SCHEME_SUPPORTS]);
PaintAddImageAsParentRotated(
@@ -5161,7 +5161,7 @@ static void stand_up_rc_track_on_ride_photo(
break;
case 2:
PaintAddImageAsParentRotated(
session, direction, ImageId(IMAGE_TYPE_REMAP | SPR_STATION_BASE_D), { 0, 0, height }, { 32, 32, 1 });
session, direction, ImageId(SPR_STATION_BASE_D, COLOUR_BLACK), { 0, 0, height }, { 32, 32, 1 });
metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]);
metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 8, 0, height, session.TrackColours[SCHEME_SUPPORTS]);
PaintAddImageAsParentRotated(
@@ -5170,7 +5170,7 @@ static void stand_up_rc_track_on_ride_photo(
break;
case 3:
PaintAddImageAsParentRotated(
session, direction, ImageId(IMAGE_TYPE_REMAP | SPR_STATION_BASE_D), { 0, 0, height }, { 32, 32, 1 });
session, direction, ImageId(SPR_STATION_BASE_D, COLOUR_BLACK), { 0, 0, height }, { 32, 32, 1 });
metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 6, 0, height, session.TrackColours[SCHEME_SUPPORTS]);
metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 7, 0, height, session.TrackColours[SCHEME_SUPPORTS]);
PaintAddImageAsParentRotated(
+1 -1
View File
@@ -84,7 +84,7 @@ static void PaintCarousel(
auto imageTemplate = ImageId(0, ride.vehicle_colours[0].Body, ride.vehicle_colours[0].Trim);
auto imageFlags = session.TrackColours[SCHEME_MISC];
if (!imageFlags.HasPrimary())
if (imageFlags.ToUInt32() != IMAGE_TYPE_REMAP)
{
imageTemplate = imageFlags;
}
+4 -4
View File
@@ -1172,19 +1172,19 @@ static void paint_splash_boats_track_on_ride_photo(
{
case 0:
PaintAddImageAsParentRotated(
session, direction, ImageId(IMAGE_TYPE_REMAP | SPR_STATION_BASE_D), { 0, 0, height }, { 32, 0, 1 });
session, direction, ImageId(SPR_STATION_BASE_D, COLOUR_BLACK), { 0, 0, height }, { 32, 0, 1 });
break;
case 1:
PaintAddImageAsParentRotated(
session, direction, ImageId(IMAGE_TYPE_REMAP | SPR_STATION_BASE_D), { 0, 0, height }, { 32, 0, 1 });
session, direction, ImageId(SPR_STATION_BASE_D, COLOUR_BLACK), { 0, 0, height }, { 32, 0, 1 });
break;
case 2:
PaintAddImageAsParentRotated(
session, direction, ImageId(IMAGE_TYPE_REMAP | SPR_STATION_BASE_D), { 0, 0, height }, { 32, 0, 1 });
session, direction, ImageId(SPR_STATION_BASE_D, COLOUR_BLACK), { 0, 0, height }, { 32, 0, 1 });
break;
case 3:
PaintAddImageAsParentRotated(
session, direction, ImageId(IMAGE_TYPE_REMAP | SPR_STATION_BASE_D), { 0, 0, height }, { 32, 0, 1 });
session, direction, ImageId(SPR_STATION_BASE_D, COLOUR_BLACK), { 0, 0, height }, { 32, 0, 1 });
break;
}