* Return the colour a tile would be displayed with in the small map in mode "Vehicles". * * @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 "Vehicles" */
| 440 | * @return The colour of tile in the small map in mode "Vehicles" |
| 441 | */ |
| 442 | static inline uint32_t GetSmallMapVehiclesPixels(TileIndex, TileType t) |
| 443 | { |
| 444 | const SmallMapColourScheme *cs = &_heightmap_schemes[_settings_client.gui.smallmap_land_colour]; |
| 445 | return ApplyMask(cs->default_colour, &_smallmap_vehicles_andor[t]); |
| 446 | } |
| 447 | |
| 448 | /** |
| 449 | * Return the colour a tile would be displayed with in the small map in mode "Industries". |
no test coverage detected