Smeared cracking, plasticity, creep, and thermal loading-a unified approach