* Return the colour a tile would be displayed with in the small map in mode "Industries". * * @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 "Industries" */
| 453 | * @return The colour of tile in the small map in mode "Industries" |
| 454 | */ |
| 455 | static inline uint32_t GetSmallMapIndustriesPixels(TileIndex tile, TileType t) |
| 456 | { |
| 457 | const SmallMapColourScheme *cs = &_heightmap_schemes[_settings_client.gui.smallmap_land_colour]; |
| 458 | return ApplyMask(_smallmap_show_heightmap ? cs->height_colours[TileHeight(tile)] : cs->default_colour, &_smallmap_vehicles_andor[t]); |
| 459 | } |
| 460 | |
| 461 | /** |
| 462 | * Return the colour a tile would be displayed with in the small map in mode "Routes". |
no test coverage detected