1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-24 00:03:11 +01:00

Fix #8406: Add 'Entrance style:' label to Ride window

This commit is contained in:
Michael Steenbeek
2018-12-15 19:00:37 +01:00
committed by GitHub
parent c402b471e4
commit 705fb94f58
3 changed files with 6 additions and 1 deletions

View File

@@ -3722,6 +3722,7 @@ STR_6271 :Terrain Edges
STR_6272 :Stations
STR_6273 :Music
STR_6274 :Can't set colour scheme...
STR_6275 :{WINDOW_COLOUR_2}Entrance style:
#############
# Scenarios #

View File

@@ -291,7 +291,7 @@ static rct_widget window_ride_colour_widgets[] = {
{ WWT_BUTTON, 1, 301, 311, 50, 59, STR_DROPDOWN_GLYPH, STR_NONE },
{ WWT_FLATBTN, 1, 289, 312, 68, 91, SPR_PAINTBRUSH, STR_PAINT_INDIVIDUAL_AREA_TIP },
{ WWT_SPINNER, 1, 245, 312, 101, 147, 0xFFFFFFFF, STR_NONE },
{ WWT_DROPDOWN, 1, 3, 241, 103, 114, 0, STR_NONE },
{ WWT_DROPDOWN, 1, 103, 241, 103, 114, 0, STR_NONE },
{ WWT_BUTTON, 1, 230, 240, 104, 113, STR_DROPDOWN_GLYPH, STR_SELECT_STYLE_OF_ENTRANCE_EXIT_STATION_TIP },
{ WWT_SCROLL, 1, 3, 70, 157, 203, 0, STR_NONE },
{ WWT_DROPDOWN, 1, 74, 312, 157, 168, STR_ARG_6_STRINGID, STR_NONE },
@@ -4915,6 +4915,8 @@ static void window_ride_colour_paint(rct_window* w, rct_drawpixelinfo* dpi)
gfx_draw_sprite(&clippedDpi, ((spriteIndex + 20) & 0x7FFFF) + terniaryColour, 34, 20, terniaryColour);
}
}
gfx_draw_string_left_clipped(dpi, STR_ENTRANCE_STYLE, gCommonFormatArgs, COLOUR_BLACK, w->x + 3, w->y + 103, 97);
}
}

View File

@@ -3893,6 +3893,8 @@ enum
STR_CANT_SET_COLOUR_SCHEME = 6274,
STR_ENTRANCE_STYLE = 6275,
// Have to include resource strings (from scenarios and objects) for the time being now that language is partially working
STR_COUNT = 32768
};