OpenTTD Source 20241224-master-gee860a5c8e
|
Timer that represents the real time, usable for the Window system. More...
#include <timer_window.h>
Data Structures | |
struct | TStorage |
Public Types | |
using | TPeriod = std::chrono::milliseconds |
using | TElapsed = std::chrono::milliseconds |
Timer that represents the real time, usable for the Window system.
This can be used to create intervals based on milliseconds, seconds, etc. Mostly used for animation, scrolling, etc.
Please be mindful that the order in which timers are called is not guaranteed.
Definition at line 26 of file timer_window.h.
using TimerWindow::TElapsed = std::chrono::milliseconds |
Definition at line 29 of file timer_window.h.
using TimerWindow::TPeriod = std::chrono::milliseconds |
Definition at line 28 of file timer_window.h.