mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-28 13:34:58 +00:00

* Functions that return time values now return proper std::chrono::duration units (milliseconds, seconds, etc.). This removes the need to do manual unit conversions. * Simple time-to-execute logging was replaced with `utils::optimer`. * Most uses of `SDL_GetTicks()` have been replaced with `std::chrono::steady_clock`. * Uses of events::pump_info::ticks() have been replaced with direct calls to steady_clock::now(). This made the countdown_clock code significantly simpler. As for the music_tinker, that needs to be rethought wholesale.