MCPcopy Create free account
hub / github.com/NetHack/NetHack / optfn_effects

Function optfn_effects

src/options.c:1593–1613  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1591}
1592
1593staticfn int
1594optfn_effects(
1595 int optidx UNUSED, int req, boolean negated UNUSED,
1596 char *opts, char *op UNUSED)
1597{
1598 if (req == do_init) {
1599 return optn_ok;
1600 }
1601 if (req == do_set) {
1602 return optn_ok;
1603 }
1604 if (req == get_val) {
1605 Sprintf(opts, "%s", to_be_done);
1606 return optn_ok;
1607 }
1608 if (req == get_cnf_val) {
1609 opts[0] = '\0';
1610 return optn_ok;
1611 }
1612 return optn_ok;
1613}
1614
1615staticfn int
1616optfn_font_map(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected