* Draw tile highlight for coverage area highlight. * @param *ti TileInfo Tile that is being drawn * @param tht Highlight type to draw. */
| 1069 | * @param tht Highlight type to draw. |
| 1070 | */ |
| 1071 | static void DrawTileHighlightType(const TileInfo *ti, TileHighlightType tht) |
| 1072 | { |
| 1073 | switch (tht) { |
| 1074 | default: |
| 1075 | case THT_NONE: break; |
| 1076 | case THT_WHITE: DrawTileSelectionRect(ti, PAL_NONE); break; |
| 1077 | case THT_BLUE: DrawTileSelectionRect(ti, PALETTE_SEL_TILE_BLUE); break; |
| 1078 | case THT_RED: DrawTileSelectionRect(ti, PALETTE_SEL_TILE_RED); break; |
| 1079 | } |
| 1080 | } |
| 1081 | |
| 1082 | /** |
| 1083 | * Highlights tiles inside local authority of selected towns. |
no test coverage detected