Age | Commit message (Collapse) | Author |
|
Closes #8390
Closes #29427
|
|
(cherry picked from commit 228696bf80bcd55d35445cd24ae119020c310f88)
|
|
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)
|
|
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)
|
|
(cherry picked from commit 975f1e364a6a68be2beca261a64ea8aecc16f6f6)
|
|
player mover control.
Tagging #20310, partial fix.
(cherry picked from commit d02f481d9ac8e1d1a7716368f609d53a5add0960)
|
|
|
|
auto happy = new year(2019);
|
|
auto happy = new year(2018);
|
|
|
|
Happy new year
|
|
timers. This makes update diffs immune to systemwide time changes
|
|
Happy new year (Again new year with idiots ...)
|
|
|