MCPcopy Create free account
hub / github.com/ZDoom/Raze / CCMD

Function CCMD

source/common/menu/resolutionmenu.cpp:52–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50EXTERN_CVAR(Float, vid_scalefactor)
51
52CCMD (menu_resolution_set_custom)
53{
54 if (argv.argc() > 2)
55 {
56 menu_resolution_custom_width = atoi(argv[1]);
57 menu_resolution_custom_height = atoi(argv[2]);
58 }
59 else
60 {
61 Printf("This command is not meant to be used outside the menu! But if you want to use it, please specify <x> and <y>.\n");
62 }
63 M_PreviousMenu();
64}
65
66CCMD (menu_resolution_commit_changes)
67{

Callers

nothing calls this directly

Calls 7

PrintfFunction · 0.85
M_PreviousMenuFunction · 0.85
V_OutputResizedFunction · 0.85
argcMethod · 0.80
SetWindowSizeMethod · 0.45
GetClientWidthMethod · 0.45
GetClientHeightMethod · 0.45

Tested by

no test coverage detected