From ff143c67085ad22abb5f6920873fd0ff9eddf603 Mon Sep 17 00:00:00 2001 From: rubidium Date: Mon, 2 May 2011 20:59:54 +0000 Subject: (svn r22413) -Document: even more stuff --- src/tunnelbridge_cmd.cpp | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'src/tunnelbridge_cmd.cpp') 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: -- cgit v1.2.3-54-g00ecf