Thanks!
Drawing shadows that way is actually really easy. You take a wall line and project it away from the player by a small amount (half a tile here), then project it very far away (like 100 tiles or something silly, way off screen). Take the four points you get from that and draw that trapezoid shape. Repeat for every wall.