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

Function getscrext

source/src/main.cpp:453–457  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

451VARP(screenshottype, 0, 1, 2);
452
453const char *getscrext()
454{
455 const char *screxts[] = { ".bmp", ".jpg", ".png" };
456 return screxts[screenshottype % 3];
457}
458COMMANDF(getscrext, "", () { result(getscrext()); });
459
460void screenshot(const char *filename)

Callers 3

main.cppFile · 0.85
screenshotFunction · 0.85
mapshotFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected