MCPcopy Create free account
hub / github.com/assaultcube/AC / mapshot

Function mapshot

source/src/main.cpp:471–475  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

469COMMAND(screenshot, "s");
470
471void mapshot()
472{
473 defformatstring(buf)("screenshots" PATHDIVS "mapshot_%s_%s%s", behindpath(getclientmap()), timestring(), getscrext());
474 mapscreenshot(buf, true, screenshottype, screenshotscale, 0, jpegquality);
475}
476COMMAND(mapshot, "");
477
478void screenshotpreview(int *res)

Callers

nothing calls this directly

Calls 5

behindpathFunction · 0.85
getclientmapFunction · 0.85
getscrextFunction · 0.85
mapscreenshotFunction · 0.85
timestringFunction · 0.70

Tested by

no test coverage detected