MCPcopy Create free account
hub / github.com/ddnet/ddnet / str_time_float

Function str_time_float

src/base/time.cpp:246–249  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

244}
245
246int str_time_float(float secs, int format, char *buffer, int buffer_size)
247{
248 return str_time(static_cast<int64_t>(std::roundf(secs * 1000) / 10), format, buffer, buffer_size);
249}

Callers 13

RenderDDRaceEffectsMethod · 0.85
RenderRecordMethod · 0.85
OnRaceFinishMessageMethod · 0.85
DoAudioPreviewMethod · 0.85
GetSqlTop5TeamMethod · 0.85
MapInfoMethod · 0.85
ShowRankMethod · 0.85
ShowTeamRankMethod · 0.85
ShowTopMethod · 0.85
ShowPlayerTeamTop5Method · 0.85
ShowTimesMethod · 0.85
ProcessScoreResultMethod · 0.85

Calls 1

str_timeFunction · 0.85

Tested by 1

TESTFunction · 0.68