cgame: optimized smokeWindDir, unique file header, clean up