mirror of https://github.com/OpenTTD/OpenTTD.git
Doc: Don't use other names for road vehicle bay stops (#11418)
This commit is contained in:
parent
d3cb6e1e67
commit
49d53c41ab
|
@ -294,7 +294,7 @@ void DrawRoadStopTile(int x, int y, RoadType roadtype, const RoadStopSpec *spec,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
/* Drive-in stop */
|
/* Bay stop */
|
||||||
if ((spec->draw_mode & ROADSTOP_DRAW_MODE_ROAD) && rti->UsesOverlay()) {
|
if ((spec->draw_mode & ROADSTOP_DRAW_MODE_ROAD) && rti->UsesOverlay()) {
|
||||||
SpriteID ground = GetCustomRoadSprite(rti, INVALID_TILE, ROTSG_ROADSTOP);
|
SpriteID ground = GetCustomRoadSprite(rti, INVALID_TILE, ROTSG_ROADSTOP);
|
||||||
DrawSprite(ground + view, PAL_NONE, x, y);
|
DrawSprite(ground + view, PAL_NONE, x, y);
|
||||||
|
|
|
@ -64,7 +64,7 @@ enum RoadTypeSpriteGroup {
|
||||||
ROTSG_reserved2, ///< Placeholder, if we need specific level crossing sprites.
|
ROTSG_reserved2, ///< Placeholder, if we need specific level crossing sprites.
|
||||||
ROTSG_DEPOT, ///< Optional: Depot images
|
ROTSG_DEPOT, ///< Optional: Depot images
|
||||||
ROTSG_reserved3, ///< Placeholder, if we add road fences (for highways).
|
ROTSG_reserved3, ///< Placeholder, if we add road fences (for highways).
|
||||||
ROTSG_ROADSTOP, ///< Required: Drive-in stop surface
|
ROTSG_ROADSTOP, ///< Required: Bay stop surface
|
||||||
ROTSG_ONEWAY, ///< Optional: One-way indicator images
|
ROTSG_ONEWAY, ///< Optional: One-way indicator images
|
||||||
ROTSG_END,
|
ROTSG_END,
|
||||||
};
|
};
|
||||||
|
|
|
@ -3246,7 +3246,7 @@ void StationPickerDrawSprite(int x, int y, StationType st, RailType railtype, Ro
|
||||||
DrawSprite(SPR_TRAMWAY_TRAM + sprite_offset, PAL_NONE, x, y);
|
DrawSprite(SPR_TRAMWAY_TRAM + sprite_offset, PAL_NONE, x, y);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
/* Drive-in stop */
|
/* Bay stop */
|
||||||
if (RoadTypeIsRoad(roadtype) && roadtype_info->UsesOverlay()) {
|
if (RoadTypeIsRoad(roadtype) && roadtype_info->UsesOverlay()) {
|
||||||
SpriteID ground = GetCustomRoadSprite(roadtype_info, INVALID_TILE, ROTSG_ROADSTOP);
|
SpriteID ground = GetCustomRoadSprite(roadtype_info, INVALID_TILE, ROTSG_ROADSTOP);
|
||||||
DrawSprite(ground + image, PAL_NONE, x, y);
|
DrawSprite(ground + image, PAL_NONE, x, y);
|
||||||
|
|
Loading…
Reference in New Issue