MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / GetEnvironmentGameDayTimeSec

Method GetEnvironmentGameDayTimeSec

ogsr_engine/xrGame/Level.cpp:674–674  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

672u32 CLevel::GetGameDayTimeMS() { return (u32(s64(GetGameTime() % (24 * 60 * 60 * 1000)))); }
673
674float CLevel::GetEnvironmentGameDayTimeSec() { return (float(s64(GetEnvironmentGameTime() % (24 * 60 * 60 * 1000))) / 1000.f); }
675
676void CLevel::ScriptDebugRender()
677{

Callers 3

set_time_factorFunction · 0.80
AdvanceGameTimeFunction · 0.80
RenderMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected