* Return the colour a tile would be displayed with in the small map in mode "Contour". * @param tile The tile of which we would like to get the colour. * @param t Effective tile type of the tile (see #SmallMapWindow::GetTileColours). * @return The colour of tile in the small map in mode "Contour" */
| 427 | * @return The colour of tile in the small map in mode "Contour" |
| 428 | */ |
| 429 | static inline uint32_t GetSmallMapContoursPixels(TileIndex tile, TileType t) |
| 430 | { |
| 431 | const SmallMapColourScheme *cs = &_heightmap_schemes[_settings_client.gui.smallmap_land_colour]; |
| 432 | return ApplyMask(cs->height_colours[TileHeight(tile)], &_smallmap_contours_andor[t]); |
| 433 | } |
| 434 | |
| 435 | /** |
| 436 | * Return the colour a tile would be displayed with in the small map in mode "Vehicles". |
no test coverage detected