Including tidal currents in a wave-resolving model