1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-25 15:54:31 +01:00

Name and fix vehicle entry and tertiary colour flags

This commit is contained in:
Michael Steenbeek
2017-07-20 12:57:37 +02:00
committed by GitHub
parent 343e436e45
commit bb09019d9b
15 changed files with 56 additions and 47 deletions

View File

@@ -1305,7 +1305,7 @@ static bool sub_679023(rct_drawpixelinfo *dpi, sint32 imageId, sint32 x, sint32
if (imageId & 0x20000000) {
gUnkEDF81C = 0x20000000;
sint32 index = (imageId >> 19) & 0x7F;
if (imageId & 0x80000000) {
if (imageId & IMAGE_TYPE_REMAP_2_PLUS) {
index &= 0x1F;
}
sint32 g1Index = palette_to_g1_offset[index];

View File

@@ -857,7 +857,7 @@ static void widget_draw_image(rct_drawpixelinfo *dpi, rct_window *w, rct_widgeti
colour = ColourMapA[NOT_TRANSLUCENT(colour)].mid_light;
gfx_draw_sprite_solid(dpi, image, l, t, colour);
} else {
if (image & 0x80000000) {
if (image & IMAGE_TYPE_REMAP_2_PLUS) {
// ?
}