summaryrefslogtreecommitdiff
path: root/src/tunnelbridge_cmd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tunnelbridge_cmd.cpp')
-rw-r--r--src/tunnelbridge_cmd.cpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/tunnelbridge_cmd.cpp b/src/tunnelbridge_cmd.cpp
index 54a7c9370..51323f0c1 100644
--- a/src/tunnelbridge_cmd.cpp
+++ b/src/tunnelbridge_cmd.cpp
@@ -89,6 +89,12 @@ int CalcBridgeLenCostFactor(int length)
}
}
+/**
+ * Get the foundation for a bridge.
+ * @param tileh The slope to build the bridge on.
+ * @param axis The axis of the bridge entrace.
+ * @return The foundatiton required.
+ */
Foundation GetBridgeFoundation(Slope tileh, Axis axis)
{
if (tileh == SLOPE_FLAT ||
@@ -1208,7 +1214,10 @@ static BridgePieces CalcBridgePiece(uint north, uint south)
}
}
-
+/**
+ * Draw the middle bits of a bridge.
+ * @param ti Tile information of the tile to draw it on.
+ */
void DrawBridgeMiddle(const TileInfo *ti)
{
/* Sectional view of bridge bounding boxes: