(svn r22413) -Document: even more stuff

This commit is contained in:
rubidium
2011-05-02 20:59:54 +00:00
parent cf30941fab
commit ff143c6708
15 changed files with 78 additions and 6 deletions

View File

@@ -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: