equal
deleted
inserted
replaced
425 static inline uint32 GetSmallMapIndustriesPixels(TileIndex tile) |
425 static inline uint32 GetSmallMapIndustriesPixels(TileIndex tile) |
426 { |
426 { |
427 TileType t = GetEffectiveTileType(tile); |
427 TileType t = GetEffectiveTileType(tile); |
428 |
428 |
429 if (t == MP_INDUSTRY) { |
429 if (t == MP_INDUSTRY) { |
430 byte color = _industry_smallmap_colors[GetIndustryGfx(tile)]; |
430 return _industry_smallmap_colors[GetIndustryGfx(tile)] * 0x01010101; |
431 return color + (color << 8) + (color << 16) + (color << 24); |
|
432 } |
431 } |
433 |
432 |
434 return ApplyMask(MKCOLOR(0x54545454), &_smallmap_vehicles_andor[t]); |
433 return ApplyMask(MKCOLOR(0x54545454), &_smallmap_vehicles_andor[t]); |
435 } |
434 } |
436 |
435 |