aboutsummaryrefslogtreecommitdiff
path: root/src/common/Utilities/Timer.h
AgeCommit message (Collapse)Author
2023-11-21Core/Calendar: Implement different timezone support for ingame calendarShauren
Closes #8390 Closes #29427
2022-01-24Core/Common: Merge TimeTrackerSmall with TimeTrackerCarbenium
(cherry picked from commit 228696bf80bcd55d35445cd24ae119020c310f88)
2022-01-24Core/Common: Add a std::chrono interface to TimeTrackerSmallCarbenium
New methods: TimeTrackerSmall(Milliseconds expiry); void Update(Milliseconds diff); void Reset(Milliseconds expiry) Milliseconds GetExpiry() const Removed methods: int32 GetExpiry() const Also add basic unit tests. Core/Scripts: Use std::chrono interface of TimeTrackerSmall (cherry picked from commit e55516348dbabaa8c9d559426315f3f70967acaa)
2022-01-23Core/Time: Rename GetGameTime{System, Steady}Point methodsTreeston
The names are a bit unhandy. Rename them (shorter but still meaningful). GetGameTimeSystemPoint() -> GetSystemTime() GetGameTimeSteadyPoint() -> Now() Also add 2 new typedefs: typedef std::chrono::steady_clock::time_point TimePoint; typedef std::chrono::system_clock::time_point SystemTimePoint; Closes #25042 (cherry picked from commit 896b68d5c297b06587645caebc98b704978ecaa7)
2021-11-30Core/Movement: Add time synchronisation (#18189)Chaouki Dhib
(cherry picked from commit 975f1e364a6a68be2beca261a64ea8aecc16f6f6)
2021-06-19Core/Movement: Creatures' idle movement generator can no longer override ↵Treeston
player mover control. Tagging #20310, partial fix. (cherry picked from commit d02f481d9ac8e1d1a7716368f609d53a5add0960)
2020-01-02New YearAokromes
2019-01-01Update copyright note for 2019vincent-michael
auto happy = new year(2019);
2018-01-01Update copyright note for 2018vincent-michael
auto happy = new year(2018);
2017-05-11Core/Common: Include cleanupShauren
2017-01-01Update copyright note for 2017vincent-michael
Happy new year
2016-04-26Core/Misc: Use steady_clock instead of system_clock for calculating ms ↵Shauren
timers. This makes update diffs immune to systemwide time changes
2016-01-01Update copyright note for 2016Vincent-Michael
Happy new year (Again new year with idiots ...)
2015-08-21Core/Build: Merge common library and move database out of sharedStormBytePP