Changeset - r28066:48d566a1d57c
[Not reviewed]
master
0 3 0
Tyler Trahan - 7 months ago 2023-11-01 21:19:31
tyler@tylertrahan.com
Doc: Don't use other names for road vehicle bay stops (#11418)
3 files changed with 3 insertions and 3 deletions:
0 comments (0 inline, 0 general)
src/newgrf_roadstop.cpp
Show inline comments
 
@@ -294,7 +294,7 @@ void DrawRoadStopTile(int x, int y, Road
 
			}
 
		}
 
	} else {
 
		/* Drive-in stop */
 
		/* Bay stop */
 
		if ((spec->draw_mode & ROADSTOP_DRAW_MODE_ROAD) && rti->UsesOverlay()) {
 
			SpriteID ground = GetCustomRoadSprite(rti, INVALID_TILE, ROTSG_ROADSTOP);
 
			DrawSprite(ground + view, PAL_NONE, x, y);
src/road.h
Show inline comments
 
@@ -64,7 +64,7 @@ enum RoadTypeSpriteGroup {
 
	ROTSG_reserved2,      ///<           Placeholder, if we need specific level crossing sprites.
 
	ROTSG_DEPOT,          ///< Optional: Depot images
 
	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_END,
 
};
src/station_cmd.cpp
Show inline comments
 
@@ -3246,7 +3246,7 @@ void StationPickerDrawSprite(int x, int 
 
				DrawSprite(SPR_TRAMWAY_TRAM + sprite_offset, PAL_NONE, x, y);
 
			}
 
		} else {
 
			/* Drive-in stop */
 
			/* Bay stop */
 
			if (RoadTypeIsRoad(roadtype) && roadtype_info->UsesOverlay()) {
 
				SpriteID ground = GetCustomRoadSprite(roadtype_info, INVALID_TILE, ROTSG_ROADSTOP);
 
				DrawSprite(ground + image, PAL_NONE, x, y);
0 comments (0 inline, 0 general)