equal
deleted
inserted
replaced
1582 drss++; |
1582 drss++; |
1583 } |
1583 } |
1584 } |
1584 } |
1585 } |
1585 } |
1586 |
1586 |
1587 void DrawTrainDepotSprite(int x, int y, int image, int railtype) |
1587 void DrawTrainDepotSprite(int x, int y, int image, RailType railtype) |
1588 { |
1588 { |
1589 uint32 ormod, img; |
1589 uint32 ormod, img; |
1590 const RailtypeInfo *rti = GetRailTypeInfo(railtype); |
1590 const RailtypeInfo *rti = GetRailTypeInfo(railtype); |
1591 const DrawTrackSeqStruct *dtss; |
1591 const DrawTrackSeqStruct *dtss; |
1592 |
1592 |
1609 if (image & PALETTE_MODIFIER_COLOR) image |= ormod; |
1609 if (image & PALETTE_MODIFIER_COLOR) image |= ormod; |
1610 DrawSprite(image + rti->total_offset, x + pt.x, y + pt.y); |
1610 DrawSprite(image + rti->total_offset, x + pt.x, y + pt.y); |
1611 } |
1611 } |
1612 } |
1612 } |
1613 |
1613 |
1614 void DrawDefaultWaypointSprite(int x, int y, int railtype) |
1614 void DrawDefaultWaypointSprite(int x, int y, RailType railtype) |
1615 { |
1615 { |
1616 const DrawTrackSeqStruct *dtss = _track_depot_layout_table[4]; |
1616 const DrawTrackSeqStruct *dtss = _track_depot_layout_table[4]; |
1617 const RailtypeInfo *rti = GetRailTypeInfo(railtype); |
1617 const RailtypeInfo *rti = GetRailTypeInfo(railtype); |
1618 uint32 img; |
1618 uint32 img; |
1619 |
1619 |