This puzzle is a variant of U-Bahn.
If you are unfamiliar with U-Bahn, here is a guide that covers the core logic.
Draw a loop network through the centers of some unshaded cells, which may branch or turn, but may not have any dead ends.
A clue outside the grid indicates how many times the corresponding line shape (i.e. a cross, branch, straight line, or turn) appears in the corresponding row or column, irrespective of the line shape's rotation.