Direct versus thermal particle emission in high-energy heavy-ion collisions