MCPcopy Create free account
hub / github.com/diasurgical/DevilutionX / GetFontPath

Function GetFontPath

Source/engine/render/text_render.cpp:170–173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

168}
169
170void GetFontPath(GameFontTables size, uint16_t row, string_view ext, char *out)
171{
172 *BufCopy(out, "fonts\\", FontSizes[size], "-", AsHexPad2(row), ext) = '\0';
173}
174
175void GetFontPath(string_view language_code, GameFontTables size, uint16_t row, string_view ext, char *out)
176{

Callers 1

LoadFontFunction · 0.85

Calls 2

AsHexPad2Function · 0.85
BufCopyFunction · 0.50

Tested by

no test coverage detected