File diff r17631:d53d44231b21 → r17632:92f095eb81a2
src/tunnelbridge_cmd.cpp
Show inline comments
 
@@ -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
 
	}
 
}
 

	
 

	
 
/**
 
 * 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: