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

Function get_time_minutes

ogsr_engine/xrGame/level_script.cpp:175–180  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

173}
174
175u32 get_time_minutes()
176{
177 u32 year = 0, month = 0, day = 0, hours = 0, mins = 0, secs = 0, milisecs = 0;
178 split_time((g_pGameLevel && Level().game) ? Level().GetGameTime() : ai().alife().time_manager().game_time(), year, month, day, hours, mins, secs, milisecs);
179 return mins;
180}
181
182float high_cover_in_direction(u32 level_vertex_id, const Fvector& direction)
183{

Callers

nothing calls this directly

Calls 3

split_timeFunction · 0.85
game_timeMethod · 0.80
GetGameTimeMethod · 0.45

Tested by

no test coverage detected