Humps and bumps: the effects of shocks on the optical light curves of fundamental-mode RR Lyrae stars