diff options
Diffstat (limited to 'src/elrail.cpp')
-rw-r--r-- | src/elrail.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/elrail.cpp b/src/elrail.cpp index 7bc8f98b0..701d17a26 100644 --- a/src/elrail.cpp +++ b/src/elrail.cpp @@ -473,6 +473,13 @@ static void DrawCatenaryRailway(const TileInfo *ti) } } +/** + * Draws wires on a tunnel tile + * + * DrawTile_TunnelBridge() calls this function to draw the wires on the bridge. + * + * @param ti The Tileinfo to draw the tile for + */ void DrawCatenaryOnBridge(const TileInfo *ti) { TileIndex end = GetSouthernBridgeEnd(ti->tile); @@ -530,6 +537,11 @@ void DrawCatenaryOnBridge(const TileInfo *ti) } } +/** + * Draws overhead wires and pylons for electric railways. + * @param ti The TileInfo struct of the tile being drawn + * @see DrawCatenaryRailway + */ void DrawCatenary(const TileInfo *ti) { switch (GetTileType(ti->tile)) { |