1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-27 16:54:52 +01:00

Implement #4984: Add option to highlight vomit, litter and handymen

This commit is contained in:
Richard Jenkins
2018-01-10 23:26:19 +00:00
parent 73e7fca86e
commit 95dfcea6bd
15 changed files with 66 additions and 10 deletions

View File

@@ -903,7 +903,8 @@ static void viewport_paint_column(rct_drawpixelinfo * dpi, uint32 viewFlags)
if (gConfigGeneral.render_weather_gloom &&
!gTrackDesignSaveMode &&
!(viewFlags & VIEWPORT_FLAG_INVISIBLE_SPRITES)
!(viewFlags & VIEWPORT_FLAG_INVISIBLE_SPRITES) &&
!(viewFlags & VIEWPORT_FLAG_HIGHLIGHT_PATH_ISSUES)
) {
viewport_paint_weather_gloom(dpi);
}

View File

@@ -41,6 +41,7 @@ enum {
VIEWPORT_FLAG_15 = (1 << 15),
VIEWPORT_FLAG_SEETHROUGH_PATHS = (1 << 16),
VIEWPORT_FLAG_PAINT_CLIP_TO_HEIGHT = (1 << 17),
VIEWPORT_FLAG_HIGHLIGHT_PATH_ISSUES = (1 << 18),
};
enum {