MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / setup

Method setup

Descent3/ctlconfig.cpp:456–465  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

454 virtual void unrealize();
455};
456void key_cfg_screen::setup(newuiLargeMenu *menu) {
457 int i;
458 m_menu = menu;
459 m_sheet = menu->AddOption(IDV_KCONFIG, TXT_OPTCUSTKEYB);
460 // save original settings.
461 for (i = 0; i < N_KEY_CFG_FN; i++) {
462 Controller->get_controller_function(Cfg_key_elements[i].fn_id, m_old_controls[i].type, &m_old_controls[i].value,
463 m_old_controls[i].flags);
464 }
465}
466void key_cfg_screen::finish() {}
467void key_cfg_screen::process(int res) {
468 int i;

Callers 1

CtlConfigFunction · 0.45

Calls 4

AddOptionMethod · 0.80
NewGroupMethod · 0.80
AddTextMethod · 0.80

Tested by

no test coverage detected