Highlight unserved buildings by tinting them red

This commit is contained in:
Pavel Stupnikov
2020-02-02 23:38:22 +03:00
parent 248ef04353
commit 91cc303d4f
9 changed files with 64 additions and 6 deletions

View File

@@ -431,6 +431,8 @@ void DrawTileZoning(const TileInfo *ti) {
if (p.first && p.second) {
DrawBorderSprites(ti, p.first, GetTownZoneBorderColor(p.second));
}
} else if (_zoning.outer == CHECKBULUNSER) {
// handled in house drawing
} else if (_zoning.outer == CHECKSTACATCH) {
auto b = citymania::GetAnyStationCatchmentBorder(ti->tile);
DrawBorderSprites(ti, b, SPR_PALETTE_ZONING_LIGHT_BLUE);