From 135402168801035c38be600fa64702c1ba63b9fe Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Fri, 27 Mar 2026 17:40:05 +0000 Subject: Use std::chrono for worldTime Defines a world time type alias, a game time scale factor (the rate at which world time progresses compare to real time) and display the world time on the status bar. --- lib/chronology.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/chronology.h') diff --git a/lib/chronology.h b/lib/chronology.h index 688a1f7..886424d 100644 --- a/lib/chronology.h +++ b/lib/chronology.h @@ -5,3 +5,4 @@ using TickDuration = std::chrono::duration; time_t operator""_time_t(const char * iso, size_t); +std::chrono::seconds operator""_seconds(const char * iso, size_t); -- cgit v1.3